public class TableServiceExecutor extends BaseYdbExecutor
prefixPragma, traceEnabled| Constructor and Description |
|---|
TableServiceExecutor(YdbContext ctx,
int transactionLevel,
boolean autoCommit) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit(YdbContext ctx,
YdbValidator validator) |
YdbQueryResult |
executeDataQuery(YdbStatement statement,
YdbQuery query,
String preparedYql,
tech.ydb.table.query.Params params,
long timeout,
boolean keepInCache) |
YdbQueryResult |
executeExplainQuery(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) |
int |
transactionLevel() |
String |
txID() |
closeCurrentResult, createNewTableSession, ensureOpened, executeBulkUpsert, executeScanQuery, executeSchemeQuery, trace, traceRequest, updateCurrentResultpublic TableServiceExecutor(YdbContext ctx, int transactionLevel, boolean autoCommit) throws SQLException
SQLExceptionpublic void close()
throws SQLException
SQLExceptionpublic void setTransactionLevel(int level)
throws SQLException
SQLExceptionpublic void setReadOnly(boolean readOnly)
throws SQLException
SQLExceptionpublic void setAutoCommit(boolean autoCommit)
throws SQLException
SQLExceptionpublic boolean isClosed()
throws SQLException
SQLExceptionpublic String txID() throws SQLException
SQLExceptionpublic boolean isInsideTransaction()
throws SQLException
SQLExceptionpublic boolean isAutoCommit()
throws SQLException
SQLExceptionpublic boolean isReadOnly()
throws SQLException
SQLExceptionpublic int transactionLevel()
throws SQLException
SQLExceptionpublic void commit(YdbContext ctx, YdbValidator validator) throws SQLException
SQLExceptionpublic void rollback(YdbContext ctx, YdbValidator validator) throws SQLException
SQLExceptionpublic YdbQueryResult executeExplainQuery(YdbStatement statement, YdbQuery query) throws SQLException
SQLExceptionpublic YdbQueryResult executeDataQuery(YdbStatement statement, YdbQuery query, String preparedYql, tech.ydb.table.query.Params params, long timeout, boolean keepInCache) throws SQLException
SQLExceptionpublic boolean isValid(YdbValidator validator, int timeout) throws SQLException
SQLExceptionCopyright © 2024. All rights reserved.