public class MetadataLocationObtainer extends Object implements TabletLocatorImpl.TabletLocationObtainer
Constructor and Description |
---|
MetadataLocationObtainer() |
Modifier and Type | Method and Description |
---|---|
static TabletLocator.TabletLocations |
getMetadataLocationEntries(SortedMap<Key,Value> entries) |
TabletLocator.TabletLocations |
lookupTablet(ClientContext context,
TabletLocator.TabletLocation src,
org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text stopRow,
TabletLocator parent) |
List<TabletLocator.TabletLocation> |
lookupTablets(ClientContext context,
String tserver,
Map<KeyExtent,List<Range>> tabletsRanges,
TabletLocator parent) |
public TabletLocator.TabletLocations lookupTablet(ClientContext context, 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(ClientContext context, 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 © 2011–2019 The Apache Software Foundation. All rights reserved.