static TableId |
Tables._getTableId(ClientContext context,
String tableName) |
Lookup table ID in ZK.
|
protected TabletLocator.TabletLocation |
TabletLocatorImpl._locateTablet(ClientContext context,
org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry,
boolean lock,
org.apache.accumulo.core.clientImpl.TabletLocatorImpl.LockCheckerSession lcSession) |
|
<T extends Mutation> void |
RootTabletLocator.binMutations(ClientContext context,
List<T> mutations,
Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations,
List<T> failures) |
|
<T extends Mutation> void |
SyncingTabletLocator.binMutations(ClientContext context,
List<T> mutations,
Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations,
List<T> failures) |
|
abstract <T extends Mutation> void |
TabletLocator.binMutations(ClientContext context,
List<T> mutations,
Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations,
List<T> failures) |
|
<T extends Mutation> void |
TabletLocatorImpl.binMutations(ClientContext context,
List<T> mutations,
Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations,
List<T> failures) |
|
<T extends Mutation> void |
TimeoutTabletLocator.binMutations(ClientContext context,
List<T> mutations,
Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations,
List<T> failures) |
|
List<Range> |
RootTabletLocator.binRanges(ClientContext context,
List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges) |
|
List<Range> |
SyncingTabletLocator.binRanges(ClientContext context,
List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges) |
|
abstract List<Range> |
TabletLocator.binRanges(ClientContext context,
List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges) |
|
List<Range> |
TabletLocatorImpl.binRanges(ClientContext context,
List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges) |
|
List<Range> |
TimeoutTabletLocator.binRanges(ClientContext context,
List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges) |
|
static void |
Tables.clearCache(ClientContext context) |
|
static void |
Tables.clearCacheByPath(ClientContext context,
String zooPath) |
Clears the zoo cache from instance/root/{PATH}
|
static void |
TabletServerBatchReaderIterator.doLookup(ClientContext context,
String server,
Map<KeyExtent,List<Range>> requested,
Map<KeyExtent,List<Range>> failures,
Map<KeyExtent,List<Range>> unscanned,
TabletServerBatchReaderIterator.ResultReceiver receiver,
List<Column> columns,
ScannerOptions options,
Authorizations authorizations) |
|
static <T> T |
MasterClient.execute(ClientContext context,
ClientExecReturn<T,MasterClientService.Client> exec) |
|
static <T> T |
ServerClient.execute(ClientContext context,
ClientExecReturn<T,ClientService.Client> exec) |
|
static <CT extends org.apache.thrift.TServiceClient,RT> RT |
ServerClient.execute(ClientContext context,
org.apache.thrift.TServiceClientFactory<CT> factory,
ClientExecReturn<RT,CT> exec) |
|
static <T> T |
ReplicationClient.executeCoordinatorWithReturn(ClientContext context,
ClientExecReturn<T,ReplicationCoordinator.Client> exec) |
|
static void |
MasterClient.executeGeneric(ClientContext context,
ClientExec<MasterClientService.Client> exec) |
|
static void |
MasterClient.executeNamespace(ClientContext context,
ClientExec<MasterClientService.Client> exec) |
|
static <T> T |
ServerClient.executeRaw(ClientContext context,
ClientExecReturn<T,ClientService.Client> exec) |
|
static <CT extends org.apache.thrift.TServiceClient,RT> RT |
ServerClient.executeRaw(ClientContext context,
org.apache.thrift.TServiceClientFactory<CT> factory,
ClientExecReturn<RT,CT> exec) |
|
static void |
ServerClient.executeRawVoid(ClientContext context,
ClientExec<ClientService.Client> exec) |
|
static <T> T |
ReplicationClient.executeServicerWithReturn(ClientContext context,
HostAndPort tserver,
ClientExecReturn<T,ReplicationServicer.Client> exec,
long timeout) |
|
static void |
MasterClient.executeTable(ClientContext context,
ClientExec<MasterClientService.Client> exec) |
|
static void |
MasterClient.executeVoid(ClientContext context,
ClientExec<MasterClientService.Client> exec) |
|
static void |
ServerClient.executeVoid(ClientContext context,
ClientExec<ClientService.Client> exec) |
|
static boolean |
Namespaces.exists(ClientContext context,
NamespaceId namespaceId) |
|
static boolean |
Tables.exists(ClientContext context,
TableId tableId) |
|
static boolean |
ThriftScanner.getBatchFromServer(ClientContext context,
Range range,
KeyExtent extent,
String server,
SortedMap<Key,Value> results,
SortedSet<Column> fetchedColumns,
List<IterInfo> serverSideIteratorList,
Map<String,Map<String,String>> serverSideIteratorOptions,
int size,
Authorizations authorizations,
long batchTimeOut,
String classLoaderContext) |
|
static MasterClientService.Client |
MasterClient.getConnection(ClientContext context) |
|
static Pair<String,ClientService.Client> |
ServerClient.getConnection(ClientContext context) |
|
static Pair<String,ClientService.Client> |
ServerClient.getConnection(ClientContext context,
boolean preferCachedConnections) |
|
static Pair<String,ClientService.Client> |
ServerClient.getConnection(ClientContext context,
boolean preferCachedConnections,
long rpcTimeout) |
|
static <CT extends org.apache.thrift.TServiceClient> Pair<String,CT> |
ServerClient.getConnection(ClientContext context,
org.apache.thrift.TServiceClientFactory<CT> factory) |
|
static <CT extends org.apache.thrift.TServiceClient> Pair<String,CT> |
ServerClient.getConnection(ClientContext context,
org.apache.thrift.TServiceClientFactory<CT> factory,
boolean preferCachedConnections,
long rpcTimeout) |
|
static MasterClientService.Client |
MasterClient.getConnectionWithRetry(ClientContext context) |
|
static ReplicationCoordinator.Client |
ReplicationClient.getCoordinatorConnection(ClientContext context) |
|
static ReplicationCoordinator.Client |
ReplicationClient.getCoordinatorConnectionWithRetry(ClientContext context) |
|
static SortedMap<NamespaceId,String> |
Namespaces.getIdToNameMap(ClientContext context) |
Return sorted map with key = ID, value = namespaceName
|
static Map<TableId,String> |
Tables.getIdToNameMap(ClientContext context) |
|
static TabletLocator |
TabletLocator.getLocator(ClientContext context,
TableId tableId) |
|
static NamespaceId |
Namespaces.getNamespaceId(ClientContext context,
String namespaceName) |
Look for namespace ID in ZK.
|
static NamespaceId |
Tables.getNamespaceId(ClientContext context,
TableId tableId) |
Returns the namespace id for a given table ID.
|
static String |
Namespaces.getNamespaceName(ClientContext context,
NamespaceId namespaceId) |
Look for namespace name in ZK.
|
static SortedMap<String,NamespaceId> |
Namespaces.getNameToIdMap(ClientContext context) |
Return sorted map with key = namespaceName, value = ID
|
static Map<String,TableId> |
Tables.getNameToIdMap(ClientContext context) |
|
static String |
Tables.getPrintableTableInfoFromId(ClientContext context,
TableId tableId) |
|
static String |
Tables.getPrintableTableInfoFromName(ClientContext context,
String tableName) |
|
protected TabletLocator.TabletLocation |
RootTabletLocator.getRootTabletLocation(ClientContext context) |
|
static ReplicationServicer.Client |
ReplicationClient.getServicerConnection(ClientContext context,
HostAndPort server,
long timeout) |
Attempt a single time to create a ReplicationServicer client to the given host
|
static TableId |
Tables.getTableId(ClientContext context,
String tableName) |
Lookup table ID in ZK.
|
static List<TableId> |
Namespaces.getTableIds(ClientContext context,
NamespaceId namespaceId) |
|
static String |
Tables.getTableName(ClientContext context,
TableId tableId) |
|
static List<String> |
Namespaces.getTableNames(ClientContext context,
NamespaceId namespaceId) |
|
static String |
Tables.getTableOfflineMsg(ClientContext context,
TableId tableId) |
|
static TableState |
Tables.getTableState(ClientContext context,
TableId tableId) |
|
static TableState |
Tables.getTableState(ClientContext context,
TableId tableId,
boolean clearCachedState) |
Get the current state of the table using the tableid.
|
org.apache.thrift.transport.TTransport |
ThriftTransportPool.getTransport(HostAndPort location,
long milliseconds,
ClientContext context) |
|
void |
RootTabletLocator.invalidateCache(ClientContext context,
String server) |
|
void |
SyncingTabletLocator.invalidateCache(ClientContext context,
String server) |
|
abstract void |
TabletLocator.invalidateCache(ClientContext context,
String server) |
Invalidate all metadata entries that point to server
|
void |
TabletLocatorImpl.invalidateCache(ClientContext context,
String server) |
|
TabletLocator.TabletLocation |
RootTabletLocator.locateTablet(ClientContext context,
org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry) |
|
TabletLocator.TabletLocation |
SyncingTabletLocator.locateTablet(ClientContext context,
org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry) |
|
abstract TabletLocator.TabletLocation |
TabletLocator.locateTablet(ClientContext context,
org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry) |
|
TabletLocator.TabletLocation |
TabletLocatorImpl.locateTablet(ClientContext context,
org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry) |
|
TabletLocator.TabletLocation |
TimeoutTabletLocator.locateTablet(ClientContext context,
org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry) |
|
static NamespaceId |
Namespaces.lookupNamespaceId(ClientContext context,
String namespaceName) |
Look for namespace ID in ZK.
|
TabletLocator.TabletLocations |
TabletLocatorImpl.TabletLocationObtainer.lookupTablet(ClientContext context,
TabletLocator.TabletLocation src,
org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text stopRow,
TabletLocator parent) |
|
List<TabletLocator.TabletLocation> |
TabletLocatorImpl.TabletLocationObtainer.lookupTablets(ClientContext context,
String tserver,
Map<KeyExtent,List<Range>> map,
TabletLocator parent) |
|
static boolean |
Namespaces.namespaceNameExists(ClientContext context,
String namespaceName) |
Return true if namespace name exists
|
static List<KeyValue> |
ThriftScanner.scan(ClientContext context,
ThriftScanner.ScanState scanState,
long timeOut) |
|