org.apache.accumulo.core.util
public class MetadataTable extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetadataTable.DataFileValue |
Constructor and Description |
---|
MetadataTable() |
Modifier and Type | Method and Description |
---|---|
static void |
getEntries(Instance instance,
TCredentials credentials,
String table,
boolean isTid,
Map<KeyExtent,String> locations,
SortedSet<KeyExtent> tablets) |
static Pair<SortedMap<KeyExtent,org.apache.hadoop.io.Text>,List<KeyExtent>> |
getMetadataLocationEntries(SortedMap<Key,Value> entries) |
static SortedMap<org.apache.hadoop.io.Text,SortedMap<ColumnFQ,Value>> |
getTabletEntries(SortedMap<Key,Value> tabletKeyValues,
List<ColumnFQ> columns) |
static boolean |
isContiguousRange(KeyExtent ke,
SortedSet<KeyExtent> children) |
static void |
validateEntries(String tableId,
SortedSet<KeyExtent> tablets) |
public static Pair<SortedMap<KeyExtent,org.apache.hadoop.io.Text>,List<KeyExtent>> getMetadataLocationEntries(SortedMap<Key,Value> entries)
public static SortedMap<org.apache.hadoop.io.Text,SortedMap<ColumnFQ,Value>> getTabletEntries(SortedMap<Key,Value> tabletKeyValues, List<ColumnFQ> columns)
public static void getEntries(Instance instance, TCredentials credentials, String table, boolean isTid, Map<KeyExtent,String> locations, SortedSet<KeyExtent> tablets) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public static void validateEntries(String tableId, SortedSet<KeyExtent> tablets) throws AccumuloException
AccumuloException
Copyright © 2014 Apache Accumulo Project. All Rights Reserved.