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 voidapplyUpdates(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)voidchop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent)voidcloseConditionalUpdate(TInfo tinfo, long sessID)voidcloseMultiScan(TInfo tinfo, long scanID)voidcloseScan(TInfo tinfo, long scanID)UpdateErrorscloseUpdate(TInfo tinfo, long updateID)voidcompact(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)MultiScanResultcontinueMultiScan(TInfo tinfo, long scanID)ScanResultcontinueScan(TInfo tinfo, long scanID)TSummariescontiuneGetSummaries(TInfo tinfo, long sessionId)voidfastHalt(TInfo tinfo, TCredentials credentials, String lock)voidflush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)voidflushTablet(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)TabletStatsgetHistoricalStats(TInfo tinfo, TCredentials credentials)TabletServerStatusgetTabletServerStatus(TInfo tinfo, TCredentials credentials)List<TabletStats>getTabletStats(TInfo tinfo, TCredentials credentials, String tableId)voidhalt(TInfo tinfo, TCredentials credentials, String lock)voidinvalidateConditionalUpdate(TInfo tinfo, long sessID)voidloadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime)voidloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent)voidremoveLogs(TInfo tinfo, TCredentials credentials, List<String> filenames)voidsplitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint)TConditionalSessionstartConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext)TSummariesstartGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request)TSummariesstartGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder)TSummariesstartGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files)InitialMultiScanstartMultiScan(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)InitialScanstartScan(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)longstartUpdate(TInfo tinfo, TCredentials credentials, TDurability durability)voidunloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime)voidupdate(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:
ThriftSecurityExceptionNotServingTabletExceptionTooManyFilesExceptionTSampleNotPresentExceptionorg.apache.thrift.TException
-
continueScan
ScanResult continueScan(TInfo tinfo, long scanID) throws NoSuchScanIDException, NotServingTabletException, TooManyFilesException, TSampleNotPresentException, org.apache.thrift.TException
- Throws:
NoSuchScanIDExceptionNotServingTabletExceptionTooManyFilesExceptionTSampleNotPresentExceptionorg.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:
ThriftSecurityExceptionTSampleNotPresentExceptionorg.apache.thrift.TException
-
continueMultiScan
MultiScanResult continueMultiScan(TInfo tinfo, long scanID) throws NoSuchScanIDException, TSampleNotPresentException, org.apache.thrift.TException
- Throws:
NoSuchScanIDExceptionTSampleNotPresentExceptionorg.apache.thrift.TException
-
closeMultiScan
void closeMultiScan(TInfo tinfo, long scanID) throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDExceptionorg.apache.thrift.TException
-
startUpdate
long startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityExceptionorg.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:
NoSuchScanIDExceptionorg.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:
ThriftSecurityExceptionNotServingTabletExceptionConstraintViolationExceptionorg.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:
ThriftSecurityExceptionorg.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:
NoSuchScanIDExceptionorg.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:
ThriftSecurityExceptionorg.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:
ThriftSecurityExceptionNotServingTabletExceptionorg.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:
ThriftSecurityExceptionorg.apache.thrift.TException
-
getTabletStats
List<TabletStats> getTabletStats(TInfo tinfo, TCredentials credentials, String tableId) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityExceptionorg.apache.thrift.TException
-
getHistoricalStats
TabletStats getHistoricalStats(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityExceptionorg.apache.thrift.TException
-
halt
void halt(TInfo tinfo, TCredentials credentials, String lock) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityExceptionorg.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:
ThriftSecurityExceptionorg.apache.thrift.TException
-
getActiveCompactions
List<ActiveCompaction> getActiveCompactions(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityExceptionorg.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:
ThriftSecurityExceptionThriftTableOperationExceptionorg.apache.thrift.TException
-
startGetSummariesForPartition
TSummaries startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityExceptionorg.apache.thrift.TException
-
startGetSummariesFromFiles
TSummaries startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files) throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityExceptionorg.apache.thrift.TException
-
contiuneGetSummaries
TSummaries contiuneGetSummaries(TInfo tinfo, long sessionId) throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDExceptionorg.apache.thrift.TException
-
-