Package com.google.cloud.spanner.jdbc
Class JdbcConstants
- java.lang.Object
-
- com.google.cloud.spanner.jdbc.JdbcConstants
-
public final class JdbcConstants extends Object
Constants for special values used by the Cloud Spanner JDBC driver.
-
-
Field Summary
Fields Modifier and Type Field Description static intSTATEMENT_NO_RESULTSpecial value that is used to indicate that a statement had no result.static intSTATEMENT_RESULT_SETSpecial value that is used to indicate that a statement returned aResultSet.
-
-
-
Field Detail
-
STATEMENT_RESULT_SET
public static final int STATEMENT_RESULT_SET
Special 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:
- Constant Field Values
-
STATEMENT_NO_RESULT
public static final int STATEMENT_NO_RESULT
Special 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:
- Constant Field Values
-
-