public abstract class BaseYdbExecutor extends Object implements YdbExecutor
| Modifier and Type | Field and Description |
|---|---|
protected String |
prefixPragma |
protected boolean |
traceEnabled |
| Constructor and Description |
|---|
BaseYdbExecutor(YdbContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeCurrentResult() |
protected tech.ydb.table.Session |
createNewTableSession(YdbValidator validator) |
void |
ensureOpened() |
YdbQueryResult |
executeBulkUpsert(YdbStatement statement,
YdbQuery query,
String tablePath,
tech.ydb.table.values.ListValue rows) |
YdbQueryResult |
executeScanQuery(YdbStatement statement,
YdbQuery query,
String preparedYql,
tech.ydb.table.query.Params params) |
YdbQueryResult |
executeSchemeQuery(YdbStatement statement,
YdbQuery query) |
YdbTracer |
trace(String message) |
protected YdbTracer |
traceRequest(String type,
String message) |
protected YdbQueryResult |
updateCurrentResult(YdbQueryResult result) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, commit, executeDataQuery, executeExplainQuery, isAutoCommit, isClosed, isInsideTransaction, isReadOnly, isValid, rollback, setAutoCommit, setReadOnly, setTransactionLevel, transactionLevel, txIDprotected final boolean traceEnabled
protected final String prefixPragma
public BaseYdbExecutor(YdbContext ctx)
protected tech.ydb.table.Session createNewTableSession(YdbValidator validator) throws SQLException
SQLExceptionprotected void closeCurrentResult()
throws SQLException
SQLExceptionprotected YdbQueryResult updateCurrentResult(YdbQueryResult result) throws SQLException
SQLExceptionpublic void ensureOpened()
throws SQLException
ensureOpened in interface YdbExecutorSQLExceptionpublic YdbTracer trace(String message)
trace in interface YdbExecutorpublic YdbQueryResult executeSchemeQuery(YdbStatement statement, YdbQuery query) throws SQLException
executeSchemeQuery in interface YdbExecutorSQLExceptionpublic YdbQueryResult executeBulkUpsert(YdbStatement statement, YdbQuery query, String tablePath, tech.ydb.table.values.ListValue rows) throws SQLException
executeBulkUpsert in interface YdbExecutorSQLExceptionpublic YdbQueryResult executeScanQuery(YdbStatement statement, YdbQuery query, String preparedYql, tech.ydb.table.query.Params params) throws SQLException
executeScanQuery in interface YdbExecutorSQLExceptionCopyright © 2024. All rights reserved.