Package com.clickhouse.jdbc
Class JdbcConfig
java.lang.Object
com.clickhouse.jdbc.JdbcConfig
Deprecated.
JDBC-specific configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets database term.Deprecated.Gets JDBC dialect.static List<DriverPropertyInfo>Deprecated.intDeprecated.Gets default fetch size for query.intDeprecated.Gets default approach to handle null value.Deprecated.Gets properties.Deprecated.Gets custom type map.booleanDeprecated.Checks whether auto commit should be enabled when creating a connection.booleanDeprecated.Checks whether batch processing should continue when error occurred.booleanDeprecated.Checks whether database should be created automatically when it does not exist.booleanDeprecated.Checks whether external database is supported or not.booleanDeprecated.Checks whether JDBC-complaint mode is enabled or not.booleanDeprecated.Checks whether transaction support is enabled or not.booleanDeprecated.Checks whether to use catalog as synonymous to database.booleanDeprecated.Checks whether to use local file for INFILE/OUTFILE.booleanDeprecated.Checks whether named parameter should be used instead of JDBC standard question mark placeholder.booleanDeprecated.Checks whether to use schema as synonymous to database.booleanDeprecated.Checks whetherArrayandStructshould be returned for array and tuple when callingResultSet.getObject(int).
-
Field Details
-
PROP_AUTO_COMMIT
Deprecated.- See Also:
-
PROP_CREATE_DATABASE
Deprecated.- See Also:
-
PROP_CONTINUE_BATCH
Deprecated.- See Also:
-
PROP_DATABASE_TERM
Deprecated.- See Also:
-
PROP_DIALECT
Deprecated.- See Also:
-
PROP_EXTERNAL_DATABASE
Deprecated.- See Also:
-
PROP_FETCH_SIZE
Deprecated.- See Also:
-
PROP_LOCAL_FILE
Deprecated.- See Also:
-
PROP_JDBC_COMPLIANT
Deprecated.- See Also:
-
PROP_NAMED_PARAM
Deprecated.- See Also:
-
PROP_NULL_AS_DEFAULT
Deprecated.- See Also:
-
PROP_TX_SUPPORT
Deprecated.- See Also:
-
PROP_TYPE_MAP
Deprecated.- See Also:
-
PROP_WRAPPER_OBJ
Deprecated.- See Also:
-
-
Constructor Details
-
JdbcConfig
public JdbcConfig()Deprecated. -
JdbcConfig
Deprecated.
-
-
Method Details
-
getDriverProperties
Deprecated. -
isAutoCommit
public boolean isAutoCommit()Deprecated.Checks whether auto commit should be enabled when creating a connection.- Returns:
- true if auto commit should be enabled when creating connection; false otherwise
-
isCreateDbIfNotExist
public boolean isCreateDbIfNotExist()Deprecated.Checks whether database should be created automatically when it does not exist.- Returns:
- true if database should be created automatically; false otherwise
-
isContinueBatchOnError
public boolean isContinueBatchOnError()Deprecated.Checks whether batch processing should continue when error occurred.- Returns:
- true if should continue; false to throw exception and abort execution
-
getFetchSize
public int getFetchSize()Deprecated.Gets default fetch size for query.- Returns:
- default fetch size for query
-
useLocalFile
public boolean useLocalFile()Deprecated.Checks whether to use local file for INFILE/OUTFILE.- Returns:
- true to use local file for INFILE/OUTFILE; false otherwise
-
getDatabaseTerm
Deprecated.Gets database term.- Returns:
- non-null database term
-
useCatalog
public boolean useCatalog()Deprecated.Checks whether to use catalog as synonymous to database.- Returns:
- true if use catalog as synonymous to database; false otherwise
-
useSchema
public boolean useSchema()Deprecated.Checks whether to use schema as synonymous to database.- Returns:
- true if use schema as synonymous to database; false otherwise
-
getDialect
Deprecated.Gets JDBC dialect.- Returns:
- non-null JDBC dialect
-
isExternalDatabaseSupported
public boolean isExternalDatabaseSupported()Deprecated.Checks whether external database is supported or not.- Returns:
- true if external database is supported; false otherwise
-
getTypeMap
Deprecated.Gets custom type map.- Returns:
- non-null custom type map
-
isJdbcCompliant
public boolean isJdbcCompliant()Deprecated.Checks whether JDBC-complaint mode is enabled or not.- Returns:
- true if JDBC-complaint mode is enabled; false otherwise
-
isTransactionSupported
public boolean isTransactionSupported()Deprecated.Checks whether transaction support is enabled or not.- Returns:
- true if transaction support is enabled; false otherwise
-
getNullAsDefault
public int getNullAsDefault()Deprecated.Gets default approach to handle null value.- Returns:
- 0 or negative to throw exception, 1 to disable the null-check, and 2 to reset null to default value of corresponding data type
-
useNamedParameter
public boolean useNamedParameter()Deprecated.Checks whether named parameter should be used instead of JDBC standard question mark placeholder.- Returns:
- true if named parameter should be used; false otherwise
-
useWrapperObject
public boolean useWrapperObject()Deprecated.Checks whetherArrayandStructshould be returned for array and tuple when callingResultSet.getObject(int).- Returns:
- true if wrapper object should be returned instead of array / tuple; false otherwise
-
getProperties
Deprecated.Gets properties.- Returns:
- non-null properties
-