Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
Modifier and Type | Method and Description |
---|---|
static TableState |
MetaTableAccessor.getTableState(Connection conn,
TableName tableName)
Fetch table state for given table from META table
|
static TableState |
MetaTableAccessor.getTableState(Result r)
Decode table state from META Result.
|
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<Optional<TableState>> |
AsyncMetaTableAccessor.getTableState(RawAsyncTable metaTable,
TableName tableName) |
static Map<TableName,TableState> |
MetaTableAccessor.getTableStates(Connection conn)
Fetch table states from META table
|
Modifier and Type | Method and Description |
---|---|
static Put |
MetaTableAccessor.makePutFromTableState(TableState state)
Construct PUT for given state
|
static void |
MetaTableAccessor.updateTableState(Connection connection,
TableState state)
Update state of the table in meta.
|
Modifier and Type | Method and Description |
---|---|
static TableState |
TableState.convert(TableName tableName,
org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableState tableState)
Covert from PB version of TableState
|
TableState |
ClusterConnection.getTableState(TableName tableName)
Retrieve TableState, represent current table state.
|
static TableState |
TableState.parseFrom(TableName tableName,
byte[] bytes) |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.