| Package | Description |
|---|---|
| org.apache.hadoop.hbase |
| Modifier and Type | Method and Description |
|---|---|
static Tag |
Tag.getTag(byte[] b,
int offset,
int length,
byte type)
Retrieve the first tag from the tags byte array matching the passed in tag type
|
| Modifier and Type | Method and Description |
|---|---|
static List<Tag> |
Tag.asList(byte[] b,
int offset,
int length)
Creates the list of tags from the byte array b.
|
static List<Tag> |
Tag.carryForwardTags(Cell cell) |
static List<Tag> |
Tag.carryForwardTags(List<Tag> tagsOrNull,
Cell cell) |
List<Tag> |
KeyValue.getTags()
Returns any tags embedded in the KeyValue.
|
static Iterator<Tag> |
CellUtil.tagsIterator(byte[] tags,
int offset,
int length)
Util method to iterate through the tags
|
| Modifier and Type | Method and Description |
|---|---|
static int |
KeyValue.writeByteArray(byte[] buffer,
int boffset,
byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength,
long timestamp,
KeyValue.Type type,
byte[] value,
int voffset,
int vlength,
Tag[] tags)
Write KeyValue format into the provided byte array.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Tag> |
Tag.carryForwardTags(List<Tag> tagsOrNull,
Cell cell) |
static KeyValue |
KeyValue.cloneAndAddTags(Cell c,
List<Tag> newTags)
Create a new KeyValue by copying existing cell and adding new tags
|
static byte[] |
Tag.fromList(List<Tag> tags)
Write a list of tags into a byte array
|
| Constructor and Description |
|---|
KeyValue(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
byte[] value,
Tag[] tags)
Constructs KeyValue structure filled with specified values.
|
KeyValue(byte[] buffer,
int boffset,
byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength,
long timestamp,
KeyValue.Type type,
byte[] value,
int voffset,
int vlength,
Tag[] tags)
Constructs KeyValue structure filled with specified values.
|
| Constructor and Description |
|---|
KeyValue(byte[] row,
byte[] family,
byte[] qualifier,
int qoffset,
int qlength,
long timestamp,
KeyValue.Type type,
byte[] value,
int voffset,
int vlength,
List<Tag> tags)
Constructs KeyValue structure filled with specified values.
|
KeyValue(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
byte[] value,
List<Tag> tags)
Constructs KeyValue structure filled with specified values.
|
KeyValue(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
KeyValue.Type type,
byte[] value,
List<Tag> tags)
Constructs KeyValue structure filled with specified values.
|
KeyValue(byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
byte[] qualifier,
int qoffset,
int qlength,
long timestamp,
KeyValue.Type type,
byte[] value,
int voffset,
int vlength,
List<Tag> tags)
Constructs KeyValue structure filled with specified values.
|
KeyValue(byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
ByteBuffer qualifier,
long ts,
KeyValue.Type type,
ByteBuffer value,
List<Tag> tags) |
Copyright © 2007–2018. All rights reserved.