Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
static void |
MetaTableAccessor.updateTableState(Connection conn,
TableName tableName,
TableState.State actual)
Updates state in META Do not use.
|
Modifier and Type | Field and Description |
---|---|
private TableState.State |
TableState.state |
Modifier and Type | Method and Description |
---|---|
static TableState.State |
TableState.State.convert(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableState.State state)
Covert from PB version of State
|
TableState.State |
TableState.getState()
Returns table state
|
static TableState.State |
TableState.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableState.State[] |
TableState.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static CompletableFuture<Boolean> |
RawAsyncHBaseAdmin.completeCheckTableState(CompletableFuture<Boolean> future,
TableState tableState,
Throwable error,
TableState.State targetState,
TableName tableName)
Utility for completing passed TableState
CompletableFuture future using
passed parameters. |
boolean |
TableState.inStates(TableState.State... states)
Check that table in given states
|
boolean |
TableState.inStates(TableState.State state)
Check that table in given states
|
boolean |
TableState.isInStates(TableState.State... target)
Static version of state checker
|
Constructor and Description |
---|
TableState(TableName tableName,
TableState.State state)
Create instance of TableState.
|
Modifier and Type | Field and Description |
---|---|
private ConcurrentMap<TableName,TableState.State> |
TableStateManager.tableName2State |
Modifier and Type | Method and Description |
---|---|
(package private) Set<TableName> |
TableStateManager.getTablesInStates(TableState.State... states)
Return all tables in given states.
|
boolean |
TableStateManager.isTableState(TableName tableName,
TableState.State... states) |
protected void |
MirroringTableStateManager.metaStateUpdated(TableName tableName,
TableState.State newState)
Deprecated.
|
protected void |
TableStateManager.metaStateUpdated(TableName tableName,
TableState.State newState) |
void |
TableStateManager.setTableState(TableName tableName,
TableState.State newState)
Set table state to provided.
|
private void |
TableStateManager.updateMetaState(TableName tableName,
TableState.State newState) |
Modifier and Type | Method and Description |
---|---|
static Map<TableName,TableState.State> |
ZKDataMigrator.queryForTableStates(ZKWatcher zkw)
Deprecated.
Since 2.0.0. To be removed in hbase-3.0.0.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.