@InterfaceAudience.Private public class TableStateManager extends Object
| Modifier and Type | Method and Description |
|---|---|
TableState |
getTableState(TableName tableName) |
boolean |
isTablePresent(TableName tableName) |
boolean |
isTableState(TableName tableName,
TableState.State... states) |
void |
setDeletedTable(TableName tableName) |
void |
setTableState(TableName tableName,
TableState.State newState)
Set table state to provided.
|
public void setTableState(TableName tableName, TableState.State newState) throws IOException
tableName - table to change state fornewState - new stateIOExceptionpublic boolean isTableState(TableName tableName, TableState.State... states)
public void setDeletedTable(TableName tableName) throws IOException
IOExceptionpublic boolean isTablePresent(TableName tableName) throws IOException
IOException@NonNull public TableState getTableState(TableName tableName) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.