@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.UnsupportedOperationsHandlerAdmin.MasterSwitchTypeadminClientWrapper, 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, updateConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitabortProcedure, 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, snapshotCleanupSwitchpublic BigtableAdmin(CommonConnection connection) throws IOException
IOExceptionpublic org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotResponse takeSnapshotAsync(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot) throws IOException, SnapshotCreationException
IOExceptionSnapshotCreationExceptionpublic void disableTableAsync(TableName tableName) throws IOException
IOExceptionpublic void enableTableAsync(TableName tableName) throws IOException
IOExceptionpublic 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
IOExceptionpublic List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription> listSnapshots(String regex) throws IOException
IOExceptionpublic List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription> listSnapshots(Pattern pattern) throws IOException
IOExceptionpublic ClusterStatus getClusterStatus() throws IOException
IOExceptionpublic static Admin createInstance(CommonConnection connection) throws IOException
IOException