org.apache.accumulo.core.util
Class MetadataTable

java.lang.Object
  extended by org.apache.accumulo.core.util.MetadataTable
Direct Known Subclasses:
MetadataTable

public class MetadataTable
extends Object


Nested Class Summary
static class MetadataTable.DataFileValue
           
 
Constructor Summary
MetadataTable()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataTable

public MetadataTable()
Method Detail

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(SortedMap<Key,Value> tabletKeyValues,
                                                                                              List<ColumnFQ> columns)

getEntries

public static void getEntries(Instance instance,
                              TCredentials 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 © 2013 Apache Accumulo Project. All Rights Reserved.