diff --git a/pom.xml b/pom.xml
index 6c2c2679..411d1e84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -109,8 +109,8 @@
1.7.1
- 2.1.10
- 1.6.0
+ 2.2.2
+ 1.6.2
1.18.30
diff --git a/repository-ydb-v2/src/main/java/tech/ydb/yoj/repository/ydb/client/QueryInterceptingSession.java b/repository-ydb-v2/src/main/java/tech/ydb/yoj/repository/ydb/client/QueryInterceptingSession.java
index 49a047c5..996cc9ae 100644
--- a/repository-ydb-v2/src/main/java/tech/ydb/yoj/repository/ydb/client/QueryInterceptingSession.java
+++ b/repository-ydb-v2/src/main/java/tech/ydb/yoj/repository/ydb/client/QueryInterceptingSession.java
@@ -1,5 +1,6 @@
package tech.ydb.yoj.repository.ydb.client;
+import tech.ydb.common.transaction.TxMode;
import tech.ydb.core.Result;
import tech.ydb.core.Status;
import tech.ydb.core.grpc.GrpcReadStream;
@@ -9,6 +10,7 @@
import tech.ydb.table.query.DataQueryResult;
import tech.ydb.table.query.ExplainDataQueryResult;
import tech.ydb.table.query.Params;
+import tech.ydb.table.query.ReadRowsResult;
import tech.ydb.table.query.ReadTablePart;
import tech.ydb.table.result.ResultSetReader;
import tech.ydb.table.settings.AlterTableSettings;
@@ -26,8 +28,11 @@
import tech.ydb.table.settings.ExplainDataQuerySettings;
import tech.ydb.table.settings.KeepAliveSessionSettings;
import tech.ydb.table.settings.PrepareDataQuerySettings;
+import tech.ydb.table.settings.ReadRowsSettings;
import tech.ydb.table.settings.ReadTableSettings;
+import tech.ydb.table.settings.RenameTablesSettings;
import tech.ydb.table.settings.RollbackTxSettings;
+import tech.ydb.table.transaction.TableTransaction;
import tech.ydb.table.transaction.Transaction;
import tech.ydb.table.transaction.TxControl;
import tech.ydb.table.values.ListValue;
@@ -45,7 +50,6 @@ public final class QueryInterceptingSession implements Session {
private final Session delegate;
private final QueryInterceptor interceptor;
-
private QueryInterceptingSession(Session delegate, QueryInterceptor interceptor) {
this.delegate = delegate;
this.interceptor = interceptor;
@@ -162,6 +166,29 @@ public void close() {
delegate.close();
}
+ //////////////////////////
+ // @since: YDB SDK v2.2.0:
+
+ @Override
+ public CompletableFuture renameTables(RenameTablesSettings renameTablesSettings) {
+ return delegate.renameTables(renameTablesSettings);
+ }
+
+ @Override
+ public CompletableFuture> readRows(String s, ReadRowsSettings readRowsSettings) {
+ return delegate.readRows(s, readRowsSettings);
+ }
+
+ @Override
+ public TableTransaction createNewTransaction(TxMode txMode) {
+ return delegate.createNewTransaction(txMode);
+ }
+
+ @Override
+ public CompletableFuture> beginTransaction(TxMode txMode, BeginTxSettings beginTxSettings) {
+ return delegate.beginTransaction(txMode, beginTxSettings);
+ }
+
public enum QueryType {
DATA_QUERY,
SCAN_QUERY,