public interface TableClient extends SessionSupplier, AutoCloseable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TableClient.Builder
BUILDER
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
default CompletableFuture<Result<Session>> |
createSession() |
CompletableFuture<Result<Session>> |
createSession(CreateSessionSettings settings)
Create new session.
|
SessionPoolStats |
getSessionPoolStats() |
static TableClient.Builder |
newClient(TableRpc tableRpc) |
getOrCreateSessionstatic TableClient.Builder newClient(@WillClose TableRpc tableRpc)
CompletableFuture<Result<Session>> createSession(CreateSessionSettings settings)
default CompletableFuture<Result<Session>> createSession()
SessionPoolStats getSessionPoolStats()
void close()
close in interface AutoCloseableCopyright © 2021. All rights reserved.