Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.shaded.protobuf |
Modifier and Type | Method and Description |
---|---|
static RegionInfo |
CatalogFamilyFormat.getRegionInfo(Result data)
Returns RegionInfo object from the column
HConstants.CATALOG_FAMILY:HConstants.REGIONINFO_QUALIFIER of the catalog table Result.
|
static RegionInfo |
CatalogFamilyFormat.getRegionInfo(Result r,
byte[] qualifier)
Returns the RegionInfo object from the column
HConstants.CATALOG_FAMILY and
qualifier of the catalog table result. |
static HRegionLocation |
CatalogFamilyFormat.getRegionLocation(Result r,
RegionInfo regionInfo,
int replicaId)
Returns the HRegionLocation parsed from the given meta row Result for the given regionInfo and
replicaId.
|
static RegionLocations |
CatalogFamilyFormat.getRegionLocations(Result r)
Returns an HRegionLocationList extracted from the result.
|
static ServerName |
CatalogFamilyFormat.getServerName(Result r,
int replicaId)
Returns a
ServerName from catalog table Result . |
static TableState |
CatalogFamilyFormat.getTableState(Result r)
Decode table state from META Result.
|
boolean |
ClientMetaTableAccessor.Visitor.visit(Result r)
Visit the catalog table row.
|
Modifier and Type | Field and Description |
---|---|
static Result |
Result.EMPTY_RESULT |
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.
|
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.
|
default Result[] |
Table.get(List<Get> gets)
Extracts specified cells from the given rows, as a batch.
|
Result |
CheckAndMutateResult.getResult() |
Result |
SingleResponse.Entry.getResult() |
default Result |
Table.increment(Increment increment)
Increments one or more columns within a single row.
|
default Result |
Table.mutateRow(RowMutations rm)
Performs multiple mutations atomically on a single row.
|
Result |
ResultScanner.next()
Grab the next row's worth of values.
|
default Result[] |
ResultScanner.next(int nbRows)
Get nbRows rows.
|
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 |
---|---|
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.