Modifier and Type | Field and Description |
---|---|
static Table.ID |
Table.ID.METADATA |
static Table.ID |
Table.ID.REPLICATION |
static Table.ID |
Table.ID.ROOT |
protected Table.ID |
TabletLocatorImpl.tableId |
Modifier and Type | Method and Description |
---|---|
static Table.ID |
Tables._getTableId(ClientContext context,
String tableName)
Lookup table ID in ZK.
|
protected Table.ID |
ReplicationOperationsImpl.getTableId(AccumuloClient client,
String tableName) |
static Table.ID |
Tables.getTableId(ClientContext context,
String tableName)
Lookup table ID in ZK.
|
static Table.ID |
Table.ID.of(String canonical)
Get a Table.ID object for the provided canonical string.
|
Modifier and Type | Method and Description |
---|---|
Map<Table.ID,String> |
TableMap.getIdtoNameMap() |
static Map<Table.ID,String> |
Tables.getIdToNameMap(ClientContext context) |
Map<String,Table.ID> |
TableMap.getNameToIdMap() |
static Map<String,Table.ID> |
Tables.getNameToIdMap(ClientContext context) |
static List<Table.ID> |
Namespaces.getTableIds(ClientContext context,
Namespace.ID namespaceId) |
Modifier and Type | Method and Description |
---|---|
void |
TabletServerBatchWriter.addMutation(Table.ID table,
Iterator<Mutation> iterator) |
void |
TabletServerBatchWriter.addMutation(Table.ID table,
Mutation m) |
static SortedMap<KeyExtent,Bulk.Files> |
BulkImport.computeFileToTabletMappings(org.apache.hadoop.fs.FileSystem fs,
Table.ID tableId,
org.apache.hadoop.fs.Path dirPath,
Executor executor,
ClientContext context) |
static boolean |
Tables.exists(ClientContext context,
Table.ID tableId) |
KeyExtent |
Bulk.Mapping.getKeyExtent(Table.ID tableId) |
static TabletLocator |
TabletLocator.getLocator(ClientContext context,
Table.ID tableId) |
static Namespace.ID |
Tables.getNamespaceId(ClientContext context,
Table.ID tableId)
Returns the namespace id for a given table ID.
|
static String |
Tables.getPrintableTableInfoFromId(ClientContext context,
Table.ID tableId) |
static String |
Tables.getTableName(ClientContext context,
Table.ID tableId) |
static String |
Tables.getTableOfflineMsg(ClientContext context,
Table.ID tableId) |
static TableState |
Tables.getTableState(ClientContext context,
Table.ID tableId) |
static TableState |
Tables.getTableState(ClientContext context,
Table.ID tableId,
boolean clearCachedState)
Get the current state of the table using the tableid.
|
static BulkSerialize.LoadMappingIterator |
BulkSerialize.getUpdatedLoadMapping(String bulkDir,
Table.ID tableId,
BulkSerialize.Input input)
Read in both maps and change all the file names in the mapping to the new names.
|
static BulkSerialize.LoadMappingIterator |
BulkSerialize.readLoadMapping(String bulkDir,
Table.ID tableId,
BulkSerialize.Input input)
Read Json array of Bulk.Mapping into LoadMappingIterator
|
KeyExtent |
Bulk.Tablet.toKeyExtent(Table.ID tableId) |
static KeyExtent |
Bulk.toKeyExtent(Table.ID tableId,
Bulk.Tablet tablet) |
Modifier and Type | Method and Description |
---|---|
Table.ID |
KeyExtent.getTableId()
Returns the extent's table id
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.io.Text |
KeyExtent.getMetadataEntry(Table.ID tableId,
org.apache.hadoop.io.Text endRow) |
void |
KeyExtent.setTableId(Table.ID tId)
Sets the extents table id
|
Constructor and Description |
---|
KeyExtent(Table.ID table,
org.apache.hadoop.io.Text endRow,
org.apache.hadoop.io.Text prevEndRow) |
Modifier and Type | Field and Description |
---|---|
static Table.ID |
RootTable.ID |
static Table.ID |
MetadataTable.ID |
Modifier and Type | Method and Description |
---|---|
abstract Table.ID |
MetadataServicer.getServicedTableId() |
Modifier and Type | Method and Description |
---|---|
static MetadataServicer |
MetadataServicer.forTableId(ClientContext context,
Table.ID tableId) |
Modifier and Type | Method and Description |
---|---|
Table.ID |
TabletMetadata.getTableId() |
static Table.ID |
MetadataSchema.ReplicationSection.getTableId(Key k)
Extract the table ID from the colfam
|
Modifier and Type | Method and Description |
---|---|
static Range |
MetadataSchema.TabletsSection.getRange(Table.ID tableId) |
static org.apache.hadoop.io.Text |
MetadataSchema.TabletsSection.getRow(Table.ID tableId,
org.apache.hadoop.io.Text endRow) |
MetadataScanner.Options |
MetadataScanner.RangeOptions.overRange(Table.ID tableId) |
MetadataScanner.Options |
MetadataScanner.RangeOptions.overRange(Table.ID tableId,
org.apache.hadoop.io.Text startRow,
org.apache.hadoop.io.Text endRow) |
Modifier and Type | Field and Description |
---|---|
static Table.ID |
ReplicationTable.ID |
Modifier and Type | Method and Description |
---|---|
Table.ID |
ReplicationTarget.getSourceTableId() |
static Table.ID |
ReplicationSchema.StatusSection.getTableId(Key k)
Extract the table ID from the key (inefficiently if called repeatedly)
|
Modifier and Type | Method and Description |
---|---|
static Mutation |
ReplicationSchema.StatusSection.add(Mutation m,
Table.ID tableId,
Value v) |
static Mutation |
ReplicationSchema.OrderSection.add(Mutation m,
Table.ID tableId,
Value v)
Add a column update to the given mutation with the provided tableId and value
|
void |
ReplicationTarget.setSourceTableId(Table.ID sourceTableId) |
Constructor and Description |
---|
ReplicationTarget(String peerName,
String remoteIdentifier,
Table.ID sourceTableId) |
Modifier and Type | Method and Description |
---|---|
static Table.ID |
ByteBufferUtil.toTableId(ByteBuffer bytes) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.