public interface YdbStatement extends Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Modifier and Type | Method and Description |
|---|---|
YdbResultSet |
executeExplainQuery(String sql)
Explicitly explain this query
|
YdbResultSet |
executeQuery(String sql) |
YdbResultSet |
executeScanQuery(String sql)
Explicitly execute query as a scan query
|
void |
executeSchemeQuery(String sql)
Explicitly execute query as a schema query
|
YdbConnection |
getConnection() |
YdbResultSet |
getResultSet() |
YdbValidator |
getValidator() |
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrapvoid executeSchemeQuery(String sql) throws SQLException
sql - query (DDL) to executeSQLException - if query cannot be executedYdbResultSet executeScanQuery(String sql) throws SQLException
sql - query to executeSQLException - if query cannot be executedYdbResultSet executeExplainQuery(String sql) throws SQLException
sql - query to explainYdbConst.EXPLAIN_COLUMN_AST
and YdbConst.EXPLAIN_COLUMN_PLANSQLException - if query cannot be explainedYdbValidator getValidator()
YdbResultSet executeQuery(String sql) throws SQLException
executeQuery in interface StatementSQLExceptionYdbResultSet getResultSet() throws SQLException
getResultSet in interface StatementSQLExceptionYdbConnection getConnection() throws SQLException
getConnection in interface StatementSQLExceptionCopyright © 2024. All rights reserved.