pub struct TableServiceClient<T> { /* private fields */ }

Implementations

Attempt to create a new client by connecting to a given endpoint.

Compress requests with gzip.

This requires the server to support it otherwise it might respond with an error.

Enable decompressing responses with gzip.

Create new session. Implicit session creation is forbidden, so user must create new session before execute any query, otherwise BAD_SESSION status will be returned. Simultaneous execution of requests are forbiden. Sessions are volatile, can be invalidated by server, for example in case of fatal errors. All requests with this session will fail with BAD_SESSION status. So, client must be able to handle BAD_SESSION status.

Ends a session, releasing server resources associated with it.

Idle sessions can be kept alive by calling KeepAlive periodically.

Creates new table.

Drop table.

Modifies schema of given table.

Creates copy of given table.

Creates consistent copy of given tables.

Creates consistent move of given tables.

Returns information about given table (metadata).

Explains data query. SessionId of previously created session must be provided.

Prepares data query, returns query id. SessionId of previously created session must be provided.

Executes data query. SessionId of previously created session must be provided.

Executes scheme query. SessionId of previously created session must be provided.

Begins new transaction.

Commits specified active transaction.

Performs a rollback of the specified active transaction.

Describe supported table options.

Streaming read table

Upserts a batch of rows non-transactionally. Returns success only when all rows were successfully upserted. In case of an error some rows might be upserted and some might not.

Executes scan query with streaming result.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more