Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.shaded.protobuf |
Modifier and Type | Field and Description |
---|---|
protected Get |
RpcRetryingCallerWithReadReplicas.get |
Modifier and Type | Method and Description |
---|---|
Get |
Get.addColumn(byte[] family,
byte[] qualifier)
Get the column from the specific family with the specified qualifier.
|
Get |
Get.addFamily(byte[] family)
Get all columns from the specified family.
|
Get |
Get.readAllVersions()
Get all available versions.
|
Get |
Get.readVersions(int versions)
Get up to the specified number of versions of each column.
|
Get |
Get.setACL(Map<String,Permission> perms) |
Get |
Get.setACL(String user,
Permission perms) |
Get |
Get.setAttribute(String name,
byte[] value) |
Get |
Get.setAuthorizations(Authorizations authorizations) |
Get |
Get.setCacheBlocks(boolean cacheBlocks)
Set whether blocks should be cached for this Get.
|
Get |
Get.setCheckExistenceOnly(boolean checkExistenceOnly) |
Get |
Get.setClosestRowBefore(boolean closestRowBefore)
Deprecated.
since 2.0.0 and will be removed in 3.0.0
|
Get |
Get.setColumnFamilyTimeRange(byte[] cf,
long minStamp,
long maxStamp) |
Get |
Get.setConsistency(Consistency consistency) |
Get |
Get.setFilter(Filter filter) |
Get |
Get.setId(String id) |
Get |
Get.setIsolationLevel(IsolationLevel level) |
Get |
Get.setLoadColumnFamiliesOnDemand(boolean value) |
Get |
Get.setMaxResultsPerColumnFamily(int limit)
Set the maximum number of values to return per row per Column Family
|
Get |
Get.setMaxVersions()
Deprecated.
It is easy to misunderstand with column family's max versions, so use
readAllVersions() instead. |
Get |
Get.setMaxVersions(int maxVersions)
Deprecated.
It is easy to misunderstand with column family's max versions, so use
readVersions(int) instead. |
Get |
Get.setPriority(int priority) |
Get |
Get.setReplicaId(int Id) |
Get |
Get.setRowOffsetPerColumnFamily(int offset)
Set offset for the row per Column Family.
|
Get |
Get.setTimeRange(long minStamp,
long maxStamp)
Get versions of columns only within the specified timestamp range, [minStamp, maxStamp).
|
Get |
Get.setTimestamp(long timestamp)
Get versions of columns with the specified timestamp.
|
Get |
Get.setTimeStamp(long timestamp)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0. Use
setTimestamp(long) instead |
Modifier and Type | Method and Description |
---|---|
default boolean |
Table.exists(Get get)
Test for the existence of columns in the table, as specified by the Get.
|
boolean |
HTable.exists(Get get) |
default CompletableFuture<Boolean> |
AsyncTable.exists(Get get)
Test for the existence of columns in the table, as specified by the Get.
|
default Result |
Table.get(Get get)
Extracts certain cells from a given row.
|
Result |
HTable.get(Get get) |
CompletableFuture<Result> |
AsyncTable.get(Get get)
Extracts certain cells from a given row.
|
Modifier and Type | Method and Description |
---|---|
default boolean[] |
Table.exists(List<Get> gets)
Test for the existence of columns in the table, as specified by the Gets.
|
boolean[] |
HTable.exists(List<Get> gets) |
default List<CompletableFuture<Boolean>> |
AsyncTable.exists(List<Get> gets)
Test for the existence of columns in the table, as specified by the Gets.
|
default boolean[] |
Table.existsAll(List<Get> gets)
Deprecated.
since 2.0 version and will be removed in 3.0 version. use
Table.exists(List) |
default CompletableFuture<List<Boolean>> |
AsyncTable.existsAll(List<Get> gets)
A simple version for batch exists.
|
default Result[] |
Table.get(List<Get> gets)
Extracts specified cells from the given rows, as a batch.
|
Result[] |
HTable.get(List<Get> gets) |
List<CompletableFuture<Result>> |
AsyncTable.get(List<Get> gets)
Extracts certain cells from the given rows, in batch.
|
default CompletableFuture<List<Result>> |
AsyncTable.getAll(List<Get> gets)
A simple version for batch get.
|
Constructor and Description |
---|
Get(Get get)
Copy-constructor
|
RpcRetryingCallerWithReadReplicas(RpcControllerFactory rpcControllerFactory,
TableName tableName,
ClusterConnection cConnection,
Get get,
ExecutorService pool,
int retries,
int operationTimeout,
int rpcTimeout,
int timeBeforeReplicas,
Map<String,byte[]> requestAttributes) |
Scan(Get get)
Builds a scan object with the same specs as get.
|
Modifier and Type | Method and Description |
---|---|
static Get |
ProtobufUtil.toGet(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get proto)
Convert a protocol buffer Get to a client Get
|
static Get |
ProtobufUtil.toGet(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto proto,
CellScanner cellScanner)
Convert a protocol buffer Mutate to a Get.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get |
ProtobufUtil.toGet(Get get)
Create a protocol buffer Get based on a client Get.
|
Modifier and Type | Method and Description |
---|---|
static Get |
QuotaTableUtil.makeGetForNamespaceQuotas(String namespace) |
static Get |
QuotaTableUtil.makeGetForRegionServerQuotas(String regionServer) |
static Get |
QuotaTableUtil.makeGetForTableQuotas(TableName table) |
static Get |
QuotaTableUtil.makeGetForUserQuotas(String user,
Iterable<TableName> tables,
Iterable<String> namespaces) |
static Get |
QuotaTableUtil.makeQuotaSnapshotGetForTable(TableName tn)
Creates a
Get which returns only SpaceQuotaSnapshot from the quota table for a
specific table. |
Modifier and Type | Method and Description |
---|---|
protected static Result |
QuotaTableUtil.doGet(Connection connection,
Get get) |
Modifier and Type | Method and Description |
---|---|
protected static Result[] |
QuotaTableUtil.doGet(Connection connection,
List<Get> gets) |
Modifier and Type | Method and Description |
---|---|
static Get |
ProtobufUtil.toGet(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Get proto)
Convert a protocol buffer Get to a client Get
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetRequest |
RequestConverter.buildGetRequest(byte[] regionName,
Get get)
Create a protocol buffer GetRequest for a client Get
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Get |
ProtobufUtil.toGet(Get get)
Create a protocol buffer Get based on a client Get.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.