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
|
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.
|
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 KeyValue |
KeyValue.cloneAndAddTags(Cell c,
List<Tag> newTags)
Create a new KeyValue by copying existing cell and adding new tags
|
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> |
VisibilityExpressionResolver.createVisibilityExpTags(String visExpression)
Convert visibility expression into tags to be serialized.
|
List<Tag> |
DefaultVisibilityExpressionResolver.createVisibilityExpTags(String visExpression) |
Modifier and Type | Field and Description |
---|---|
static Tag |
VisibilityUtils.SORTED_ORDINAL_SERIALIZATION_FORMAT_TAG |
Modifier and Type | Method and Description |
---|---|
List<Tag> |
VisibilityLabelService.createVisibilityExpTags(String visExpression,
boolean withSerializationFormat,
boolean checkAuths)
Creates tags corresponding to given visibility expression.
|
List<Tag> |
DefaultVisibilityLabelServiceImpl.createVisibilityExpTags(String visExpression,
boolean withSerializationFormat,
boolean checkAuths) |
static List<Tag> |
VisibilityUtils.createVisibilityExpTags(String visExpression,
boolean withSerializationFormat,
boolean checkAuths,
Set<Integer> auths,
VisibilityLabelOrdinalProvider ordinalProvider) |
Modifier and Type | Method and Description |
---|---|
static Byte |
VisibilityUtils.extractVisibilityTags(Cell cell,
List<Tag> tags)
Extract the visibility tags of the given Cell into the given List
|
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.
|
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) |
Copyright © 2014 The Apache Software Foundation. All rights reserved.