public interface TableClient extends SessionSupplier, AutoCloseable
newClient(GrpcTransport) which
return instance of default implementation PooledTableClient. This
implementation contains session pool with fixed sizes. This is recommended way
to create implementation of SessionSupplier.
If you want to use implementation without session pool, you may use
SimpleTableClient| Modifier and Type | Interface and Description |
|---|---|
static interface |
TableClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static TableClient.Builder |
newClient(GrpcTransport transport)
Return TableClient builder used passed
GrpcTransport |
SessionPoolStats |
sessionPoolStats() |
createSession, getSchedulerstatic TableClient.Builder newClient(@WillNotClose GrpcTransport transport)
GrpcTransporttransport - instance of grpc transportTableClient.Builder for TableClient creatingSessionPoolStats sessionPoolStats()
void close()
close in interface AutoCloseableCopyright © 2023. All rights reserved.