Interface TabletClientService.Iface
-
- All Superinterfaces:
ClientService.Iface
- All Known Implementing Classes:
TabletClientService.Client
- Enclosing class:
- TabletClientService
public static interface TabletClientService.Iface extends ClientService.Iface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations)
List<TKeyExtent>
bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime)
void
chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent)
void
closeConditionalUpdate(TInfo tinfo, long sessID)
void
closeMultiScan(TInfo tinfo, long scanID)
void
closeScan(TInfo tinfo, long scanID)
UpdateErrors
closeUpdate(TInfo tinfo, long updateID)
void
compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
List<TCMResult>
conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols)
MultiScanResult
continueMultiScan(TInfo tinfo, long scanID)
ScanResult
continueScan(TInfo tinfo, long scanID)
TSummaries
contiuneGetSummaries(TInfo tinfo, long sessionId)
void
fastHalt(TInfo tinfo, TCredentials credentials, String lock)
void
flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
void
flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent)
List<ActiveCompaction>
getActiveCompactions(TInfo tinfo, TCredentials credentials)
List<String>
getActiveLogs(TInfo tinfo, TCredentials credentials)
List<ActiveScan>
getActiveScans(TInfo tinfo, TCredentials credentials)
TabletStats
getHistoricalStats(TInfo tinfo, TCredentials credentials)
TabletServerStatus
getTabletServerStatus(TInfo tinfo, TCredentials credentials)
List<TabletStats>
getTabletStats(TInfo tinfo, TCredentials credentials, String tableId)
void
halt(TInfo tinfo, TCredentials credentials, String lock)
void
invalidateConditionalUpdate(TInfo tinfo, long sessID)
void
loadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime)
void
loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent)
void
removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames)
void
splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint)
TConditionalSession
startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext)
TSummaries
startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request)
TSummaries
startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder)
TSummaries
startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files)
InitialMultiScan
startMultiScan(TInfo tinfo, TCredentials credentials, Map<TKeyExtent,List<TRange>> batch, List<TColumn> columns, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, TSamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints)
InitialScan
startScan(TInfo tinfo, TCredentials credentials, TKeyExtent extent, TRange range, List<TColumn> columns, int batchSize, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, long readaheadThreshold, TSamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints)
long
startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability)
void
unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime)
void
update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability)
-
Methods inherited from interface org.apache.accumulo.core.clientImpl.thrift.ClientService.Iface
authenticate, authenticateUser, bulkImportFiles, changeAuthorizations, changeLocalUserPassword, checkClass, checkNamespaceClass, checkTableClass, createLocalUser, dropLocalUser, getConfiguration, getDiskUsage, getInstanceId, getNamespaceConfiguration, getRootTabletLocation, getTableConfiguration, getUserAuthorizations, getZooKeepers, grantNamespacePermission, grantSystemPermission, grantTablePermission, hasNamespacePermission, hasSystemPermission, hasTablePermission, isActive, listLocalUsers, ping, revokeNamespacePermission, revokeSystemPermission, revokeTablePermission
-
-
-
-
Method Detail
-
startScan
InitialScan startScan(TInfo tinfo, TCredentials credentials, TKeyExtent extent, TRange range, List<TColumn> columns, int batchSize, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, long readaheadThreshold, TSamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints) throws ThriftSecurityException, NotServingTabletException, TooManyFilesException, TSampleNotPresentException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
NotServingTabletException
TooManyFilesException
TSampleNotPresentException
org.apache.thrift.TException
-
continueScan
ScanResult continueScan(TInfo tinfo, long scanID) throws NoSuchScanIDException, NotServingTabletException, TooManyFilesException, TSampleNotPresentException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
NotServingTabletException
TooManyFilesException
TSampleNotPresentException
org.apache.thrift.TException
-
closeScan
void closeScan(TInfo tinfo, long scanID) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
startMultiScan
InitialMultiScan startMultiScan(TInfo tinfo, TCredentials credentials, Map<TKeyExtent,List<TRange>> batch, List<TColumn> columns, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, TSamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints) throws ThriftSecurityException, TSampleNotPresentException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
TSampleNotPresentException
org.apache.thrift.TException
-
continueMultiScan
MultiScanResult continueMultiScan(TInfo tinfo, long scanID) throws NoSuchScanIDException, TSampleNotPresentException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
TSampleNotPresentException
org.apache.thrift.TException
-
closeMultiScan
void closeMultiScan(TInfo tinfo, long scanID) throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
startUpdate
long startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
applyUpdates
void applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
closeUpdate
UpdateErrors closeUpdate(TInfo tinfo, long updateID) throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
update
void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability) throws ThriftSecurityException, NotServingTabletException, ConstraintViolationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
NotServingTabletException
ConstraintViolationException
org.apache.thrift.TException
-
startConditionalUpdate
TConditionalSession startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
conditionalUpdate
List<TCMResult> conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols) throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
invalidateConditionalUpdate
void invalidateConditionalUpdate(TInfo tinfo, long sessID) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
closeConditionalUpdate
void closeConditionalUpdate(TInfo tinfo, long sessID) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
bulkImport
List<TKeyExtent> bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
loadFiles
void loadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
splitTablet
void splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint) throws ThriftSecurityException, NotServingTabletException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
NotServingTabletException
org.apache.thrift.TException
-
loadTablet
void loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unloadTablet
void unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
flush
void flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
flushTablet
void flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
chop
void chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
compact
void compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getTabletServerStatus
TabletServerStatus getTabletServerStatus(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
getTabletStats
List<TabletStats> getTabletStats(TInfo tinfo, TCredentials credentials, String tableId) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
getHistoricalStats
TabletStats getHistoricalStats(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
halt
void halt(TInfo tinfo, TCredentials credentials, String lock) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
fastHalt
void fastHalt(TInfo tinfo, TCredentials credentials, String lock) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveScans
List<ActiveScan> getActiveScans(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
getActiveCompactions
List<ActiveCompaction> getActiveCompactions(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
removeLogs
void removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveLogs
List<String> getActiveLogs(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
startGetSummaries
TSummaries startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
startGetSummariesForPartition
TSummaries startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
startGetSummariesFromFiles
TSummaries startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
contiuneGetSummaries
TSummaries contiuneGetSummaries(TInfo tinfo, long sessionId) throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
-