Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.catalog | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
Modifier and Type | Method and Description |
---|---|
static PairOfSameType<HRegionInfo> |
HRegionInfo.getDaughterRegions(Result data)
Returns the daughter regions by reading the corresponding columns of the catalog table
Result.
|
static HRegionInfo |
HRegionInfo.getHRegionInfo(Result data)
Returns HRegionInfo object from the column
HConstants.CATALOG_FAMILY:HConstants.REGIONINFO_QUALIFIER of the catalog
table Result.
|
static HRegionInfo |
HRegionInfo.getHRegionInfo(Result r,
byte[] qualifier)
Returns the HRegionInfo object from the column
HConstants.CATALOG_FAMILY and
qualifier of the catalog table result. |
static Pair<HRegionInfo,ServerName> |
HRegionInfo.getHRegionInfoAndServerName(Result r)
Extract a HRegionInfo and ServerName from catalog table
Result . |
static PairOfSameType<HRegionInfo> |
HRegionInfo.getMergeRegions(Result data)
Returns the merge regions by reading the corresponding columns of the catalog table
Result.
|
static long |
HRegionInfo.getSeqNumDuringOpen(Result r)
The latest seqnum that the server writing to meta observed when opening the region.
|
static ServerName |
HRegionInfo.getServerName(Result r)
Returns a
ServerName from catalog table Result . |
Modifier and Type | Method and Description |
---|---|
static Result |
MetaReader.getRegionResult(CatalogTracker catalogTracker,
byte[] regionName)
Gets the result in hbase:meta for the specified region.
|
Modifier and Type | Method and Description |
---|---|
static List<Result> |
MetaReader.fullScan(CatalogTracker catalogTracker)
Performs a full scan of
hbase:meta . |
static List<Result> |
MetaReader.fullScanOfMeta(CatalogTracker catalogTracker)
Performs a full scan of a
hbase:meta table. |
static NavigableMap<HRegionInfo,Result> |
MetaReader.getServerUserRegions(CatalogTracker catalogTracker,
ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
boolean |
MetaReader.Visitor.visit(Result r)
Visit the catalog table row.
|
Modifier and Type | Field and Description |
---|---|
static Result |
Result.EMPTY_RESULT |
protected Result |
ClientScanner.lastResult |
Modifier and Type | Field and Description |
---|---|
protected LinkedList<Result> |
ClientScanner.cache |
Modifier and Type | Method and Description |
---|---|
Result |
HTable.append(Append append)
Appends values to one or more columns within a single row.
|
Result |
HTableInterface.append(Append append)
Appends values to one or more columns within a single row.
|
Result[] |
ScannerCallable.call() |
static Result |
Result.create(Cell[] cells)
Instantiate a Result with the specified array of KeyValues.
|
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) |
Result |
HTable.get(Get get)
Extracts certain cells from a given row.
|
Result |
HTableInterface.get(Get get)
Extracts certain cells from a given row.
|
Result[] |
HTable.get(List<Get> gets)
Extracts certain cells from the given rows, in batch.
|
Result[] |
HTableInterface.get(List<Get> gets)
Extracts certain cells from the given rows, in batch.
|
Result |
HTable.getRowOrBefore(byte[] row,
byte[] family)
Return the row that matches row exactly,
or the one that immediately precedes it.
|
Result |
HTableInterface.getRowOrBefore(byte[] row,
byte[] family)
Deprecated.
As of version 0.92 this method is deprecated without
replacement.
getRowOrBefore is used internally to find entries in hbase:meta and makes
various assumptions about the table (which are true for hbase:meta but not
in general) to be efficient.
|
Result |
HTable.increment(Increment increment)
Increments one or more columns within a single row.
|
Result |
HTableInterface.increment(Increment increment)
Increments one or more columns within a single row.
|
Result |
ResultScanner.next()
Grab the next row's worth of values.
|
Result |
ClientSmallScanner.next() |
Result |
ClientScanner.next() |
Result |
ClientSmallReversedScanner.next() |
Result[] |
AbstractClientScanner.next(int nbRows)
Get nbRows rows.
|
Result[] |
ResultScanner.next(int nbRows) |
Modifier and Type | Method and Description |
---|---|
Iterator<Result> |
AbstractClientScanner.iterator() |
Modifier and Type | Method and Description |
---|---|
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 HRegionInfo |
MetaScanner.getHRegionInfo(Result data)
Returns HRegionInfo object from the column
HConstants.CATALOG_FAMILY:HConstants.REGIONINFO_QUALIFIER of the catalog
table Result.
|
boolean |
MetaScanner.MetaScannerVisitor.processRow(Result rowResult)
Visitor method that accepts a RowResult and the meta region location.
|
boolean |
MetaScanner.DefaultMetaScannerVisitor.processRow(Result rowResult) |
boolean |
MetaScanner.TableMetaScannerVisitor.processRow(Result rowResult) |
abstract boolean |
MetaScanner.DefaultMetaScannerVisitor.processRowInternal(Result rowResult) |
Modifier and Type | Method and Description |
---|---|
static Result |
ProtobufUtil.get(ClientProtos.ClientService.BlockingInterface client,
byte[] regionName,
Get get)
A helper to invoke a Get using client protocol.
|
static Result |
ProtobufUtil.get(ClientProtos.ClientService.BlockingInterface client,
byte[] regionName,
Get get,
PayloadCarryingRpcController controller)
A helper to invoke a Get using client protocol.
|
static Result[] |
ResponseConverter.getResults(CellScanner cellScanner,
ClientProtos.ScanResponse response)
Create Results from the cells using the cells meta data.
|
static Result |
ProtobufUtil.getRowOrBefore(ClientProtos.ClientService.BlockingInterface client,
byte[] regionName,
byte[] row,
byte[] family)
A helper to get a row of the closet one before using client protocol without setting any
special (i.e.
|
static Result |
ProtobufUtil.getRowOrBefore(ClientProtos.ClientService.BlockingInterface client,
byte[] regionName,
byte[] row,
byte[] family,
PayloadCarryingRpcController payloadCarryingRpcController)
A helper to get a row of the closet one before using client protocol.
|
static Result |
ProtobufUtil.toResult(ClientProtos.Result proto)
Convert a protocol buffer Result to a client Result
|
static Result |
ProtobufUtil.toResult(ClientProtos.Result proto,
CellScanner scanner)
Convert a protocol buffer Result to a client Result
|
Modifier and Type | Method and Description |
---|---|
static ClientProtos.Result |
ProtobufUtil.toResult(Result result)
Convert a client Result to a protocol buffer Result
|
static ClientProtos.Result |
ProtobufUtil.toResultNoData(Result result)
Convert a client Result to a protocol buffer Result.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.