public class YdbStatementImpl extends BaseYdbStatement
BaseYdbStatement.YdbResultCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
YdbStatementImpl(YdbConnection connection,
int resultSetType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch(String sql) |
void |
clearBatch() |
boolean |
execute(String sql) |
boolean |
execute(String sql,
int autoGeneratedKeys) |
boolean |
execute(String sql,
int[] columnIndexes) |
boolean |
execute(String sql,
String[] columnNames) |
int[] |
executeBatch() |
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
|
int |
executeUpdate(String sql) |
int |
executeUpdate(String sql,
int autoGeneratedKeys) |
int |
executeUpdate(String sql,
int[] columnIndexes) |
int |
executeUpdate(String sql,
String[] columnNames) |
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
cancel, cleanState, clearWarnings, close, closeOnCompletion, executeDataQuery, executeExplainQuery, executeScanQuery, executeSchemeQuery, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetAt, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, updateStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowspublic YdbStatementImpl(YdbConnection connection, int resultSetType)
public void executeSchemeQuery(String sql) throws SQLException
YdbStatementsql - query (DDL) to executeSQLException - if query cannot be executedpublic YdbResultSet executeScanQuery(String sql) throws SQLException
YdbStatementsql - query to executeSQLException - if query cannot be executedpublic YdbResultSet executeExplainQuery(String sql) throws SQLException
YdbStatementsql - query to explainYdbConst.EXPLAIN_COLUMN_AST
and YdbConst.EXPLAIN_COLUMN_PLANSQLException - if query cannot be explainedpublic YdbResultSet executeQuery(String sql) throws SQLException
SQLExceptionpublic int executeUpdate(String sql) throws SQLException
SQLExceptionpublic boolean execute(String sql) throws SQLException
SQLExceptionpublic void addBatch(String sql) throws SQLException
SQLExceptionpublic void clearBatch()
throws SQLException
SQLExceptionpublic int[] executeBatch()
throws SQLException
SQLExceptionpublic int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
SQLExceptionpublic boolean execute(String sql, int autoGeneratedKeys) throws SQLException
SQLExceptionpublic int executeUpdate(String sql, int[] columnIndexes) throws SQLException
SQLExceptionpublic int executeUpdate(String sql, String[] columnNames) throws SQLException
SQLExceptionpublic boolean execute(String sql, int[] columnIndexes) throws SQLException
SQLExceptionpublic boolean execute(String sql, String[] columnNames) throws SQLException
SQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
SQLExceptionpublic boolean isWrapperFor(Class<?> iface)
Copyright © 2024. All rights reserved.