| 程序包 | 说明 |
|---|---|
| com.alibaba.hbase.client | |
| com.alibaba.hbase.thrift2.generated |
| 限定符和类型 | 方法和说明 |
|---|---|
static TGet |
ThriftUtilities.getFromHBase(org.apache.hadoop.hbase.client.Get in) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<TGet> |
ThriftUtilities.getsFromHBase(List<org.apache.hadoop.hbase.client.Get> in) |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.hbase.client.Get |
ThriftUtilities.getFromThrift(TGet in)
Creates a
Get (HBase) from a TGet (Thrift). |
| 限定符和类型 | 字段和说明 |
|---|---|
TGet |
THBaseService.exists_args.tget
the TGet to check for
|
TGet |
THBaseService.get_args.tget
the TGet to fetch
|
| 限定符和类型 | 字段和说明 |
|---|---|
List<TGet> |
THBaseService.existsAll_args.tgets
a list of TGets to check for
|
List<TGet> |
THBaseService.getMultiple_args.tgets
a list of TGets to fetch, the Result list
will have the Results at corresponding positions
or null if there was an error
|
| 限定符和类型 | 方法和说明 |
|---|---|
TGet |
TGet.deepCopy() |
TGet |
THBaseService.exists_args.getTget()
the TGet to check for
|
TGet |
THBaseService.get_args.getTget()
the TGet to fetch
|
TGet |
TGet.setAttributes(Map<ByteBuffer,ByteBuffer> attributes) |
TGet |
TGet.setAuthorizations(TAuthorization authorizations) |
TGet |
TGet.setCacheBlocks(boolean cacheBlocks) |
TGet |
TGet.setColumns(List<TColumn> columns) |
TGet |
TGet.setConsistency(TConsistency consistency) |
TGet |
TGet.setExistence_only(boolean existence_only) |
TGet |
TGet.setFilterBytes(byte[] filterBytes) |
TGet |
TGet.setFilterBytes(ByteBuffer filterBytes) |
TGet |
TGet.setFilterString(byte[] filterString) |
TGet |
TGet.setFilterString(ByteBuffer filterString) |
TGet |
TGet.setMaxVersions(int maxVersions) |
TGet |
TGet.setRow(byte[] row) |
TGet |
TGet.setRow(ByteBuffer row) |
TGet |
TGet.setStoreLimit(int storeLimit) |
TGet |
TGet.setStoreOffset(int storeOffset) |
TGet |
TGet.setTargetReplicaId(int targetReplicaId) |
TGet |
TGet.setTimeRange(TTimeRange timeRange) |
TGet |
TGet.setTimestamp(long timestamp) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<TGet> |
THBaseService.existsAll_args.getTgets()
a list of TGets to check for
|
List<TGet> |
THBaseService.getMultiple_args.getTgets()
a list of TGets to fetch, the Result list
will have the Results at corresponding positions
or null if there was an error
|
Iterator<TGet> |
THBaseService.existsAll_args.getTgetsIterator() |
Iterator<TGet> |
THBaseService.getMultiple_args.getTgetsIterator() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
THBaseService.existsAll_args.addToTgets(TGet elem) |
void |
THBaseService.getMultiple_args.addToTgets(TGet elem) |
int |
TGet.compareTo(TGet other) |
boolean |
TGet.equals(TGet that) |
boolean |
THBaseService.Iface.exists(ByteBuffer table,
TGet tget)
Test for the existence of columns in the table, as specified in the TGet.
|
boolean |
THBaseService.Client.exists(ByteBuffer table,
TGet tget) |
void |
THBaseService.AsyncIface.exists(ByteBuffer table,
TGet tget,
org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) |
void |
THBaseService.AsyncClient.exists(ByteBuffer table,
TGet tget,
org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) |
TResult |
THBaseService.Iface.get(ByteBuffer table,
TGet tget)
Method for getting data from a row.
|
TResult |
THBaseService.Client.get(ByteBuffer table,
TGet tget) |
void |
THBaseService.AsyncIface.get(ByteBuffer table,
TGet tget,
org.apache.thrift.async.AsyncMethodCallback<TResult> resultHandler) |
void |
THBaseService.AsyncClient.get(ByteBuffer table,
TGet tget,
org.apache.thrift.async.AsyncMethodCallback<TResult> resultHandler) |
void |
THBaseService.Client.send_exists(ByteBuffer table,
TGet tget) |
void |
THBaseService.Client.send_get(ByteBuffer table,
TGet tget) |
THBaseService.exists_args |
THBaseService.exists_args.setTget(TGet tget)
the TGet to check for
|
THBaseService.get_args |
THBaseService.get_args.setTget(TGet tget)
the TGet to fetch
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Boolean> |
THBaseService.Iface.existsAll(ByteBuffer table,
List<TGet> tgets)
Test for the existence of columns in the table, as specified by the TGets.
|
List<Boolean> |
THBaseService.Client.existsAll(ByteBuffer table,
List<TGet> tgets) |
void |
THBaseService.AsyncIface.existsAll(ByteBuffer table,
List<TGet> tgets,
org.apache.thrift.async.AsyncMethodCallback<List<Boolean>> resultHandler) |
void |
THBaseService.AsyncClient.existsAll(ByteBuffer table,
List<TGet> tgets,
org.apache.thrift.async.AsyncMethodCallback<List<Boolean>> resultHandler) |
List<TResult> |
THBaseService.Iface.getMultiple(ByteBuffer table,
List<TGet> tgets)
Method for getting multiple rows.
|
List<TResult> |
THBaseService.Client.getMultiple(ByteBuffer table,
List<TGet> tgets) |
void |
THBaseService.AsyncIface.getMultiple(ByteBuffer table,
List<TGet> tgets,
org.apache.thrift.async.AsyncMethodCallback<List<TResult>> resultHandler) |
void |
THBaseService.AsyncClient.getMultiple(ByteBuffer table,
List<TGet> tgets,
org.apache.thrift.async.AsyncMethodCallback<List<TResult>> resultHandler) |
void |
THBaseService.Client.send_existsAll(ByteBuffer table,
List<TGet> tgets) |
void |
THBaseService.Client.send_getMultiple(ByteBuffer table,
List<TGet> tgets) |
THBaseService.existsAll_args |
THBaseService.existsAll_args.setTgets(List<TGet> tgets)
a list of TGets to check for
|
THBaseService.getMultiple_args |
THBaseService.getMultiple_args.setTgets(List<TGet> tgets)
a list of TGets to fetch, the Result list
will have the Results at corresponding positions
or null if there was an error
|
| 构造器和说明 |
|---|
exists_args(ByteBuffer table,
TGet tget) |
exists_call(ByteBuffer table,
TGet tget,
org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
get_args(ByteBuffer table,
TGet tget) |
get_call(ByteBuffer table,
TGet tget,
org.apache.thrift.async.AsyncMethodCallback<TResult> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
TGet(TGet other)
Performs a deep copy on other.
|
| 构造器和说明 |
|---|
existsAll_args(ByteBuffer table,
List<TGet> tgets) |
existsAll_call(ByteBuffer table,
List<TGet> tgets,
org.apache.thrift.async.AsyncMethodCallback<List<Boolean>> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
getMultiple_args(ByteBuffer table,
List<TGet> tgets) |
getMultiple_call(ByteBuffer table,
List<TGet> tgets,
org.apache.thrift.async.AsyncMethodCallback<List<TResult>> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
Copyright © 2019. All rights reserved.