Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.filter |
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next() . |
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility
|
Modifier and Type | Method and Description |
---|---|
static Cell |
CellUtil.createCell(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
byte type,
byte[] value) |
static Cell |
CellUtil.createCell(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
byte type,
byte[] value,
byte[] tags,
long memstoreTS) |
static Cell |
CellUtil.createCell(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
byte type,
byte[] value,
long memstoreTS) |
static Cell |
CellUtil.createCell(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
org.apache.hadoop.hbase.KeyValue.Type type,
byte[] value,
byte[] tags) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
CellUtil.cloneFamily(Cell cell) |
static byte[] |
CellUtil.cloneQualifier(Cell cell) |
static byte[] |
CellUtil.cloneRow(Cell cell)
get individual arrays for tests
|
static byte[] |
CellUtil.cloneValue(Cell cell) |
static int |
CellUtil.copyFamilyTo(Cell cell,
byte[] destination,
int destinationOffset) |
static int |
CellUtil.copyQualifierTo(Cell cell,
byte[] destination,
int destinationOffset) |
static int |
CellUtil.copyRowTo(Cell cell,
byte[] destination,
int destinationOffset)
copyTo
|
static int |
CellUtil.copyTagTo(Cell cell,
byte[] destination,
int destinationOffset)
Copies the tags info into the tag portion of the cell
|
static int |
CellUtil.copyValueTo(Cell cell,
byte[] destination,
int destinationOffset) |
static org.apache.hadoop.hbase.CellScanner |
CellUtil.createCellScanner(Cell[] cellArray) |
static int |
CellUtil.estimatedSizeOf(Cell cell) |
static ByteRange |
CellUtil.fillFamilyRange(Cell cell,
ByteRange range) |
static ByteRange |
CellUtil.fillQualifierRange(Cell cell,
ByteRange range) |
static ByteRange |
CellUtil.fillRowRange(Cell cell,
ByteRange range)
ByteRange
|
static ByteRange |
CellUtil.fillTagRange(Cell cell,
ByteRange range) |
static ByteBuffer |
CellUtil.getQualifierBufferShallowCopy(Cell cell) |
static byte |
CellUtil.getRowByte(Cell cell,
int index)
misc
|
static byte[] |
CellUtil.getTagArray(Cell cell)
Returns tag value in a new byte array.
|
static ByteBuffer |
CellUtil.getValueBufferShallowCopy(Cell cell) |
static boolean |
CellUtil.isDelete(Cell cell) |
static boolean |
CellUtil.isDeleteColumns(Cell cell) |
static boolean |
CellUtil.isDeleteColumnVersion(Cell cell) |
static boolean |
CellUtil.isDeleteFamily(Cell cell) |
static boolean |
CellUtil.matchingColumn(Cell left,
byte[] fam,
byte[] qual) |
static boolean |
CellUtil.matchingColumn(Cell left,
Cell right) |
static boolean |
CellUtil.matchingFamily(Cell left,
byte[] buf) |
static boolean |
CellUtil.matchingFamily(Cell left,
Cell right) |
static boolean |
CellUtil.matchingQualifier(Cell left,
byte[] buf) |
static boolean |
CellUtil.matchingQualifier(Cell left,
Cell right) |
static boolean |
CellUtil.matchingRow(Cell left,
byte[] buf) |
static boolean |
CellUtil.matchingRow(Cell left,
Cell right) |
static boolean |
CellUtil.matchingValue(Cell left,
byte[] buf) |
static boolean |
CellUtil.matchingValue(Cell left,
Cell right) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.CellScanner |
CellUtil.createCellScanner(Iterable<Cell> cellIterable) |
static org.apache.hadoop.hbase.CellScanner |
CellUtil.createCellScanner(Iterator<Cell> cells) |
static org.apache.hadoop.hbase.CellScanner |
CellUtil.createCellScanner(NavigableMap<byte[],List<Cell>> map)
Flatten the map of cells out under the CellScanner
|
Modifier and Type | Field and Description |
---|---|
protected NavigableMap<byte[],List<Cell>> |
Mutation.familyMap |
Modifier and Type | Method and Description |
---|---|
Cell |
Result.current() |
Cell |
Result.getColumnLatestCell(byte[] family,
byte[] qualifier)
The Cell for the most recent timestamp for a given column.
|
Cell |
Result.getColumnLatestCell(byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength)
The Cell for the most recent timestamp for a given column.
|
Cell[] |
Result.rawCells()
Return the array of Cells backing this Result instance.
|
Modifier and Type | Method and Description |
---|---|
List<Cell> |
Put.get(byte[] family,
byte[] qualifier)
Returns a list of all KeyValue objects with matching column family and qualifier.
|
List<Cell> |
Result.getColumnCells(byte[] family,
byte[] qualifier)
Return the Cells for the specific column.
|
NavigableMap<byte[],List<Cell>> |
Mutation.getFamilyCellMap()
Method for retrieving the put's familyMap
|
List<Cell> |
Result.listCells()
Create a sorted list of the Cell's in this result.
|
Modifier and Type | Method and Description |
---|---|
Increment |
Increment.add(Cell cell)
Add the specified KeyValue to this operation.
|
Put |
Put.add(Cell kv)
Add the specified KeyValue to this Put operation.
|
Append |
Append.add(Cell cell)
Add column and value to this Append operation.
|
Delete |
Delete.addDeleteMarker(Cell kv)
Advanced use only.
|
protected int |
Result.binarySearch(Cell[] kvs,
byte[] family,
byte[] qualifier) |
protected int |
Result.binarySearch(Cell[] kvs,
byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength)
Searches for the latest value for the specified column.
|
static Result |
Result.create(Cell[] cells)
Instantiate a Result with the specified array of KeyValues.
|
Modifier and Type | Method and Description |
---|---|
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) |
void |
Mutation.setFamilyCellMap(NavigableMap<byte[],List<Cell>> map)
Method for setting the put's familyMap
|
Modifier and Type | Method and Description |
---|---|
Cell |
MultipleColumnPrefixFilter.getNextCellHint(Cell kv) |
Cell |
ColumnPaginationFilter.getNextCellHint(Cell kv) |
abstract Cell |
Filter.getNextCellHint(Cell currentKV)
If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
the next key it must seek to.
|
Cell |
ColumnRangeFilter.getNextCellHint(Cell kv) |
Cell |
FilterList.getNextCellHint(Cell currentKV) |
Cell |
ColumnPrefixFilter.getNextCellHint(Cell kv) |
Cell |
FuzzyRowFilter.getNextCellHint(Cell currentKV) |
Cell |
WhileMatchFilter.transformCell(Cell v) |
Cell |
KeyOnlyFilter.transformCell(Cell kv) |
abstract Cell |
Filter.transformCell(Cell v)
Give the filter a chance to transform the passed KeyValue.
|
Cell |
FilterList.transformCell(Cell v) |
Cell |
SkipFilter.transformCell(Cell v) |
Modifier and Type | Method and Description |
---|---|
Filter.ReturnCode |
DependentColumnFilter.filterKeyValue(Cell c) |
Filter.ReturnCode |
ColumnCountGetFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
WhileMatchFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
MultipleColumnPrefixFilter.filterKeyValue(Cell kv) |
Filter.ReturnCode |
ValueFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
FamilyFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
ColumnPaginationFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
RowFilter.filterKeyValue(Cell v) |
abstract Filter.ReturnCode |
Filter.filterKeyValue(Cell v)
A way to filter based on the column family, column qualifier and/or the column value.
|
Filter.ReturnCode |
ColumnRangeFilter.filterKeyValue(Cell kv) |
Filter.ReturnCode |
FilterList.filterKeyValue(Cell v) |
Filter.ReturnCode |
SingleColumnValueFilter.filterKeyValue(Cell c) |
Filter.ReturnCode |
TimestampsFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
RandomRowFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
InclusiveStopFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
FirstKeyValueMatchingQualifiersFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
FirstKeyOnlyFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
PrefixFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
SkipFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
ColumnPrefixFilter.filterKeyValue(Cell kv) |
Filter.ReturnCode |
QualifierFilter.filterKeyValue(Cell v) |
Filter.ReturnCode |
FuzzyRowFilter.filterKeyValue(Cell kv) |
Cell |
MultipleColumnPrefixFilter.getNextCellHint(Cell kv) |
Cell |
ColumnPaginationFilter.getNextCellHint(Cell kv) |
abstract Cell |
Filter.getNextCellHint(Cell currentKV)
If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
the next key it must seek to.
|
Cell |
ColumnRangeFilter.getNextCellHint(Cell kv) |
Cell |
FilterList.getNextCellHint(Cell currentKV) |
Cell |
ColumnPrefixFilter.getNextCellHint(Cell kv) |
Cell |
FuzzyRowFilter.getNextCellHint(Cell currentKV) |
Cell |
WhileMatchFilter.transformCell(Cell v) |
Cell |
KeyOnlyFilter.transformCell(Cell kv) |
abstract Cell |
Filter.transformCell(Cell v)
Give the filter a chance to transform the passed KeyValue.
|
Cell |
FilterList.transformCell(Cell v) |
Cell |
SkipFilter.transformCell(Cell v) |
Modifier and Type | Method and Description |
---|---|
void |
DependentColumnFilter.filterRowCells(List<Cell> kvs) |
abstract void |
Filter.filterRowCells(List<Cell> kvs)
Chance to alter the list of Cells to be submitted.
|
void |
FilterList.filterRowCells(List<Cell> ignored)
Filters that never filter by modifying the returned List of Cells can
inherit this implementation that does nothing.
|
void |
SingleColumnValueExcludeFilter.filterRowCells(List<Cell> kvs) |
Modifier and Type | Method and Description |
---|---|
Cell |
CellCreator.create(byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength,
long timestamp,
byte[] value,
int voffset,
int vlength) |
Cell |
CellCreator.create(byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength,
long timestamp,
byte[] value,
int voffset,
int vlength,
String visExpression) |
static Cell |
Import.filterKv(Filter filter,
Cell kv)
Attempt to filter out the keyvalue
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,Cell> |
HFileOutputFormat2.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Modifier and Type | Method and Description |
---|---|
static Cell |
Import.filterKv(Filter filter,
Cell kv)
Attempt to filter out the keyvalue
|
Copyright © 2014 The Apache Software Foundation. All rights reserved.