public interface YdbExecutor
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit(YdbContext ctx,
YdbValidator validator) |
void |
ensureOpened() |
YdbQueryResult |
executeBulkUpsert(YdbStatement statement,
YdbQuery query,
String tablePath,
tech.ydb.table.values.ListValue rows) |
YdbQueryResult |
executeDataQuery(YdbStatement statement,
YdbQuery query,
String yql,
tech.ydb.table.query.Params params,
long timeout,
boolean poolable) |
YdbQueryResult |
executeExplainQuery(YdbStatement statement,
YdbQuery query) |
YdbQueryResult |
executeScanQuery(YdbStatement statement,
YdbQuery query,
String yql,
tech.ydb.table.query.Params params) |
YdbQueryResult |
executeSchemeQuery(YdbStatement statement,
YdbQuery query) |
boolean |
isAutoCommit() |
boolean |
isClosed() |
boolean |
isInsideTransaction() |
boolean |
isReadOnly() |
boolean |
isValid(YdbValidator validator,
int timeout) |
void |
rollback(YdbContext ctx,
YdbValidator validator) |
void |
setAutoCommit(boolean autoCommit) |
void |
setReadOnly(boolean readOnly) |
void |
setTransactionLevel(int level) |
YdbTracer |
trace(String message) |
int |
transactionLevel() |
String |
txID() |
void close()
throws SQLException
SQLExceptionboolean isClosed()
throws SQLException
SQLExceptionvoid ensureOpened()
throws SQLException
SQLExceptionString txID() throws SQLException
SQLExceptionint transactionLevel()
throws SQLException
SQLExceptionboolean isInsideTransaction()
throws SQLException
SQLExceptionboolean isAutoCommit()
throws SQLException
SQLExceptionboolean isReadOnly()
throws SQLException
SQLExceptionvoid setTransactionLevel(int level)
throws SQLException
SQLExceptionvoid setReadOnly(boolean readOnly)
throws SQLException
SQLExceptionvoid setAutoCommit(boolean autoCommit)
throws SQLException
SQLExceptionYdbQueryResult executeSchemeQuery(YdbStatement statement, YdbQuery query) throws SQLException
SQLExceptionYdbQueryResult executeBulkUpsert(YdbStatement statement, YdbQuery query, String tablePath, tech.ydb.table.values.ListValue rows) throws SQLException
SQLExceptionYdbQueryResult executeExplainQuery(YdbStatement statement, YdbQuery query) throws SQLException
SQLExceptionYdbQueryResult executeScanQuery(YdbStatement statement, YdbQuery query, String yql, tech.ydb.table.query.Params params) throws SQLException
SQLExceptionYdbQueryResult executeDataQuery(YdbStatement statement, YdbQuery query, String yql, tech.ydb.table.query.Params params, long timeout, boolean poolable) throws SQLException
SQLExceptionvoid commit(YdbContext ctx, YdbValidator validator) throws SQLException
SQLExceptionvoid rollback(YdbContext ctx, YdbValidator validator) throws SQLException
SQLExceptionboolean isValid(YdbValidator validator, int timeout) throws SQLException
SQLExceptionCopyright © 2024. All rights reserved.