public interface YdbExecutor
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit(YdbContext ctx,
YdbValidator validator) |
default void |
ensureOpened() |
List<tech.ydb.table.result.ResultSetReader> |
executeDataQuery(YdbContext ctx,
YdbValidator validator,
String yql,
long timeout,
boolean poolable,
tech.ydb.table.query.Params params) |
ExplainedQuery |
executeExplainQuery(YdbContext ctx,
YdbValidator validator,
String yql) |
tech.ydb.table.result.ResultSetReader |
executeScanQuery(YdbContext ctx,
YdbValidator validator,
String yql,
tech.ydb.table.query.Params params) |
void |
executeSchemeQuery(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() |
default void ensureOpened()
throws SQLException
SQLExceptionboolean isClosed()
String txID()
int 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
SQLExceptionvoid executeSchemeQuery(YdbContext ctx, YdbValidator validator, String yql) throws SQLException
SQLExceptionList<tech.ydb.table.result.ResultSetReader> executeDataQuery(YdbContext ctx, YdbValidator validator, String yql, long timeout, boolean poolable, tech.ydb.table.query.Params params) throws SQLException
SQLExceptiontech.ydb.table.result.ResultSetReader executeScanQuery(YdbContext ctx, YdbValidator validator, String yql, tech.ydb.table.query.Params params) throws SQLException
SQLExceptionExplainedQuery executeExplainQuery(YdbContext ctx, YdbValidator validator, String yql) 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
SQLExceptionvoid close()
Copyright © 2024. All rights reserved.