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
|
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() |
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 |
---|---|
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 |
---|---|
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.
|
TableState |
TableStateManager.setTableStateIfInStates(TableName tableName,
TableState.State newState,
TableState.State... states)
Set table state to provided but only if table in specified states Caller should lock table on
write.
|
TableState |
TableStateManager.setTableStateIfInStates(TableName tableName,
TableState.State newState,
TableState.State... states)
Set table state to provided but only if table in specified states Caller should lock table on
write.
|
boolean |
TableStateManager.setTableStateIfNotInStates(TableName tableName,
TableState.State newState,
TableState.State... states)
Set table state to provided but only if table not in specified states Caller should lock table
on write.
|
boolean |
TableStateManager.setTableStateIfNotInStates(TableName tableName,
TableState.State newState,
TableState.State... states)
Set table state to provided but only if table not in specified states Caller should lock table
on write.
|
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.