|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeyValue | |
---|---|
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.io.hfile | Provides the hbase data+index+metadata file. |
org.apache.hadoop.hbase.mapreduce | Provides HBase MapReduce Input/OutputFormats, a table indexing MapReduce job, and utility |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.wal | |
org.apache.hadoop.hbase.rest | |
org.apache.hadoop.hbase.rest.model | |
org.apache.hadoop.hbase.thrift | Provides an HBase Thrift service. |
Uses of KeyValue in org.apache.hadoop.hbase |
---|
Fields in org.apache.hadoop.hbase declared as KeyValue | |
---|---|
static KeyValue |
KeyValue.LOWESTKEY
Lowest possible key. |
Methods in org.apache.hadoop.hbase that return KeyValue | |
---|---|
KeyValue |
KeyValue.clone()
Clones a KeyValue. |
static KeyValue |
KeyValue.createFirstOnRow(byte[] row)
Create a KeyValue that is smaller than all other possible KeyValues for the given row. |
static KeyValue |
KeyValue.createFirstOnRow(byte[] row,
byte[] family,
byte[] qualifier)
Create a KeyValue for the specified row, family and qualifier that would be smaller than all other possible KeyValues that have the same row,family,qualifier. |
static KeyValue |
KeyValue.createFirstOnRow(byte[] row,
byte[] f,
byte[] q,
long ts)
|
static KeyValue |
KeyValue.createFirstOnRow(byte[] row,
byte[] c,
long ts)
Deprecated. |
static KeyValue |
KeyValue.createFirstOnRow(byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength)
Create a KeyValue for the specified row, family and qualifier that would be smaller than all other possible KeyValues that have the same row, family, qualifier. |
static KeyValue |
KeyValue.createFirstOnRow(byte[] row,
long ts)
Creates a KeyValue that is smaller than all other KeyValues that are older than the passed timestamp. |
static KeyValue |
KeyValue.createKeyValueFromKey(byte[] b)
|
static KeyValue |
KeyValue.createKeyValueFromKey(byte[] b,
int o,
int l)
|
static KeyValue |
KeyValue.createKeyValueFromKey(ByteBuffer bb)
|
static KeyValue |
KeyValue.createLastOnRow(byte[] row)
Creates a KeyValue that is last on the specified row id. |
static KeyValue |
KeyValue.createLastOnRow(byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength)
Create a KeyValue for the specified row, family and qualifier that would be larger than or equal to all other possible KeyValues that have the same row, family, qualifier. |
Methods in org.apache.hadoop.hbase with parameters of type KeyValue | |
---|---|
int |
KeyValue.KVComparator.compare(KeyValue left,
KeyValue right)
|
int |
KeyValue.RowComparator.compare(KeyValue left,
KeyValue right)
|
int |
KeyValue.KVComparator.compareColumns(KeyValue left,
byte[] right,
int roffset,
int rlength,
int rfamilyoffset)
|
int |
KeyValue.KVComparator.compareRows(KeyValue left,
byte[] row)
|
int |
KeyValue.KVComparator.compareRows(KeyValue left,
KeyValue right)
|
int |
KeyValue.KVComparator.compareRows(KeyValue left,
short lrowlength,
KeyValue right,
short rrowlength)
|
int |
KeyValue.KVComparator.compareTimestamps(KeyValue left,
KeyValue right)
|
boolean |
KeyValue.matchingFamily(KeyValue other)
|
boolean |
KeyValue.matchingQualifier(KeyValue other)
|
boolean |
KeyValue.matchingRow(KeyValue other)
|
boolean |
KeyValue.KVComparator.matchingRowColumn(KeyValue left,
KeyValue right)
Compares the row and column of two keyvalues for equality |
boolean |
KeyValue.KVComparator.matchingRows(KeyValue left,
byte[] right)
|
boolean |
KeyValue.KVComparator.matchingRows(KeyValue left,
KeyValue right)
Compares the row of two keyvalues for equality |
boolean |
KeyValue.KVComparator.matchingRows(KeyValue left,
short lrowlength,
KeyValue right,
short rrowlength)
|
boolean |
KeyValue.KVComparator.matchingRowsGreaterTimestamp(KeyValue left,
KeyValue right)
Compares the row and timestamp of two keys Was called matchesWithoutColumn in HStoreKey. |
Uses of KeyValue in org.apache.hadoop.hbase.client |
---|
Methods in org.apache.hadoop.hbase.client that return KeyValue | |
---|---|
KeyValue |
Result.getColumnLatest(byte[] family,
byte[] qualifier)
The KeyValue for the most recent for a given column. |
KeyValue[] |
Result.raw()
Return the array of KeyValues backing this Result instance. |
KeyValue[] |
Result.sorted()
Deprecated. |
Methods in org.apache.hadoop.hbase.client that return types with arguments of type KeyValue | |
---|---|
List<KeyValue> |
Put.get(byte[] family,
byte[] qualifier)
Returns a list of all KeyValue objects with matching column family and qualifier. |
List<KeyValue> |
Result.getColumn(byte[] family,
byte[] qualifier)
Return the KeyValues for the specific column. |
Map<byte[],List<KeyValue>> |
Delete.getFamilyMap()
Method for retrieving the delete's familyMap |
Map<byte[],List<KeyValue>> |
Put.getFamilyMap()
Method for retrieving the put's familyMap |
List<KeyValue> |
Result.list()
Create a sorted list of the KeyValue's in this result. |
Methods in org.apache.hadoop.hbase.client with parameters of type KeyValue | |
---|---|
Put |
Put.add(KeyValue kv)
Add the specified KeyValue to this Put operation. |
protected int |
Result.binarySearch(KeyValue[] kvs,
byte[] family,
byte[] qualifier)
|
Constructors in org.apache.hadoop.hbase.client with parameters of type KeyValue | |
---|---|
Result(KeyValue[] kvs)
Instantiate a Result with the specified array of KeyValues. |
Constructor parameters in org.apache.hadoop.hbase.client with type arguments of type KeyValue | |
---|---|
Result(List<KeyValue> kvs)
Instantiate a Result with the specified List of KeyValues. |
Uses of KeyValue in org.apache.hadoop.hbase.filter |
---|
Methods in org.apache.hadoop.hbase.filter that return KeyValue | |
---|---|
KeyValue |
ColumnPrefixFilter.getNextKeyHint(KeyValue kv)
|
KeyValue |
FilterBase.getNextKeyHint(KeyValue currentKV)
Filters that are not sure which key must be next seeked to, can inherit this implementation that, by default, returns a null KeyValue. |
KeyValue |
FilterList.getNextKeyHint(KeyValue currentKV)
|
KeyValue |
Filter.getNextKeyHint(KeyValue 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. |
Methods in org.apache.hadoop.hbase.filter with parameters of type KeyValue | |
---|---|
Filter.ReturnCode |
ColumnPrefixFilter.filterKeyValue(KeyValue kv)
|
Filter.ReturnCode |
SingleColumnValueExcludeFilter.filterKeyValue(KeyValue keyValue)
|
Filter.ReturnCode |
ColumnCountGetFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
SkipFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
DependentColumnFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
FirstKeyOnlyFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
SingleColumnValueFilter.filterKeyValue(KeyValue keyValue)
|
Filter.ReturnCode |
FilterBase.filterKeyValue(KeyValue ignored)
Filters that dont filter by key value can inherit this implementation that includes all KeyValues. |
Filter.ReturnCode |
TimestampsFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
RowFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
FilterList.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
Filter.filterKeyValue(KeyValue v)
A way to filter based on the column family, column qualifier and/or the column value. |
Filter.ReturnCode |
FamilyFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
ValueFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
KeyOnlyFilter.filterKeyValue(KeyValue kv)
|
Filter.ReturnCode |
QualifierFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
WhileMatchFilter.filterKeyValue(KeyValue v)
|
Filter.ReturnCode |
ColumnPaginationFilter.filterKeyValue(KeyValue v)
|
KeyValue |
ColumnPrefixFilter.getNextKeyHint(KeyValue kv)
|
KeyValue |
FilterBase.getNextKeyHint(KeyValue currentKV)
Filters that are not sure which key must be next seeked to, can inherit this implementation that, by default, returns a null KeyValue. |
KeyValue |
FilterList.getNextKeyHint(KeyValue currentKV)
|
KeyValue |
Filter.getNextKeyHint(KeyValue 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. |
Method parameters in org.apache.hadoop.hbase.filter with type arguments of type KeyValue | |
---|---|
void |
DependentColumnFilter.filterRow(List<KeyValue> kvs)
|
void |
FilterBase.filterRow(List<KeyValue> ignored)
Filters that never filter by modifying the returned List of KeyValues can inherit this implementation that does nothing. |
void |
FilterList.filterRow(List<KeyValue> kvs)
|
void |
Filter.filterRow(List<KeyValue> kvs)
Chance to alter the list of keyvalues to be submitted. |
Uses of KeyValue in org.apache.hadoop.hbase.io.hfile |
---|
Methods in org.apache.hadoop.hbase.io.hfile that return KeyValue | |
---|---|
KeyValue |
HFile.Reader.Scanner.getKeyValue()
|
KeyValue |
HFileScanner.getKeyValue()
|
Methods in org.apache.hadoop.hbase.io.hfile with parameters of type KeyValue | |
---|---|
void |
HFile.Writer.append(KeyValue kv)
Add key/value to file. |
Uses of KeyValue in org.apache.hadoop.hbase.mapreduce |
---|
Methods in org.apache.hadoop.hbase.mapreduce that return types with arguments of type KeyValue | |
---|---|
org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,KeyValue> |
HFileOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
|
Method parameters in org.apache.hadoop.hbase.mapreduce with type arguments of type KeyValue | |
---|---|
protected void |
KeyValueSortReducer.reduce(ImmutableBytesWritable row,
Iterable<KeyValue> kvs,
org.apache.hadoop.mapreduce.Reducer.Context context)
|
Uses of KeyValue in org.apache.hadoop.hbase.regionserver |
---|
Fields in org.apache.hadoop.hbase.regionserver declared as KeyValue | |
---|---|
protected KeyValue |
ScanQueryMatcher.startKey
Key to seek to in memstore and StoreFiles |
Methods in org.apache.hadoop.hbase.regionserver that return KeyValue | |
---|---|
KeyValue |
ScanQueryMatcher.getKeyForNextColumn(KeyValue kv)
|
KeyValue |
ScanQueryMatcher.getKeyForNextRow(KeyValue kv)
|
protected KeyValue |
MemStore.MemStoreScanner.getLower(KeyValue first,
KeyValue second)
|
protected KeyValue |
MemStore.MemStoreScanner.getLowest()
|
protected KeyValue |
MemStore.MemStoreScanner.getNext(Iterator<KeyValue> it)
|
KeyValue |
ScanQueryMatcher.getNextKeyHint(KeyValue kv)
|
KeyValue |
ScanQueryMatcher.getStartKey()
|
KeyValue |
MemStore.MemStoreScanner.next()
|
KeyValue |
KeyValueHeap.next()
|
KeyValue |
KeyValueScanner.next()
Return the next KeyValue in this scanner, iterating the scanner |
KeyValue |
MemStore.MemStoreScanner.peek()
|
KeyValue |
KeyValueHeap.peek()
|
KeyValue |
KeyValueScanner.peek()
Look at the next KeyValue in this scanner, but do not iterate scanner. |
Methods in org.apache.hadoop.hbase.regionserver with parameters of type KeyValue | |
---|---|
protected long |
Store.add(KeyValue kv)
Adds a value to the memstore |
void |
StoreFile.Writer.append(KeyValue kv)
|
protected long |
Store.delete(KeyValue kv)
Adds a value to the memstore |
KeyValue |
ScanQueryMatcher.getKeyForNextColumn(KeyValue kv)
|
KeyValue |
ScanQueryMatcher.getKeyForNextRow(KeyValue kv)
|
protected KeyValue |
MemStore.MemStoreScanner.getLower(KeyValue first,
KeyValue second)
|
KeyValue |
ScanQueryMatcher.getNextKeyHint(KeyValue kv)
|
void |
StoreFile.Writer.includeInTimeRangeTracker(KeyValue kv)
If the timeRangeTracker is not set, update TimeRangeTracker to include the timestamp of this key |
void |
TimeRangeTracker.includeTimestamp(KeyValue kv)
Update the current TimestampRange to include the timestamp from KeyValue If the Key is of type DeleteColumn or DeleteFamily, it includes the entire time range from 0 to timestamp of the key. |
ScanQueryMatcher.MatchCode |
ScanQueryMatcher.match(KeyValue kv)
Determines if the caller should do one of several things: - seek/skip to the next row (MatchCode.SEEK_NEXT_ROW) - seek/skip to the next column (MatchCode.SEEK_NEXT_COL) - include the current KeyValue (MatchCode.INCLUDE) - ignore the current KeyValue (MatchCode.SKIP) - got to the next row (MatchCode.DONE) |
boolean |
ScanQueryMatcher.moreRowsMayExistAfter(KeyValue kv)
|
boolean |
MemStore.MemStoreScanner.reseek(KeyValue key)
|
boolean |
KeyValueHeap.reseek(KeyValue seekKey)
|
boolean |
KeyValueScanner.reseek(KeyValue key)
Reseek the scanner at or after the specified KeyValue. |
protected boolean |
HRegion.restoreEdit(Store s,
KeyValue kv)
Used by tests |
boolean |
MemStore.MemStoreScanner.seek(KeyValue key)
|
boolean |
KeyValueHeap.seek(KeyValue seekKey)
Seeks all scanners at or below the specified seek key. |
boolean |
KeyValueScanner.seek(KeyValue key)
Seek the scanner at or after the specified KeyValue. |
Method parameters in org.apache.hadoop.hbase.regionserver with type arguments of type KeyValue | |
---|---|
void |
HRegion.delete(Map<byte[],List<KeyValue>> familyMap,
boolean writeToWAL)
|
protected KeyValue |
MemStore.MemStoreScanner.getNext(Iterator<KeyValue> it)
|
boolean |
KeyValueHeap.next(List<KeyValue> result)
Gets the next row of keys from the top-most scanner. |
boolean |
InternalScanner.next(List<KeyValue> results)
Grab the next row's worth of values. |
boolean |
KeyValueHeap.next(List<KeyValue> result,
int limit)
Gets the next row of keys from the top-most scanner. |
boolean |
InternalScanner.next(List<KeyValue> result,
int limit)
Grab the next row's worth of values with a limit on the number of values to return. |
long |
MemStore.upsert(List<KeyValue> kvs)
Update or insert the specified KeyValues. |
long |
Store.upsert(List<KeyValue> kvs)
Adds or replaces the specified KeyValues. |
Uses of KeyValue in org.apache.hadoop.hbase.regionserver.wal |
---|
Methods in org.apache.hadoop.hbase.regionserver.wal that return types with arguments of type KeyValue | |
---|---|
List<KeyValue> |
WALEdit.getKeyValues()
|
Methods in org.apache.hadoop.hbase.regionserver.wal with parameters of type KeyValue | |
---|---|
void |
WALEdit.add(KeyValue kv)
|
Uses of KeyValue in org.apache.hadoop.hbase.rest |
---|
Methods in org.apache.hadoop.hbase.rest that return KeyValue | |
---|---|
KeyValue |
ScannerResultGenerator.next()
|
KeyValue |
RowResultGenerator.next()
|
Methods in org.apache.hadoop.hbase.rest with parameters of type KeyValue | |
---|---|
abstract void |
ResultGenerator.putBack(KeyValue kv)
|
void |
ScannerResultGenerator.putBack(KeyValue kv)
|
void |
RowResultGenerator.putBack(KeyValue kv)
|
Uses of KeyValue in org.apache.hadoop.hbase.rest.model |
---|
Constructors in org.apache.hadoop.hbase.rest.model with parameters of type KeyValue | |
---|---|
CellModel(KeyValue kv)
Constructor from KeyValue |
Uses of KeyValue in org.apache.hadoop.hbase.thrift |
---|
Methods in org.apache.hadoop.hbase.thrift with parameters of type KeyValue | |
---|---|
static List<TCell> |
ThriftUtilities.cellFromHBase(KeyValue in)
This utility method creates a list of Thrift TCell "struct" based on an Hbase Cell object. |
static List<TCell> |
ThriftUtilities.cellFromHBase(KeyValue[] in)
This utility method creates a list of Thrift TCell "struct" based on an Hbase Cell array. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |