public class DummyAsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase> extends Object implements org.apache.hadoop.hbase.client.AsyncTable<C>
AsyncTable
.org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateBuilder, org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateWithFilterBuilder, org.apache.hadoop.hbase.client.AsyncTable.CoprocessorCallback<R>, org.apache.hadoop.hbase.client.AsyncTable.CoprocessorServiceBuilder<S,R>
Constructor and Description |
---|
DummyAsyncTable() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<org.apache.hadoop.hbase.client.Result> |
append(org.apache.hadoop.hbase.client.Append append) |
<T> List<CompletableFuture<T>> |
batch(List<? extends org.apache.hadoop.hbase.client.Row> actions) |
org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateBuilder |
checkAndMutate(byte[] row,
byte[] family) |
org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateWithFilterBuilder |
checkAndMutate(byte[] row,
org.apache.hadoop.hbase.filter.Filter filter) |
CompletableFuture<org.apache.hadoop.hbase.client.CheckAndMutateResult> |
checkAndMutate(org.apache.hadoop.hbase.client.CheckAndMutate checkAndMutate) |
List<CompletableFuture<org.apache.hadoop.hbase.client.CheckAndMutateResult>> |
checkAndMutate(List<org.apache.hadoop.hbase.client.CheckAndMutate> checkAndMutates) |
<S,R> org.apache.hadoop.hbase.client.AsyncTable.CoprocessorServiceBuilder<S,R> |
coprocessorService(Function<com.google.protobuf.RpcChannel,S> stubMaker,
org.apache.hadoop.hbase.client.ServiceCaller<S,R> callable,
org.apache.hadoop.hbase.client.AsyncTable.CoprocessorCallback<R> callback) |
<S,R> CompletableFuture<R> |
coprocessorService(Function<com.google.protobuf.RpcChannel,S> stubMaker,
org.apache.hadoop.hbase.client.ServiceCaller<S,R> callable,
byte[] row) |
CompletableFuture<Void> |
delete(org.apache.hadoop.hbase.client.Delete delete) |
List<CompletableFuture<Void>> |
delete(List<org.apache.hadoop.hbase.client.Delete> deletes) |
CompletableFuture<org.apache.hadoop.hbase.client.Result> |
get(org.apache.hadoop.hbase.client.Get get) |
List<CompletableFuture<org.apache.hadoop.hbase.client.Result>> |
get(List<org.apache.hadoop.hbase.client.Get> gets) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
CompletableFuture<org.apache.hadoop.hbase.client.TableDescriptor> |
getDescriptor() |
org.apache.hadoop.hbase.TableName |
getName() |
long |
getOperationTimeout(TimeUnit unit) |
long |
getReadRpcTimeout(TimeUnit unit) |
org.apache.hadoop.hbase.client.AsyncTableRegionLocator |
getRegionLocator() |
long |
getRpcTimeout(TimeUnit unit) |
org.apache.hadoop.hbase.client.ResultScanner |
getScanner(org.apache.hadoop.hbase.client.Scan scan) |
long |
getScanTimeout(TimeUnit unit) |
long |
getWriteRpcTimeout(TimeUnit unit) |
CompletableFuture<org.apache.hadoop.hbase.client.Result> |
increment(org.apache.hadoop.hbase.client.Increment increment) |
CompletableFuture<org.apache.hadoop.hbase.client.Result> |
mutateRow(org.apache.hadoop.hbase.client.RowMutations mutation) |
List<CompletableFuture<Void>> |
put(List<org.apache.hadoop.hbase.client.Put> puts) |
CompletableFuture<Void> |
put(org.apache.hadoop.hbase.client.Put put) |
void |
scan(org.apache.hadoop.hbase.client.Scan scan,
C consumer) |
CompletableFuture<List<org.apache.hadoop.hbase.client.Result>> |
scanAll(org.apache.hadoop.hbase.client.Scan scan) |
public DummyAsyncTable()
public org.apache.hadoop.hbase.TableName getName()
getName
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<org.apache.hadoop.hbase.client.TableDescriptor> getDescriptor()
getDescriptor
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public org.apache.hadoop.hbase.client.AsyncTableRegionLocator getRegionLocator()
getRegionLocator
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public long getRpcTimeout(TimeUnit unit)
getRpcTimeout
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public long getReadRpcTimeout(TimeUnit unit)
getReadRpcTimeout
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public long getWriteRpcTimeout(TimeUnit unit)
getWriteRpcTimeout
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public long getOperationTimeout(TimeUnit unit)
getOperationTimeout
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public long getScanTimeout(TimeUnit unit)
getScanTimeout
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<org.apache.hadoop.hbase.client.Result> get(org.apache.hadoop.hbase.client.Get get)
get
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<Void> put(org.apache.hadoop.hbase.client.Put put)
put
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<Void> delete(org.apache.hadoop.hbase.client.Delete delete)
delete
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<org.apache.hadoop.hbase.client.Result> append(org.apache.hadoop.hbase.client.Append append)
append
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<org.apache.hadoop.hbase.client.Result> increment(org.apache.hadoop.hbase.client.Increment increment)
increment
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family)
checkAndMutate
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public org.apache.hadoop.hbase.client.AsyncTable.CheckAndMutateWithFilterBuilder checkAndMutate(byte[] row, org.apache.hadoop.hbase.filter.Filter filter)
checkAndMutate
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<org.apache.hadoop.hbase.client.CheckAndMutateResult> checkAndMutate(org.apache.hadoop.hbase.client.CheckAndMutate checkAndMutate)
checkAndMutate
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public List<CompletableFuture<org.apache.hadoop.hbase.client.CheckAndMutateResult>> checkAndMutate(List<org.apache.hadoop.hbase.client.CheckAndMutate> checkAndMutates)
checkAndMutate
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<org.apache.hadoop.hbase.client.Result> mutateRow(org.apache.hadoop.hbase.client.RowMutations mutation)
mutateRow
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public void scan(org.apache.hadoop.hbase.client.Scan scan, C consumer)
scan
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public org.apache.hadoop.hbase.client.ResultScanner getScanner(org.apache.hadoop.hbase.client.Scan scan)
getScanner
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public CompletableFuture<List<org.apache.hadoop.hbase.client.Result>> scanAll(org.apache.hadoop.hbase.client.Scan scan)
scanAll
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public List<CompletableFuture<org.apache.hadoop.hbase.client.Result>> get(List<org.apache.hadoop.hbase.client.Get> gets)
get
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public List<CompletableFuture<Void>> put(List<org.apache.hadoop.hbase.client.Put> puts)
put
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public List<CompletableFuture<Void>> delete(List<org.apache.hadoop.hbase.client.Delete> deletes)
delete
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public <T> List<CompletableFuture<T>> batch(List<? extends org.apache.hadoop.hbase.client.Row> actions)
batch
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public <S,R> CompletableFuture<R> coprocessorService(Function<com.google.protobuf.RpcChannel,S> stubMaker, org.apache.hadoop.hbase.client.ServiceCaller<S,R> callable, byte[] row)
coprocessorService
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
public <S,R> org.apache.hadoop.hbase.client.AsyncTable.CoprocessorServiceBuilder<S,R> coprocessorService(Function<com.google.protobuf.RpcChannel,S> stubMaker, org.apache.hadoop.hbase.client.ServiceCaller<S,R> callable, org.apache.hadoop.hbase.client.AsyncTable.CoprocessorCallback<R> callback)
coprocessorService
in interface org.apache.hadoop.hbase.client.AsyncTable<C extends org.apache.hadoop.hbase.client.ScanResultConsumerBase>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.