Package com.databend.jdbc.parser
Class BatchInsertUtils
- java.lang.Object
-
- com.databend.jdbc.parser.BatchInsertUtils
-
public class BatchInsertUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description BatchInsertUtils(String sql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclean()StringgetDatabaseTableName()Map<Integer,String>getProvideParams()StringgetSql()String[]getValues()String[]getValuesCSV()FilesaveBatchToCSV(List<String[]> values)FilesaveBatchToCSV(List<String[]> values, File file)voidsetPlaceHolderValue(int index, String value, String valueCSV)
-
-
-
Constructor Detail
-
BatchInsertUtils
public BatchInsertUtils(String sql)
-
-
Method Detail
-
getSql
public String getSql()
-
getDatabaseTableName
public String getDatabaseTableName()
-
setPlaceHolderValue
public void setPlaceHolderValue(int index, String value, String valueCSV) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
getValues
public String[] getValues()
-
getValuesCSV
public String[] getValuesCSV()
-
clean
public void clean()
-
-