public class TableServiceExecutor extends BaseYdbExecutor
| Constructor and Description |
|---|
TableServiceExecutor(YdbContext ctx,
int transactionLevel,
boolean autoCommit) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit(YdbContext ctx,
YdbValidator validator) |
List<tech.ydb.table.result.ResultSetReader> |
executeDataQuery(YdbContext ctx,
YdbValidator validator,
String yql,
long timeout,
boolean keepInCache,
tech.ydb.table.query.Params params) |
ExplainedQuery |
executeExplainQuery(YdbContext ctx,
YdbValidator validator,
String yql) |
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() |
createNewTableSession, executeScanQuery, executeSchemeQueryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitensureOpenedpublic TableServiceExecutor(YdbContext ctx, int transactionLevel, boolean autoCommit) throws SQLException
SQLExceptionpublic void close()
public void setTransactionLevel(int level)
throws SQLException
SQLExceptionpublic void setReadOnly(boolean readOnly)
throws SQLException
SQLExceptionpublic void setAutoCommit(boolean autoCommit)
throws SQLException
SQLExceptionpublic boolean isClosed()
public String txID()
public 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 ExplainedQuery executeExplainQuery(YdbContext ctx, YdbValidator validator, String yql) throws SQLException
SQLExceptionpublic List<tech.ydb.table.result.ResultSetReader> executeDataQuery(YdbContext ctx, YdbValidator validator, String yql, long timeout, boolean keepInCache, tech.ydb.table.query.Params params) throws SQLException
SQLExceptionpublic boolean isValid(YdbValidator validator, int timeout) throws SQLException
SQLExceptionCopyright © 2024. All rights reserved.