org.apache.accumulo.core.util
Class MetadataTable

java.lang.Object
  extended by org.apache.accumulo.core.util.MetadataTable

public class MetadataTable
extends Object


Nested Class Summary
static class MetadataTable.DataFileValue
           
 
Constructor Summary
MetadataTable()
           
 
Method Summary
static void getEntries(Instance instance, AuthInfo credentials, String table, boolean isTid, Map<KeyExtent,String> locations, SortedSet<KeyExtent> tablets)
           
static SortedMap<KeyExtent,org.apache.hadoop.io.Text> 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
 

Constructor Detail

MetadataTable

public MetadataTable()
Method Detail

getMetadataLocationEntries

public static SortedMap<KeyExtent,org.apache.hadoop.io.Text> 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 © 2012 The Apache Software Foundation. All Rights Reserved.