Package com.google.cloud.spanner.jdbc
Class JdbcConstants
java.lang.Object
com.google.cloud.spanner.jdbc.JdbcConstants
Constants for special values used by the Cloud Spanner JDBC driver.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSpecial value that is used to indicate that a statement had no result.static final intSpecial value that is used to indicate that a statement returned aResultSet. -
Method Summary
-
Field Details
-
STATEMENT_RESULT_SET
public static final int STATEMENT_RESULT_SETSpecial value that is used to indicate that a statement returned aResultSet. The methodStatement.getUpdateCount()will return this value if the previous statement that was executed withStatement.execute(String)returned aResultSet.- See Also:
-
STATEMENT_NO_RESULT
public static final int STATEMENT_NO_RESULTSpecial value that is used to indicate that a statement had no result. The methodStatement.getUpdateCount()will return this value if the previous statement that was executed withStatement.execute(String)returnedStatementResult.ResultType.NO_RESULT, such as DDL statements.- See Also:
-