public class RootTabletLocator extends TabletLocator
TabletLocator.TabletLocation, TabletLocator.TabletLocations, TabletLocator.TabletServerMutations<T extends Mutation>| Modifier and Type | Method and Description |
|---|---|
<T extends Mutation> |
binMutations(Credentials credentials,
List<T> mutations,
Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations,
List<T> failures) |
List<Range> |
binRanges(Credentials credentials,
List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges) |
protected TabletLocator.TabletLocation |
getRootTabletLocation() |
void |
invalidateCache()
Invalidate entire cache
|
void |
invalidateCache(Collection<KeyExtent> keySet) |
void |
invalidateCache(KeyExtent failedExtent) |
void |
invalidateCache(String server)
Invalidate all metadata entries that point to server
|
TabletLocator.TabletLocation |
locateTablet(Credentials credentials,
org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry) |
getLocatorpublic <T extends Mutation> void binMutations(Credentials credentials, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
binMutations in class TabletLocatorAccumuloExceptionAccumuloSecurityExceptionTableNotFoundExceptionpublic List<Range> binRanges(Credentials credentials, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
binRanges in class TabletLocatorAccumuloExceptionAccumuloSecurityExceptionTableNotFoundExceptionpublic void invalidateCache(KeyExtent failedExtent)
invalidateCache in class TabletLocatorpublic void invalidateCache(Collection<KeyExtent> keySet)
invalidateCache in class TabletLocatorpublic void invalidateCache(String server)
TabletLocatorinvalidateCache in class TabletLocatorpublic void invalidateCache()
TabletLocatorinvalidateCache in class TabletLocatorprotected TabletLocator.TabletLocation getRootTabletLocation()
public TabletLocator.TabletLocation locateTablet(Credentials credentials, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
locateTablet in class TabletLocatorAccumuloExceptionAccumuloSecurityExceptionTableNotFoundExceptionCopyright © 2014 Apache Accumulo Project. All rights reserved.