org.apache.accumulo.core.client.impl
public abstract class TabletLocator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TabletLocator.TabletLocation |
static class |
TabletLocator.TabletLocations |
static class |
TabletLocator.TabletServerMutations<T extends Mutation> |
Constructor and Description |
---|
TabletLocator() |
Modifier and Type | Method and Description |
---|---|
abstract <T extends Mutation> |
binMutations(Credentials credentials,
List<T> mutations,
Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations,
List<T> failures) |
abstract List<Range> |
binRanges(Credentials credentials,
List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges) |
static void |
clearLocators() |
static TabletLocator |
getLocator(Instance instance,
org.apache.hadoop.io.Text tableId) |
abstract void |
invalidateCache()
Invalidate entire cache
|
abstract void |
invalidateCache(Collection<KeyExtent> keySet) |
abstract void |
invalidateCache(KeyExtent failedExtent) |
abstract void |
invalidateCache(String server)
Invalidate all metadata entries that point to server
|
abstract TabletLocator.TabletLocation |
locateTablet(Credentials credentials,
org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry) |
public abstract TabletLocator.TabletLocation locateTablet(Credentials credentials, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public abstract <T extends Mutation> void binMutations(Credentials credentials, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public abstract List<Range> binRanges(Credentials credentials, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public abstract void invalidateCache(KeyExtent failedExtent)
public abstract void invalidateCache(Collection<KeyExtent> keySet)
public abstract void invalidateCache()
public abstract void invalidateCache(String server)
public static void clearLocators()
public static TabletLocator getLocator(Instance instance, org.apache.hadoop.io.Text tableId)
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.