| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hbase.client |
Provides HBase Client
Table of Contents
Overview
Example API Usage
Overview
To administer HBase, create and drop tables, list and alter tables,
use
Admin. |
| 限定符和类型 | 方法和说明 |
|---|---|
AsyncAdminBuilder |
AsyncConnection.getAdminBuilder()
Returns an
AsyncAdminBuilder for creating AsyncAdmin. |
AsyncAdminBuilder |
AsyncConnection.getAdminBuilder(ExecutorService pool)
Returns an
AsyncAdminBuilder for creating AsyncAdmin. |
AsyncAdminBuilder |
AsyncAdminBuilder.setMaxAttempts(int maxAttempts)
Set the max attempt times for an admin operation.
|
default AsyncAdminBuilder |
AsyncAdminBuilder.setMaxRetries(int maxRetries)
Set the max retry times for an admin operation.
|
AsyncAdminBuilder |
AsyncAdminBuilder.setOperationTimeout(long timeout,
TimeUnit unit)
Set timeout for a whole admin operation.
|
AsyncAdminBuilder |
AsyncAdminBuilder.setRetryPause(long timeout,
TimeUnit unit)
Set the base pause time for retrying.
|
AsyncAdminBuilder |
AsyncAdminBuilder.setRetryPauseForCQTBE(long pause,
TimeUnit unit)
Set the base pause time for retrying when we hit
CallQueueTooBigException. |
AsyncAdminBuilder |
AsyncAdminBuilder.setRpcTimeout(long timeout,
TimeUnit unit)
Set timeout for each rpc request.
|
AsyncAdminBuilder |
AsyncAdminBuilder.setStartLogErrorsCnt(int startLogErrorsCnt)
Set the number of retries that are allowed before we start to log.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.