Class TabletIngestClientService.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.tabletingest.thrift.TabletIngestClientService.AsyncClient
-
- All Implemented Interfaces:
TabletIngestClientService.AsyncIface
- Enclosing class:
- TabletIngestClientService
public static class TabletIngestClientService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements TabletIngestClientService.AsyncIface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TabletIngestClientService.AsyncClient.applyUpdates_call
static class
TabletIngestClientService.AsyncClient.closeConditionalUpdate_call
static class
TabletIngestClientService.AsyncClient.closeUpdate_call
static class
TabletIngestClientService.AsyncClient.conditionalUpdate_call
static class
TabletIngestClientService.AsyncClient.Factory
static class
TabletIngestClientService.AsyncClient.invalidateConditionalUpdate_call
static class
TabletIngestClientService.AsyncClient.loadFiles_call
static class
TabletIngestClientService.AsyncClient.startConditionalUpdate_call
static class
TabletIngestClientService.AsyncClient.startUpdate_call
static class
TabletIngestClientService.AsyncClient.update_call
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete 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
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
conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols, org.apache.thrift.async.AsyncMethodCallback<List<TCMResult>> 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,DataFileInfo>> files, boolean setTime, 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
startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)
void
update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
-
-
Method Detail
-
startUpdate
public void startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
- Specified by:
startUpdate
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
applyUpdates
public void applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
applyUpdates
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
closeUpdate
public void closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<UpdateErrors> resultHandler) throws org.apache.thrift.TException
- Specified by:
closeUpdate
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
update
public void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
update
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
startConditionalUpdate
public 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
- Specified by:
startConditionalUpdate
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
conditionalUpdate
public 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
- Specified by:
conditionalUpdate
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
invalidateConditionalUpdate
public void invalidateConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
invalidateConditionalUpdate
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
closeConditionalUpdate
public void closeConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
closeConditionalUpdate
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
loadFiles
public void loadFiles(TInfo tinfo, TCredentials credentials, long tid, String dir, Map<TKeyExtent,Map<String,DataFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
loadFiles
in interfaceTabletIngestClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
-