程序包 | 说明 |
---|---|
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 . |
org.apache.hadoop.hbase.shaded.protobuf |
限定符和类型 | 方法和说明 |
---|---|
CompactionState |
Admin.getCompactionState(TableName tableName)
Get the current compaction state of a table.
|
CompactionState |
HBaseAdmin.getCompactionState(TableName tableName) |
CompactionState |
Admin.getCompactionState(TableName tableName,
CompactType compactType)
Get the current compaction state of a table.
|
CompactionState |
HBaseAdmin.getCompactionState(TableName tableName,
CompactType compactType)
Get the current compaction state of a table.
|
CompactionState |
Admin.getCompactionStateForRegion(byte[] regionName)
Get the current compaction state of region.
|
CompactionState |
HBaseAdmin.getCompactionStateForRegion(byte[] regionName) |
static CompactionState |
CompactionState.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CompactionState[] |
CompactionState.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
default CompletableFuture<CompactionState> |
AsyncAdmin.getCompactionState(TableName tableName)
Get the current compaction state of a table.
|
CompletableFuture<CompactionState> |
AsyncAdmin.getCompactionState(TableName tableName,
CompactType compactType)
Get the current compaction state of a table.
|
CompletableFuture<CompactionState> |
AsyncAdmin.getCompactionStateForRegion(byte[] regionName)
Get the current compaction state of region.
|
限定符和类型 | 方法和说明 |
---|---|
static CompactionState |
ProtobufUtil.createCompactionState(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState state)
Creates
CompactionState from
AdminProtos.GetRegionInfoResponse.CompactionState
state |
限定符和类型 | 方法和说明 |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState |
ProtobufUtil.createCompactionState(CompactionState state) |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.