Package com.clickhouse.jdbc
Class JdbcParseHandler
java.lang.Object
com.clickhouse.jdbc.parser.ParseHandler
com.clickhouse.jdbc.JdbcParseHandler
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic JdbcParseHandlergetInstance(boolean allowLightWeightDelete, boolean allowLightWeightUpdate, boolean allowLocaleFile) handleStatement(String sql, StatementType stmtType, String cluster, String database, String table, String input, String compressAlgorithm, String compressLevel, String format, String file, List<Integer> parameters, Map<String, Integer> positions, Map<String, String> settings, Set<String> tempTables) Hanlde statemenet.Methods inherited from class com.clickhouse.jdbc.parser.ParseHandler
handleMacro, handleParameter
-
Field Details
-
INSTANCE
-
-
Method Details
-
getInstance
public static JdbcParseHandler getInstance(boolean allowLightWeightDelete, boolean allowLightWeightUpdate, boolean allowLocaleFile) -
handleStatement
public ClickHouseSqlStatement handleStatement(String sql, StatementType stmtType, String cluster, String database, String table, String input, String compressAlgorithm, String compressLevel, String format, String file, List<Integer> parameters, Map<String, Integer> positions, Map<String, String> settings, Set<String> tempTables) Description copied from class:ParseHandlerHanlde statemenet.- Overrides:
handleStatementin classParseHandler- Parameters:
sql- sql statementstmtType- statement typecluster- clusterdatabase- databasetable- tableinput- inputcompressAlgorithm- compression algorithmcompressLevel- compression levelformat- formatfile- infile or outfileparameters- positions of parameterspositions- keyword positionssettings- settingstempTables- temporary tables- Returns:
- sql statement, or null means no change
-