public interface OptionSet
OptionSet would provide convenience to set for different flavours (for example Liquibase expect some
methods return values different of the JDBC standard implementation).| Modifier and Type | Method and Description |
|---|---|
boolean |
executeMultipleQueriesByStatementAsync()
Whether the statement execution methods must execute queries asynchronously when the statement contains several
queries separated by semicolons.
|
String |
getCatalog()
There is no catalog concept in Cassandra.
|
CassandraConnection |
getConnection()
Get referenced connection.
|
int |
getSQLUpdateResponse()
There is no
updateCount available in Java Driver for Apache Cassandra®, different flavour requires
different response. |
void |
setConnection(CassandraConnection connection)
Set referenced connection.
|
boolean |
shouldThrowExceptionOnRollback()
Whether the rollback method on a Cassandra connection should throw a
SQLFeatureNotSupportedException
since Cassandra is always in auto-commit mode and does not support rollback. |
String getCatalog()
null if there is none.int getSQLUpdateResponse()
updateCount available in Java Driver for Apache Cassandra®, different flavour requires
different response.boolean shouldThrowExceptionOnRollback()
SQLFeatureNotSupportedException
since Cassandra is always in auto-commit mode and does not support rollback.true if the method CassandraConnection.rollback() should throw an exception,
false otherwise.boolean executeMultipleQueriesByStatementAsync()
true if the queries must be executed asynchronously, false otherwise.void setConnection(CassandraConnection connection)
AbstractOptionSet.connection - Connection to set.CassandraConnection getConnection()
AbstractOptionSet.Copyright © 2020–2024 ING Bank. All rights reserved.