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