Interface TabletClientService.AsyncIface
-
- All Known Implementing Classes:
TabletClientService.AsyncClient
- Enclosing class:
- TabletClientService
public static interface TabletClientService.AsyncIface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<List<TKeyExtent>> resultHandler)
void
chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
closeConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<UpdateErrors> resultHandler)
void
compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
compactionJobFailed(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
compactionJobFinished(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, long fileSize, long entries, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols, org.apache.thrift.async.AsyncMethodCallback<List<TCMResult>> resultHandler)
void
contiuneGetSummaries(TInfo tinfo, long sessionId, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler)
void
fastHalt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<ActiveCompaction>> resultHandler)
void
getActiveLogs(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler)
void
getCompactionQueueInfo(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<TCompactionQueueSummary>> resultHandler)
void
getHistoricalStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletStats> resultHandler)
void
getTabletServerStatus(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletServerStatus> resultHandler)
void
getTabletStats(TInfo tinfo, TCredentials credentials, String tableId, org.apache.thrift.async.AsyncMethodCallback<List<TabletStats>> resultHandler)
void
halt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
invalidateConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
loadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
reserveCompactionJob(TInfo tinfo, TCredentials credentials, String queueName, long priority, String compactor, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionJob> resultHandler)
void
splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext, org.apache.thrift.async.AsyncMethodCallback<TConditionalSession> resultHandler)
void
startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler)
void
startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler)
void
startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler)
void
startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)
void
unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
-
-
Method Detail
-
startUpdate
void startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
applyUpdates
void applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
closeUpdate
void closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<UpdateErrors> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
update
void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
startConditionalUpdate
void startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext, org.apache.thrift.async.AsyncMethodCallback<TConditionalSession> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
conditionalUpdate
void conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols, org.apache.thrift.async.AsyncMethodCallback<List<TCMResult>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
invalidateConditionalUpdate
void invalidateConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
closeConditionalUpdate
void closeConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
bulkImport
void bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<List<TKeyExtent>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
loadFiles
void loadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
splitTablet
void splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
loadTablet
void loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) 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, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) 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, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
flushTablet
void flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
chop
void chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) 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, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getTabletServerStatus
void getTabletServerStatus(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletServerStatus> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getTabletStats
void getTabletStats(TInfo tinfo, TCredentials credentials, String tableId, org.apache.thrift.async.AsyncMethodCallback<List<TabletStats>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getHistoricalStats
void getHistoricalStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletStats> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
halt
void halt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
fastHalt
void fastHalt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveCompactions
void getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<ActiveCompaction>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
removeLogs
void removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getActiveLogs
void getActiveLogs(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
startGetSummaries
void startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
startGetSummariesForPartition
void startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
startGetSummariesFromFiles
void startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
contiuneGetSummaries
void contiuneGetSummaries(TInfo tinfo, long sessionId, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getCompactionQueueInfo
void getCompactionQueueInfo(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<TCompactionQueueSummary>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
reserveCompactionJob
void reserveCompactionJob(TInfo tinfo, TCredentials credentials, String queueName, long priority, String compactor, String externalCompactionId, org.apache.thrift.async.AsyncMethodCallback<TExternalCompactionJob> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
compactionJobFinished
void compactionJobFinished(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, long fileSize, long entries, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
compactionJobFailed
void compactionJobFailed(TInfo tinfo, TCredentials credentials, String externalCompactionId, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-