org.apache.hadoop.hbase.client.tableindexed
Class IndexedTableAdmin
java.lang.Object
org.apache.hadoop.hbase.client.HBaseAdmin
org.apache.hadoop.hbase.client.tableindexed.IndexedTableAdmin
public class IndexedTableAdmin
- extends HBaseAdmin
Extension of HBaseAdmin that creates indexed tables.
Methods inherited from class org.apache.hadoop.hbase.client.HBaseAdmin |
addColumn, addColumn, checkHBaseAvailable, closeRegion, closeRegion, compact, compact, createTableAsync, deleteColumn, deleteColumn, deleteTable, deleteTable, disableTable, disableTable, enableTable, enableTable, flush, flush, getMaster, getTableDescriptor, getTableDescriptor, isMasterRunning, isTableEnabled, isTableEnabled, listTables, majorCompact, majorCompact, modifyColumn, modifyColumn, modifyTable, shutdown, split, split, tableExists, tableExists |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexedTableAdmin
public IndexedTableAdmin(HBaseConfiguration conf)
throws MasterNotRunningException
- Constructor
- Parameters:
conf
- Configuration object
- Throws:
MasterNotRunningException
createTable
public void createTable(HTableDescriptor desc)
throws IOException
- Creates a new table
- Overrides:
createTable
in class HBaseAdmin
- Parameters:
desc
- table descriptor for table
- Throws:
IllegalArgumentException
- if the table name is reserved
MasterNotRunningException
- if master is not running
TableExistsException
- if table already exists (If concurrent
threads, the table may have been created between test-for-existence and
attempt-at-creation).
IOException
Copyright © 2008 The Apache Software Foundation