Package | Description |
---|---|
org.apache.hadoop.hbase | |
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 | Method and Description |
---|---|
static Result |
MetaTableAccessor.getCatalogFamilyRow(Connection connection,
RegionInfo ri) |
static Result |
MetaTableAccessor.getRegionResult(Connection connection,
byte[] regionName)
Gets the result in hbase:meta for the specified region.
|
static Result |
MetaTableAccessor.scanByRegionEncodedName(Connection connection,
String regionEncodedName)
Scans META table for a row whose key contains the specified regionEncodedName,
returning a single related
Result instance if any row is found, null otherwise. |
Modifier and Type | Method and Description |
---|---|
static List<Result> |
MetaTableAccessor.fullScanRegions(Connection connection)
Performs a full scan of
hbase:meta for regions. |
static NavigableMap<RegionInfo,Result> |
MetaTableAccessor.getServerUserRegions(Connection connection,
ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
static PairOfSameType<RegionInfo> |
MetaTableAccessor.getDaughterRegions(Result data)
Returns the daughter regions by reading the corresponding columns of the catalog table
Result.
|
static RegionInfo |
MetaTableAccessor.getRegionInfo(Result data)
Returns RegionInfo object from the column
HConstants.CATALOG_FAMILY:HConstants.REGIONINFO_QUALIFIER of the catalog
table Result.
|
static RegionInfo |
MetaTableAccessor.getRegionInfo(Result r,
byte[] qualifier)
Returns the RegionInfo object from the column
HConstants.CATALOG_FAMILY and
qualifier of the catalog table result. |
static RegionLocations |
MetaTableAccessor.getRegionLocations(Result r)
Returns an HRegionLocationList extracted from the result.
|
static long[] |
MetaTableAccessor.getReplicationBarriers(Result result) |
static ServerName |
MetaTableAccessor.getServerName(Result r,
int replicaId)
Returns a
ServerName from catalog table Result . |
static TableState |
MetaTableAccessor.getTableState(Result r)
Decode table state from META Result.
|
static ServerName |
MetaTableAccessor.getTargetServerName(Result r,
int replicaId)
Returns the
ServerName from catalog table Result where the region is
transitioning on. |
boolean |
MetaTableAccessor.Visitor.visit(Result r)
Visit the catalog table row.
|
boolean |
MetaTableAccessor.DefaultVisitorBase.visit(Result rowResult) |
boolean |
MetaTableAccessor.TableVisitorBase.visit(Result rowResult) |
abstract boolean |
MetaTableAccessor.DefaultVisitorBase.visitInternal(Result rowResult) |
Modifier and Type | Field and Description |
---|---|
static Result |
Result.EMPTY_RESULT |
protected Result |
ClientScanner.lastResult |
Modifier and Type | Field and Description |
---|---|
protected Queue<Result> |
ClientScanner.cache |
Modifier and Type | Method and Description |
---|---|
Result[] |
BatchScanResultCache.addAndGet(Result[] results,
boolean isHeartbeatMessage) |
default Result |
Table.append(Append append)
Appends values to one or more columns within a single row.
|
Result |
HTable.append(Append append) |
Result |
RpcRetryingCallerWithReadReplicas.call(int operationTimeout)
Algo:
- we put the query into the execution pool.
|
static Result |
Result.create(Cell[] cells)
Instantiate a Result with the specified array of KeyValues.
|
static Result |
Result.create(Cell[] cells,
Boolean exists,
boolean stale) |
static Result |
Result.create(Cell[] cells,
Boolean exists,
boolean stale,
boolean mayHaveMoreCellsInRow) |
static Result |
Result.create(List<Cell> cells)
Instantiate a Result with the specified List of KeyValues.
|
static Result |
Result.create(List<Cell> cells,
Boolean exists) |
static Result |
Result.create(List<Cell> cells,
Boolean exists,
boolean stale) |
static Result |
Result.create(List<Cell> cells,
Boolean exists,
boolean stale,
boolean mayHaveMoreCellsInRow) |
static Result |
Result.createCompleteResult(Iterable<Result> partialResults)
Forms a single result from the partial results in the partialResults list.
|
static Result |
Result.createCursorResult(Cursor cursor) |
default Result |
Table.get(Get get)
Extracts certain cells from a given row.
|
Result |
HTable.get(Get get) |
default Result[] |
Table.get(List<Get> gets)
Extracts specified cells from the given rows, as a batch.
|
Result[] |
HTable.get(List<Get> gets) |
Result |
CheckAndMutateResult.getResult() |
Result |
SingleResponse.Entry.getResult() |
default Result |
Table.increment(Increment increment)
Increments one or more columns within a single row.
|
Result |
HTable.increment(Increment increment) |
default Result |
Table.mutateRow(RowMutations rm)
Performs multiple mutations atomically on a single row.
|
Result |
HTable.mutateRow(RowMutations rm) |
Result |
ClientScanner.next() |
Result |
ClientAsyncPrefetchScanner.next() |
Result |
ResultScanner.next()
Grab the next row's worth of values.
|
default Result[] |
ResultScanner.next(int nbRows)
Get nbRows rows.
|
protected Result |
ClientScanner.nextWithSyncCache() |
protected Result[] |
ScannerCallable.rpcCall() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Result> |
AsyncTable.append(Append append)
Appends values to one or more columns within a single row.
|
CompletableFuture<Result> |
AsyncTable.get(Get get)
Extracts certain cells from a given row.
|
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.
|
CompletableFuture<Result> |
AsyncTable.increment(Increment increment)
Increments one or more columns within a single row.
|
default Iterator<Result> |
ResultScanner.iterator() |
CompletableFuture<Result> |
AsyncTable.mutateRow(RowMutations mutation)
Performs multiple mutations atomically on a single row.
|
CompletableFuture<List<Result>> |
AsyncTable.scanAll(Scan scan)
Return all the results that match the given scan object.
|
Modifier and Type | Method and Description |
---|---|
Result[] |
BatchScanResultCache.addAndGet(Result[] results,
boolean isHeartbeatMessage) |
static void |
Result.compareResults(Result res1,
Result res2)
Does a deep comparison of two Results, down to the byte arrays.
|
void |
Result.copyFrom(Result other)
Copy another Result into this one.
|
static long |
Result.getTotalSizeOfCells(Result result)
Get total size of raw cells
|
boolean |
ScanResultConsumer.onNext(Result result) |
void |
AdvancedScanResultConsumer.onNext(Result[] results,
AdvancedScanResultConsumer.ScanController controller)
Indicate that we have receive some data.
|
void |
SingleResponse.Entry.setResult(Result result) |
Modifier and Type | Method and Description |
---|---|
static Result |
Result.createCompleteResult(Iterable<Result> partialResults)
Forms a single result from the partial results in the partialResults list.
|
Constructor and Description |
---|
CheckAndMutateResult(boolean success,
Result result) |
Modifier and Type | Method and Description |
---|---|
static Result |
ProtobufUtil.toResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result proto)
Convert a protocol buffer Result to a client Result
|
static Result |
ProtobufUtil.toResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result proto,
CellScanner scanner)
Convert a protocol buffer Result to a client Result
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result |
ProtobufUtil.toResult(Result result)
Convert a client Result to a protocol buffer Result
|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result |
ProtobufUtil.toResultNoData(Result result)
Convert a client Result to a protocol buffer Result.
|
Modifier and Type | Method and Description |
---|---|
protected static Result |
QuotaTableUtil.doGet(Connection connection,
Get get) |
protected static Result[] |
QuotaTableUtil.doGet(Connection connection,
List<Get> gets) |
Modifier and Type | Method and Description |
---|---|
static void |
QuotaTableUtil.extractQuotaSnapshot(Result result,
Map<TableName,SpaceQuotaSnapshot> snapshots)
Extracts the
SpaceViolationPolicy and TableName from the provided
Result and adds them to the given Map . |
static void |
QuotaTableUtil.parseNamespaceResult(Result result,
QuotaTableUtil.NamespaceQuotasVisitor visitor) |
protected static void |
QuotaTableUtil.parseNamespaceResult(String namespace,
Result result,
QuotaTableUtil.NamespaceQuotasVisitor visitor) |
static void |
QuotaTableUtil.parseResult(Result result,
QuotaTableUtil.QuotasVisitor visitor) |
static void |
QuotaTableUtil.parseResultToCollection(Result result,
Collection<QuotaSettings> quotaSettings) |
static void |
QuotaTableUtil.parseTableResult(Result result,
QuotaTableUtil.TableQuotasVisitor visitor) |
protected static void |
QuotaTableUtil.parseTableResult(TableName table,
Result result,
QuotaTableUtil.TableQuotasVisitor visitor) |
static void |
QuotaTableUtil.parseUserResult(Result result,
QuotaTableUtil.UserQuotasVisitor visitor) |
protected static void |
QuotaTableUtil.parseUserResult(String userName,
Result result,
QuotaTableUtil.UserQuotasVisitor visitor) |
Modifier and Type | Method and Description |
---|---|
static Result[] |
ResponseConverter.getResults(CellScanner cellScanner,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanResponse response)
Create Results from the cells using the cells meta data.
|
static Result |
ProtobufUtil.toResult(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Result proto)
Convert a protocol buffer Result to a client Result
|
static Result |
ProtobufUtil.toResult(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Result proto,
boolean decodeTags)
Convert a protocol buffer Result to a client Result
|
static Result |
ProtobufUtil.toResult(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Result proto,
CellScanner scanner)
Convert a protocol buffer Result to a client Result
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Result |
ProtobufUtil.toResult(Result result)
Convert a client Result to a protocol buffer Result
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Result |
ProtobufUtil.toResult(Result result,
boolean encodeTags)
Convert a client Result to a protocol buffer Result
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Result |
ProtobufUtil.toResultNoData(Result result)
Convert a client Result to a protocol buffer Result.
|
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.