类 BatchInsertUtils
java.lang.Object
com.databend.jdbc.parser.BatchInsertUtils
-
方法概要
修饰符和类型方法说明voidclean()getSql()String[]saveBatchToCSV(List<String[]> values) saveBatchToCSV(List<String[]> values, File file) voidsetPlaceHolderValue(int index, String value) static Optional<BatchInsertUtils> tryParseInsertSql(String sql) Parse the sql to get insert AST
-
方法详细资料
-
tryParseInsertSql
Parse the sql to get insert AST- 参数:
sql- candidate sql- 返回:
- BatchInertUtils if the sql is a batch insert sql
-
getSql
-
getProvideParams
-
getDatabaseTableName
-
setPlaceHolderValue
-
getValues
-
saveBatchToCSV
-
saveBatchToCSV
-
clean
public void clean()
-