Interface TableBuilder

All Known Implementing Classes:
TableBuilderBase

@Public public interface TableBuilder
For creating Table instance.

The implementation should have default configurations set before returning the builder to user. So users are free to only set the configurations they care about to create a new Table instance.

  • Method Details

    • setOperationTimeout

      Set timeout for a whole operation such as get, put or delete. Notice that scan will not be effected by this value, see scanTimeoutNs.

      Operation timeout and max attempt times(or max retry times) are both limitations for retrying, we will stop retrying when we reach any of the limitations.

    • setRpcTimeout

      Set timeout for each rpc request.

      Notice that this will NOT change the rpc timeout for read(get, scan) request and write request(put, delete).

    • setReadRpcTimeout

      Set timeout for each read(get, scan) rpc request.
    • setWriteRpcTimeout

      Set timeout for each write(put, delete) rpc request.
    • setRequestAttribute

      Set a request attribute
    • build

      Create the Table instance.