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 |
Constructor and Description |
---|
TabletLocator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
binMutations(List<Mutation> mutations,
Map<String,TabletLocator.TabletServerMutations> binnedMutations,
List<Mutation> failures,
TCredentials credentials) |
abstract List<Range> |
binRanges(List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges,
TCredentials credentials) |
static TabletLocator |
getInstance(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(org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry,
TCredentials credentials) |
public abstract TabletLocator.TabletLocation locateTablet(org.apache.hadoop.io.Text row, boolean skipRow, boolean retry, TCredentials credentials) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public abstract void binMutations(List<Mutation> mutations, Map<String,TabletLocator.TabletServerMutations> binnedMutations, List<Mutation> failures, TCredentials credentials) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public abstract List<Range> binRanges(List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges, TCredentials credentials) 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 TabletLocator getInstance(Instance instance, org.apache.hadoop.io.Text tableId)
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.