Class TabletClientService.Client
- java.lang.Object
-
- org.apache.thrift.TServiceClient
-
- org.apache.accumulo.core.tabletserver.thrift.TabletClientService.Client
-
- All Implemented Interfaces:
TabletClientService.Iface
- Enclosing class:
- TabletClientService
public static class TabletClientService.Client extends org.apache.thrift.TServiceClient implements TabletClientService.Iface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TabletClientService.Client.Factory
-
Method Summary
-
-
-
Method Detail
-
startUpdate
public long startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
startUpdate
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_startUpdate
public void send_startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_startUpdate
public long recv_startUpdate() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
applyUpdates
public void applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations) throws org.apache.thrift.TException
- Specified by:
applyUpdates
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_applyUpdates
public void send_applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
closeUpdate
public UpdateErrors closeUpdate(TInfo tinfo, long updateID) throws NoSuchScanIDException, org.apache.thrift.TException
- Specified by:
closeUpdate
in interfaceTabletClientService.Iface
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
send_closeUpdate
public void send_closeUpdate(TInfo tinfo, long updateID) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_closeUpdate
public UpdateErrors recv_closeUpdate() throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
update
public void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability) throws ThriftSecurityException, NotServingTabletException, ConstraintViolationException, org.apache.thrift.TException
- Specified by:
update
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
NotServingTabletException
ConstraintViolationException
org.apache.thrift.TException
-
send_update
public void send_update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_update
public void recv_update() throws ThriftSecurityException, NotServingTabletException, ConstraintViolationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
NotServingTabletException
ConstraintViolationException
org.apache.thrift.TException
-
startConditionalUpdate
public TConditionalSession startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
startConditionalUpdate
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_startConditionalUpdate
public void send_startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_startConditionalUpdate
public TConditionalSession recv_startConditionalUpdate() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
conditionalUpdate
public List<TCMResult> conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols) throws NoSuchScanIDException, org.apache.thrift.TException
- Specified by:
conditionalUpdate
in interfaceTabletClientService.Iface
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
send_conditionalUpdate
public void send_conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_conditionalUpdate
public List<TCMResult> recv_conditionalUpdate() throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
invalidateConditionalUpdate
public void invalidateConditionalUpdate(TInfo tinfo, long sessID) throws org.apache.thrift.TException
- Specified by:
invalidateConditionalUpdate
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_invalidateConditionalUpdate
public void send_invalidateConditionalUpdate(TInfo tinfo, long sessID) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_invalidateConditionalUpdate
public void recv_invalidateConditionalUpdate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
closeConditionalUpdate
public void closeConditionalUpdate(TInfo tinfo, long sessID) throws org.apache.thrift.TException
- Specified by:
closeConditionalUpdate
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_closeConditionalUpdate
public void send_closeConditionalUpdate(TInfo tinfo, long sessID) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
bulkImport
public List<TKeyExtent> bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
bulkImport
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_bulkImport
public void send_bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_bulkImport
public List<TKeyExtent> recv_bulkImport() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
loadFiles
public void loadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime) throws org.apache.thrift.TException
- Specified by:
loadFiles
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_loadFiles
public void send_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
public void splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint) throws ThriftSecurityException, NotServingTabletException, org.apache.thrift.TException
- Specified by:
splitTablet
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
NotServingTabletException
org.apache.thrift.TException
-
send_splitTablet
public void send_splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_splitTablet
public void recv_splitTablet() throws ThriftSecurityException, NotServingTabletException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
NotServingTabletException
org.apache.thrift.TException
-
loadTablet
public void loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Specified by:
loadTablet
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_loadTablet
public void send_loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unloadTablet
public void unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime) throws org.apache.thrift.TException
- Specified by:
unloadTablet
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_unloadTablet
public void send_unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
flush
public void flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
- Specified by:
flush
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_flush
public void send_flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
flushTablet
public void flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Specified by:
flushTablet
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_flushTablet
public void send_flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
chop
public void chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Specified by:
chop
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_chop
public void send_chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
compact
public void compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
- Specified by:
compact
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_compact
public void send_compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getTabletServerStatus
public TabletServerStatus getTabletServerStatus(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
getTabletServerStatus
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_getTabletServerStatus
public void send_getTabletServerStatus(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getTabletServerStatus
public TabletServerStatus recv_getTabletServerStatus() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
getTabletStats
public List<TabletStats> getTabletStats(TInfo tinfo, TCredentials credentials, String tableId) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
getTabletStats
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_getTabletStats
public void send_getTabletStats(TInfo tinfo, TCredentials credentials, String tableId) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getTabletStats
public List<TabletStats> recv_getTabletStats() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
getHistoricalStats
public TabletStats getHistoricalStats(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
getHistoricalStats
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_getHistoricalStats
public void send_getHistoricalStats(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getHistoricalStats
public TabletStats recv_getHistoricalStats() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
halt
public void halt(TInfo tinfo, TCredentials credentials, String lock) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
halt
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_halt
public void send_halt(TInfo tinfo, TCredentials credentials, String lock) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_halt
public void recv_halt() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
fastHalt
public void fastHalt(TInfo tinfo, TCredentials credentials, String lock) throws org.apache.thrift.TException
- Specified by:
fastHalt
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_fastHalt
public void send_fastHalt(TInfo tinfo, TCredentials credentials, String lock) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveCompactions
public List<ActiveCompaction> getActiveCompactions(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
getActiveCompactions
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_getActiveCompactions
public void send_getActiveCompactions(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getActiveCompactions
public List<ActiveCompaction> recv_getActiveCompactions() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
removeLogs
public void removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames) throws org.apache.thrift.TException
- Specified by:
removeLogs
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_removeLogs
public void send_removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveLogs
public List<String> getActiveLogs(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Specified by:
getActiveLogs
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_getActiveLogs
public void send_getActiveLogs(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getActiveLogs
public List<String> recv_getActiveLogs() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
startGetSummaries
public TSummaries startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
startGetSummaries
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_startGetSummaries
public void send_startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_startGetSummaries
public TSummaries recv_startGetSummaries() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
startGetSummariesForPartition
public TSummaries startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
startGetSummariesForPartition
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_startGetSummariesForPartition
public void send_startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_startGetSummariesForPartition
public TSummaries recv_startGetSummariesForPartition() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
startGetSummariesFromFiles
public TSummaries startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
startGetSummariesFromFiles
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_startGetSummariesFromFiles
public void send_startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_startGetSummariesFromFiles
public TSummaries recv_startGetSummariesFromFiles() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
contiuneGetSummaries
public TSummaries contiuneGetSummaries(TInfo tinfo, long sessionId) throws NoSuchScanIDException, org.apache.thrift.TException
- Specified by:
contiuneGetSummaries
in interfaceTabletClientService.Iface
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
send_contiuneGetSummaries
public void send_contiuneGetSummaries(TInfo tinfo, long sessionId) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_contiuneGetSummaries
public TSummaries recv_contiuneGetSummaries() throws NoSuchScanIDException, org.apache.thrift.TException
- Throws:
NoSuchScanIDException
org.apache.thrift.TException
-
getCompactionQueueInfo
public List<TCompactionQueueSummary> getCompactionQueueInfo(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
getCompactionQueueInfo
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_getCompactionQueueInfo
public void send_getCompactionQueueInfo(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getCompactionQueueInfo
public List<TCompactionQueueSummary> recv_getCompactionQueueInfo() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
reserveCompactionJob
public TExternalCompactionJob reserveCompactionJob(TInfo tinfo, TCredentials credentials, String queueName, long priority, String compactor, String externalCompactionId) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
reserveCompactionJob
in interfaceTabletClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_reserveCompactionJob
public void send_reserveCompactionJob(TInfo tinfo, TCredentials credentials, String queueName, long priority, String compactor, String externalCompactionId) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_reserveCompactionJob
public TExternalCompactionJob recv_reserveCompactionJob() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
compactionJobFinished
public void compactionJobFinished(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, long fileSize, long entries) throws org.apache.thrift.TException
- Specified by:
compactionJobFinished
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_compactionJobFinished
public void send_compactionJobFinished(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, long fileSize, long entries) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
compactionJobFailed
public void compactionJobFailed(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent) throws org.apache.thrift.TException
- Specified by:
compactionJobFailed
in interfaceTabletClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_compactionJobFailed
public void send_compactionJobFailed(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-