org.apache.accumulo.core.metadata
public class MetadataLocationObtainer extends Object implements TabletLocatorImpl.TabletLocationObtainer
Constructor and Description |
---|
MetadataLocationObtainer(Instance instance) |
Modifier and Type | Method and Description |
---|---|
static TabletLocator.TabletLocations |
getMetadataLocationEntries(SortedMap<Key,Value> entries) |
TabletLocator.TabletLocations |
lookupTablet(Credentials credentials,
TabletLocator.TabletLocation src,
org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text stopRow,
TabletLocator parent) |
List<TabletLocator.TabletLocation> |
lookupTablets(Credentials credentials,
String tserver,
Map<KeyExtent,List<Range>> tabletsRanges,
TabletLocator parent) |
public MetadataLocationObtainer(Instance instance)
public TabletLocator.TabletLocations lookupTablet(Credentials credentials, TabletLocator.TabletLocation src, org.apache.hadoop.io.Text row, org.apache.hadoop.io.Text stopRow, TabletLocator parent) throws AccumuloSecurityException, AccumuloException
lookupTablet
in interface TabletLocatorImpl.TabletLocationObtainer
AccumuloSecurityException
AccumuloException
public List<TabletLocator.TabletLocation> lookupTablets(Credentials credentials, String tserver, Map<KeyExtent,List<Range>> tabletsRanges, TabletLocator parent) throws AccumuloSecurityException, AccumuloException
lookupTablets
in interface TabletLocatorImpl.TabletLocationObtainer
AccumuloSecurityException
AccumuloException
public static TabletLocator.TabletLocations getMetadataLocationEntries(SortedMap<Key,Value> entries)
Copyright © 2015 Apache Accumulo Project. All rights reserved.