Package com.yandex.ydb.table
Interface TableClient
-
- All Superinterfaces:
AutoCloseable,SessionSupplier
public interface TableClient extends SessionSupplier, AutoCloseable
- Author:
- Sergey Polovko
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTableClient.BuilderBUILDER
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclose()default CompletableFuture<Result<Session>>createSession()CompletableFuture<Result<Session>>createSession(CreateSessionSettings settings)Create new session.SessionPoolStatsgetSessionPoolStats()static TableClient.BuildernewClient(TableRpc tableRpc)-
Methods inherited from interface com.yandex.ydb.table.SessionSupplier
getOrCreateSession
-
-
-
-
Method Detail
-
newClient
static TableClient.Builder newClient(@WillClose TableRpc tableRpc)
-
createSession
CompletableFuture<Result<Session>> createSession(CreateSessionSettings settings)
Create new session.
-
createSession
default CompletableFuture<Result<Session>> createSession()
-
getSessionPoolStats
SessionPoolStats getSessionPoolStats()
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-