T
- target entity type.K
- row key typepublic static class HBaseExecutor.HBaseMapper<T,K> extends Object
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.client.Result |
append(AnyAppend append) |
<R extends com.google.protobuf.Message> |
batchCoprocessorService(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor,
com.google.protobuf.Message request,
Object startRowKey,
Object endRowKey,
R responsePrototype) |
<R extends com.google.protobuf.Message> |
batchCoprocessorService(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor,
com.google.protobuf.Message request,
Object startRowKey,
Object endRowKey,
R responsePrototype,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) |
<S extends com.google.protobuf.Service,R> |
coprocessorService(Class<S> service,
Object startRowKey,
Object endRowKey,
org.apache.hadoop.hbase.client.coprocessor.Batch.Call<S,R> callable) |
<S extends com.google.protobuf.Service,R> |
coprocessorService(Class<S> service,
Object startRowKey,
Object endRowKey,
org.apache.hadoop.hbase.client.coprocessor.Batch.Call<S,R> callable,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) |
org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel |
coprocessorService(Object rowKey) |
void |
delete(AnyDelete anyDelete) |
void |
delete(Collection<? extends T> entitiesToDelete) |
void |
delete(List<AnyDelete> anyDeletes) |
void |
delete(T entityToDelete) |
void |
deleteByRowKey(Collection<? extends K> rowKeys) |
void |
deleteByRowKey(K rowKey) |
boolean |
exists(AnyGet anyGet) |
List<Boolean> |
exists(Collection<? extends K> rowKeys) |
boolean |
exists(K rowKey) |
List<Boolean> |
exists(List<AnyGet> anyGets) |
T |
get(AnyGet anyGet) |
List<T> |
get(Collection<? extends K> rowKeys) |
T |
get(K rowKey) |
List<T> |
get(List<AnyGet> anyGets) |
org.apache.hadoop.hbase.client.Result |
increment(AnyIncrement increment) |
long |
incrementColumnValue(Object rowKey,
byte[] family,
byte[] qualifier,
long amount) |
long |
incrementColumnValue(Object rowKey,
byte[] family,
byte[] qualifier,
long amount,
org.apache.hadoop.hbase.client.Durability durability) |
long |
incrementColumnValue(Object rowKey,
String family,
String qualifier,
long amount) |
long |
incrementColumnValue(Object rowKey,
String family,
String qualifier,
long amount,
org.apache.hadoop.hbase.client.Durability durability) |
void |
mutateRow(AnyRowMutations rm) |
void |
put(AnyPut anyPut) |
void |
put(Collection<? extends T> entitiesToPut) |
void |
put(List<AnyPut> anyPuts) |
void |
put(T entityToPut) |
com.landawn.abacus.util.stream.Stream<T> |
scan(AnyScan anyScan) |
com.landawn.abacus.util.stream.Stream<T> |
scan(byte[] family) |
com.landawn.abacus.util.stream.Stream<T> |
scan(byte[] family,
byte[] qualifier) |
com.landawn.abacus.util.stream.Stream<T> |
scan(String family) |
com.landawn.abacus.util.stream.Stream<T> |
scan(String family,
String qualifier) |
public boolean exists(K rowKey) throws com.landawn.abacus.exception.UncheckedIOException
rowKey
- com.landawn.abacus.exception.UncheckedIOException
public List<Boolean> exists(Collection<? extends K> rowKeys) throws com.landawn.abacus.exception.UncheckedIOException
rowKeys
- com.landawn.abacus.exception.UncheckedIOException
public T get(K rowKey) throws com.landawn.abacus.exception.UncheckedIOException
rowKey
- com.landawn.abacus.exception.UncheckedIOException
public List<T> get(Collection<? extends K> rowKeys) throws com.landawn.abacus.exception.UncheckedIOException
rowKeys
- com.landawn.abacus.exception.UncheckedIOException
public void put(T entityToPut) throws com.landawn.abacus.exception.UncheckedIOException
entityToPut
- com.landawn.abacus.exception.UncheckedIOException
public void put(Collection<? extends T> entitiesToPut) throws com.landawn.abacus.exception.UncheckedIOException
entitiesToPut
- com.landawn.abacus.exception.UncheckedIOException
public void delete(T entityToDelete) throws com.landawn.abacus.exception.UncheckedIOException
entityToDelete
- com.landawn.abacus.exception.UncheckedIOException
public void delete(Collection<? extends T> entitiesToDelete) throws com.landawn.abacus.exception.UncheckedIOException
entitiesToDelete
- com.landawn.abacus.exception.UncheckedIOException
public void deleteByRowKey(K rowKey) throws com.landawn.abacus.exception.UncheckedIOException
rowKey
- com.landawn.abacus.exception.UncheckedIOException
public void deleteByRowKey(Collection<? extends K> rowKeys) throws com.landawn.abacus.exception.UncheckedIOException
rowKeys
- com.landawn.abacus.exception.UncheckedIOException
public boolean exists(AnyGet anyGet) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public List<Boolean> exists(List<AnyGet> anyGets) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public T get(AnyGet anyGet) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public List<T> get(List<AnyGet> anyGets) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public com.landawn.abacus.util.stream.Stream<T> scan(byte[] family)
public com.landawn.abacus.util.stream.Stream<T> scan(byte[] family, byte[] qualifier)
public void put(AnyPut anyPut) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public void put(List<AnyPut> anyPuts) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public void delete(AnyDelete anyDelete) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public void delete(List<AnyDelete> anyDeletes) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public void mutateRow(AnyRowMutations rm) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public org.apache.hadoop.hbase.client.Result append(AnyAppend append) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public org.apache.hadoop.hbase.client.Result increment(AnyIncrement increment) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public long incrementColumnValue(Object rowKey, String family, String qualifier, long amount) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public long incrementColumnValue(Object rowKey, String family, String qualifier, long amount, org.apache.hadoop.hbase.client.Durability durability) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public long incrementColumnValue(Object rowKey, byte[] family, byte[] qualifier, long amount) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public long incrementColumnValue(Object rowKey, byte[] family, byte[] qualifier, long amount, org.apache.hadoop.hbase.client.Durability durability) throws com.landawn.abacus.exception.UncheckedIOException
com.landawn.abacus.exception.UncheckedIOException
public org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel coprocessorService(Object rowKey)
public <S extends com.google.protobuf.Service,R> Map<byte[],R> coprocessorService(Class<S> service, Object startRowKey, Object endRowKey, org.apache.hadoop.hbase.client.coprocessor.Batch.Call<S,R> callable) throws com.landawn.abacus.exception.UncheckedIOException, Exception
com.landawn.abacus.exception.UncheckedIOException
Exception
public <S extends com.google.protobuf.Service,R> void coprocessorService(Class<S> service, Object startRowKey, Object endRowKey, org.apache.hadoop.hbase.client.coprocessor.Batch.Call<S,R> callable, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) throws com.landawn.abacus.exception.UncheckedIOException, Exception
com.landawn.abacus.exception.UncheckedIOException
Exception
public <R extends com.google.protobuf.Message> Map<byte[],R> batchCoprocessorService(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, com.google.protobuf.Message request, Object startRowKey, Object endRowKey, R responsePrototype) throws com.landawn.abacus.exception.UncheckedIOException, Exception
com.landawn.abacus.exception.UncheckedIOException
Exception
public <R extends com.google.protobuf.Message> void batchCoprocessorService(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, com.google.protobuf.Message request, Object startRowKey, Object endRowKey, R responsePrototype, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) throws com.landawn.abacus.exception.UncheckedIOException, Exception
com.landawn.abacus.exception.UncheckedIOException
Exception
Copyright © 2021. All rights reserved.