public interface AliHBaseAdminInterface
extends org.apache.hadoop.hbase.client.Admin
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createIndex(AliHBaseIndexDescriptor indexDescriptor)
Create a global secondary index table against a specified data table, block forever until operation success.
|
void |
createIndex(AliHBaseIndexDescriptor indexDescriptor,
byte[][] splitKeys)
Create a global secondary index table against a specified data table with split keys, block forever until operation success.
|
void |
createIndex(AliHBaseIndexDescriptor indexDescriptor,
byte[] startKey,
byte[] endKey,
int numRegions)
Create a global secondary index table against a specified data table, block forever until operation success.
|
void |
deleteIndex(String indexName,
org.apache.hadoop.hbase.TableName dataTable)
Drop index and clean all index data synchronously, block forever until operation done.
|
List<AliHBaseIndexDescriptor> |
describeIndex(org.apache.hadoop.hbase.TableName dataTableName)
Get index schema for specified data table.
|
void |
offlineIndex(String indexName,
org.apache.hadoop.hbase.TableName dataTable)
Modify index status to DISABLED, block forever until operation done.
|
abort, abortProcedure, abortProcedureAsync, addColumn, addColumnFamily, addColumnFamilyAsync, addReplicationPeer, addReplicationPeer, appendReplicationPeerTableCFs, assign, balance, balance, balancer, balancer, balancerSwitch, catalogJanitorSwitch, cleanerChoreSwitch, clearBlockCache, clearCompactionQueues, clearDeadServers, cloneSnapshot, cloneSnapshot, cloneSnapshot, cloneSnapshotAsync, close, closeRegion, closeRegion, closeRegion, closeRegionWithEncodedRegionName, compact, compact, compact, compact, compactRegion, compactRegion, compactRegionServer, compactRegionServer, coprocessorService, coprocessorService, createNamespace, createNamespaceAsync, createTable, createTable, createTable, createTableAsync, decommissionRegionServers, deleteColumn, deleteColumnFamily, deleteColumnFamilyAsync, deleteNamespace, deleteNamespaceAsync, deleteSnapshot, deleteSnapshot, deleteSnapshots, deleteSnapshots, deleteTable, deleteTableAsync, deleteTables, deleteTables, deleteTableSnapshots, deleteTableSnapshots, disableReplicationPeer, disableTable, disableTableAsync, disableTableReplication, disableTables, disableTables, enableCatalogJanitor, enableReplicationPeer, enableTable, enableTableAsync, enableTableReplication, enableTables, enableTables, execProcedure, execProcedureWithRet, execProcedureWithReturn, flush, flushRegion, flushRegionServer, getAlterStatus, getAlterStatus, getBackupMasters, getClusterMetrics, getClusterMetrics, getClusterStatus, getCompactionState, getCompactionState, getCompactionStateForRegion, getConfiguration, getConnection, getDescriptor, getLastMajorCompactionTimestamp, getLastMajorCompactionTimestampForRegion, getLocks, getMaster, getMasterCoprocessorNames, getMasterCoprocessors, getMasterInfoPort, getNamespaceDescriptor, getOnlineRegions, getOperationTimeout, getProcedures, getQuota, getQuotaRetriever, getRegionMetrics, getRegionMetrics, getRegions, getRegions, getRegionServers, getReplicationPeerConfig, getSecurityCapabilities, getTableDescriptor, getTableDescriptors, getTableDescriptorsByTableName, getTableRegions, isAborted, isBalancerEnabled, isCatalogJanitorEnabled, isCleanerChoreEnabled, isMasterInMaintenanceMode, isMergeEnabled, isNormalizerEnabled, isProcedureFinished, isSnapshotFinished, isSplitEnabled, isSplitOrMergeEnabled, isTableAvailable, isTableAvailable, isTableDisabled, isTableEnabled, listDeadServers, listDecommissionedRegionServers, listNamespaceDescriptors, listReplicatedTableCFs, listReplicationPeers, listReplicationPeers, listSnapshots, listSnapshots, listSnapshots, listTableDescriptors, listTableDescriptors, listTableDescriptors, listTableDescriptors, listTableDescriptorsByNamespace, listTableDescriptorsByNamespace, listTableNames, listTableNames, listTableNames, listTableNames, listTableNames, listTableNamesByNamespace, listTables, listTables, listTables, listTables, listTables, listTableSnapshots, listTableSnapshots, majorCompact, majorCompact, majorCompact, majorCompact, majorCompactRegion, majorCompactRegion, majorCompactRegionServer, mergeRegions, mergeRegionsAsync, mergeRegionsAsync, mergeSwitch, modifyColumn, modifyColumnFamily, modifyColumnFamilyAsync, modifyNamespace, modifyNamespaceAsync, modifyTable, modifyTable, modifyTableAsync, modifyTableAsync, move, normalize, normalizerSwitch, offline, recommissionRegionServer, removeReplicationPeer, removeReplicationPeerTableCFs, restoreSnapshot, restoreSnapshot, restoreSnapshot, restoreSnapshot, restoreSnapshot, restoreSnapshotAsync, rollWALWriter, runCatalogJanitor, runCatalogScan, runCleanerChore, setBalancerRunning, setCleanerChoreRunning, setNormalizerRunning, setQuota, setSplitOrMergeEnabled, shutdown, snapshot, snapshot, snapshot, snapshot, snapshotAsync, split, split, splitRegion, splitRegion, splitRegionAsync, splitSwitch, stopMaster, stopRegionServer, tableExists, takeSnapshotAsync, truncateTable, truncateTableAsync, unassign, updateConfiguration, updateConfiguration, updateReplicationPeerConfigList<AliHBaseIndexDescriptor> describeIndex(org.apache.hadoop.hbase.TableName dataTableName) throws IOException
dataTableName - data table nameIOExceptionvoid createIndex(AliHBaseIndexDescriptor indexDescriptor) throws IOException
indexDescriptor - descriptor of index tableIOExceptionvoid createIndex(AliHBaseIndexDescriptor indexDescriptor, byte[][] splitKeys) throws IOException
indexDescriptor - descriptor of index tablesplitKeys - pre-split range of index tableIOExceptionvoid createIndex(AliHBaseIndexDescriptor indexDescriptor, byte[] startKey, byte[] endKey, int numRegions) throws IOException
indexDescriptor - descriptor of index tablestartKey - start range key of index tableendKey - end range key of index tablenumRegions - number of initial regionsIOExceptionvoid deleteIndex(String indexName, org.apache.hadoop.hbase.TableName dataTable) throws IOException
offlineIndex(String, TableName) operation must be performed first.indexName - index namedataTable - name of main tableIOExceptionvoid offlineIndex(String indexName, org.apache.hadoop.hbase.TableName dataTable) throws IOException
indexName - index namedataTable - name of main tableIOExceptionCopyright © 2019. All rights reserved.