Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.security.visibility |
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) |
Modifier and Type | Method and Description |
---|---|
Put |
Put.addImmutable(byte[] family,
byte[] qualifier,
byte[] value,
Tag[] tag)
This expects that the underlying arrays won't change.
|
Put |
Put.addImmutable(byte[] family,
byte[] qualifier,
long ts,
byte[] value,
Tag[] tag)
This expects that the underlying arrays won't change.
|
Put |
Put.addImmutable(byte[] family,
ByteBuffer qualifier,
long ts,
ByteBuffer value,
Tag[] tag)
This expects that the underlying arrays won't change.
|
Modifier and Type | Method and Description |
---|---|
List<Tag> |
DefaultVisibilityExpressionResolver.createVisibilityExpTags(String visExpression) |
List<Tag> |
VisibilityExpressionResolver.createVisibilityExpTags(String visExpression)
Convert visibility expression into tags to be serialized.
|
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,
List<Tag> tags) |
Modifier and Type | Field and Description |
---|---|
static Tag |
VisibilityUtils.SORTED_ORDINAL_SERIALIZATION_FORMAT_TAG |
Modifier and Type | Method and Description |
---|---|
List<Tag> |
DefaultVisibilityLabelServiceImpl.createVisibilityExpTags(String visExpression,
boolean withSerializationFormat,
boolean checkAuths) |
List<Tag> |
VisibilityLabelService.createVisibilityExpTags(String visExpression,
boolean withSerializationFormat,
boolean checkAuths)
Creates tags corresponding to given visibility expression.
|
static List<Tag> |
VisibilityUtils.createVisibilityExpTags(String visExpression,
boolean withSerializationFormat,
boolean checkAuths,
Set<Integer> auths,
VisibilityLabelOrdinalProvider ordinalProvider) |
Modifier and Type | Method and Description |
---|---|
byte[] |
DefaultVisibilityLabelServiceImpl.encodeVisibilityForReplication(List<Tag> tags,
Byte serializationFormat) |
byte[] |
VisibilityLabelService.encodeVisibilityForReplication(List<Tag> visTags,
Byte serializationFormat)
Provides a way to modify the visibility tags of type
TagType
.VISIBILITY_TAG_TYPE, that are part of the cell created from the WALEdits
that are prepared for replication while calling
ReplicationEndpoint
.replicate(). |
static Byte |
VisibilityUtils.extractAndPartitionTags(Cell cell,
List<Tag> visTags,
List<Tag> nonVisTags)
Extracts and partitions the visibility tags and nonVisibility Tags
|
static Byte |
VisibilityUtils.extractAndPartitionTags(Cell cell,
List<Tag> visTags,
List<Tag> nonVisTags)
Extracts and partitions the visibility tags and nonVisibility Tags
|
static Byte |
VisibilityUtils.extractVisibilityTags(Cell cell,
List<Tag> tags)
Extract the visibility tags of the given Cell into the given List
|
boolean |
DefaultVisibilityLabelServiceImpl.matchVisibility(List<Tag> putVisTags,
Byte putTagsFormat,
List<Tag> deleteVisTags,
Byte deleteTagsFormat) |
boolean |
DefaultVisibilityLabelServiceImpl.matchVisibility(List<Tag> putVisTags,
Byte putTagsFormat,
List<Tag> deleteVisTags,
Byte deleteTagsFormat) |
boolean |
VisibilityLabelService.matchVisibility(List<Tag> putVisTags,
Byte putVisTagFormat,
List<Tag> deleteVisTags,
Byte deleteVisTagFormat)
System uses this for deciding whether a Cell can be deleted by matching visibility expression
in Delete mutation and the cell in consideration.
|
boolean |
VisibilityLabelService.matchVisibility(List<Tag> putVisTags,
Byte putVisTagFormat,
List<Tag> deleteVisTags,
Byte deleteVisTagFormat)
System uses this for deciding whether a Cell can be deleted by matching visibility expression
in Delete mutation and the cell in consideration.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.