org.apache.accumulo.core.util
Class MetadataTable
java.lang.Object
org.apache.accumulo.core.util.MetadataTable
public class MetadataTable
- extends Object
Method Summary |
static void |
getEntries(Instance instance,
AuthInfo 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 void |
getTabletAndPrevTabletKeyValues(Instance instance,
SortedMap<Key,Value> tkv,
KeyExtent ke,
List<ColumnFQ> columns,
AuthInfo credentials)
|
static SortedMap<org.apache.hadoop.io.Text,SortedMap<ColumnFQ,Value>> |
getTabletEntries(Instance instance,
KeyExtent ke,
List<ColumnFQ> columns,
AuthInfo credentials)
|
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataTable
public MetadataTable()
getMetadataLocationEntries
public static Pair<SortedMap<KeyExtent,org.apache.hadoop.io.Text>,List<KeyExtent>> getMetadataLocationEntries(SortedMap<Key,Value> entries)
getTabletEntries
public static SortedMap<org.apache.hadoop.io.Text,SortedMap<ColumnFQ,Value>> getTabletEntries(Instance instance,
KeyExtent ke,
List<ColumnFQ> columns,
AuthInfo credentials)
getTabletEntries
public static SortedMap<org.apache.hadoop.io.Text,SortedMap<ColumnFQ,Value>> getTabletEntries(SortedMap<Key,Value> tabletKeyValues,
List<ColumnFQ> columns)
getTabletAndPrevTabletKeyValues
public static void getTabletAndPrevTabletKeyValues(Instance instance,
SortedMap<Key,Value> tkv,
KeyExtent ke,
List<ColumnFQ> columns,
AuthInfo credentials)
getEntries
public static void getEntries(Instance instance,
AuthInfo credentials,
String table,
boolean isTid,
Map<KeyExtent,String> locations,
SortedSet<KeyExtent> tablets)
throws AccumuloException,
AccumuloSecurityException,
TableNotFoundException
- Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException
validateEntries
public static void validateEntries(String tableId,
SortedSet<KeyExtent> tablets)
throws AccumuloException
- Throws:
AccumuloException
isContiguousRange
public static boolean isContiguousRange(KeyExtent ke,
SortedSet<KeyExtent> children)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.