@InternalApi(value="For internal usage only") public abstract class BigtableAdmin extends AbstractBigtableAdmin
AbstractBigtableAdmin
. Most methods in this class
unsupported
For internal use only - public for technical reasons.
AbstractBigtableAdmin.UnsupportedOperationsHandler
Admin.MasterSwitchType
adminClientWrapper, connection, LOG
Constructor and Description |
---|
BigtableAdmin(CommonConnection connection) |
abort, addColumn, addColumn, assign, balancer, cloneSnapshot, cloneSnapshot, cloneSnapshot, close, closeRegion, closeRegion, closeRegion, closeRegionWithEncodedRegionName, compact, compact, compactRegion, compactRegion, compactRegionServer, convertToTableExistsException, coprocessorService, coprocessorService, createNamespace, createSplitKeys, createTable, createTable, createTable, createTable, createTableAsync, createTableAsync, deleteColumn, deleteColumn, deleteColumn, deleteNamespace, deleteRowRangeByPrefix, deleteSnapshot, deleteSnapshot, deleteSnapshots, deleteSnapshots, deleteTable, deleteTables, deleteTables, deleteTableSnapshots, deleteTableSnapshots, disableTable, disableTable, disableTables, disableTables, enableCatalogJanitor, enableTable, enableTable, enableTables, enableTables, execProcedure, execProcedureWithRet, flush, flushRegion, getAlterStatus, getAlterStatus, getAlterStatus, getBackupClusterId, getConfiguration, getConnection, getMasterCoprocessors, getMasterInfoPort, getNamespaceDescriptor, getOnlineRegions, getOperationTimeout, getTableDescriptor, getTableDescriptors, getTableDescriptorsByTableName, getTableNames, getTableRegions, isAborted, isCatalogJanitorEnabled, isProcedureFinished, isTableAvailable, isTableAvailable, isTableDisabled, isTableDisabled, isTableEnabled, isTableEnabled, listNamespaceDescriptors, listTableDescriptorsByNamespace, listTableNames, listTableNames, listTableNames, listTableNames, listTableNames, listTableNamesByNamespace, listTables, listTables, listTables, listTables, listTables, majorCompact, majorCompact, majorCompactRegion, majorCompactRegion, mergeRegions, modifyColumn, modifyColumns, modifyColumns, modifyNamespace, modifyTable, move, offline, restoreSnapshot, restoreSnapshot, restoreSnapshot, restoreSnapshot, rollWALWriter, runCatalogScan, setBalancerRunning, shutdown, snapshot, snapshot, snapshot, snapshotTable, split, split, splitRegion, splitRegion, stopMaster, stopRegionServer, tableExists, tableExists, toString, truncateTable, unassign, updateConfiguration, updateConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abortProcedure, abortProcedureAsync, balancer, clearDeadServers, clearSlowLogResponses, compactionSwitch, getCompactionState, getCompactionStateForRegion, getLastMajorCompactionTimestamp, getLastMajorCompactionTimestampForRegion, getLogEntries, getMaster, getQuotaRetriever, getSecurityCapabilities, isBalancerEnabled, isCleanerChoreEnabled, isMasterInMaintenanceMode, isNormalizerEnabled, isSnapshotCleanupEnabled, isSnapshotFinished, isSplitOrMergeEnabled, listDeadServers, listNamespaces, listProcedures, listTableSnapshots, listTableSnapshots, normalize, restoreSnapshot, runCleanerChore, setCleanerChoreRunning, setNormalizerRunning, setQuota, setSplitOrMergeEnabled, snapshot, snapshotCleanupSwitch
public BigtableAdmin(CommonConnection connection) throws IOException
IOException
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotResponse takeSnapshotAsync(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot) throws IOException, SnapshotCreationException
IOException
SnapshotCreationException
public void disableTableAsync(TableName tableName) throws IOException
IOException
public void enableTableAsync(TableName tableName) throws IOException
IOException
public void snapshot(String snapshotId, TableName tableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type) throws IOException, SnapshotCreationException, IllegalArgumentException
The snapshot will be created with the ttl configured by BigtableOptionsFactory.BIGTABLE_SNAPSHOT_DEFAULT_TTL_SECS_KEY
key in the configuration. If not configured, the ttl will be set to serverside default.
public void snapshot(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot) throws IOException, SnapshotCreationException, IllegalArgumentException
public void cloneSnapshot(String s, TableName tableName, boolean b) throws IOException, TableExistsException, RestoreSnapshotException
public List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription> listSnapshots() throws IOException
IOException
public List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription> listSnapshots(String regex) throws IOException
IOException
public List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription> listSnapshots(Pattern pattern) throws IOException
IOException
public ClusterStatus getClusterStatus() throws IOException
IOException
public static Admin createInstance(CommonConnection connection) throws IOException
IOException