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.mob | |
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 java.util.List<Tag> |
Tag.asList(byte[] b,
int offset,
int length)
Creates the list of tags from the byte array b.
|
static java.util.List<Tag> |
Tag.carryForwardTags(Cell cell) |
static java.util.List<Tag> |
Tag.carryForwardTags(java.util.List<Tag> tagsOrNull,
Cell cell) |
java.util.List<Tag> |
KeyValue.getTags()
Returns any tags embedded in the KeyValue.
|
static java.util.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 java.util.List<Tag> |
Tag.carryForwardTags(java.util.List<Tag> tagsOrNull,
Cell cell) |
static KeyValue |
KeyValue.cloneAndAddTags(Cell c,
java.util.List<Tag> newTags)
Create a new KeyValue by copying existing cell and adding new tags
|
static byte[] |
Tag.fromList(java.util.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,
java.util.List<Tag> tags)
Constructs KeyValue structure filled with specified values.
|
KeyValue(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
byte[] value,
java.util.List<Tag> tags)
Constructs KeyValue structure filled with specified values.
|
KeyValue(byte[] row,
byte[] family,
byte[] qualifier,
long timestamp,
KeyValue.Type type,
byte[] value,
java.util.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,
java.util.List<Tag> tags)
Constructs KeyValue structure filled with specified values.
|
KeyValue(byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
java.nio.ByteBuffer qualifier,
long ts,
KeyValue.Type type,
java.nio.ByteBuffer value,
java.util.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,
java.nio.ByteBuffer qualifier,
long ts,
java.nio.ByteBuffer value,
Tag[] tag)
This expects that the underlying arrays won't change.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
DefaultVisibilityExpressionResolver.createVisibilityExpTags(java.lang.String visExpression) |
java.util.List<Tag> |
VisibilityExpressionResolver.createVisibilityExpTags(java.lang.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,
java.util.List<Tag> tags) |
Modifier and Type | Field and Description |
---|---|
static Tag |
MobConstants.MOB_REF_TAG |
Modifier and Type | Method and Description |
---|---|
static Tag |
MobUtils.getTableNameTag(Cell cell)
Gets the table name tag.
|
Modifier and Type | Method and Description |
---|---|
static Cell |
MobUtils.createMobRefCell(Cell cell,
byte[] fileName,
Tag tableNameTag)
Creates a mob reference KeyValue.
|
Modifier and Type | Method and Description |
---|---|
static Cell |
MobUtils.createMobRefCell(Cell cell,
byte[] fileName,
java.util.List<Tag> refCellTags) |
static boolean |
MobUtils.hasMobReferenceTag(java.util.List<Tag> tags)
Whether the tag list has a mob reference tag.
|
Modifier and Type | Field and Description |
---|---|
static Tag |
VisibilityUtils.SORTED_ORDINAL_SERIALIZATION_FORMAT_TAG |
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
DefaultVisibilityLabelServiceImpl.createVisibilityExpTags(java.lang.String visExpression,
boolean withSerializationFormat,
boolean checkAuths) |
java.util.List<Tag> |
VisibilityLabelService.createVisibilityExpTags(java.lang.String visExpression,
boolean withSerializationFormat,
boolean checkAuths)
Creates tags corresponding to given visibility expression.
|
static java.util.List<Tag> |
VisibilityUtils.createVisibilityExpTags(java.lang.String visExpression,
boolean withSerializationFormat,
boolean checkAuths,
java.util.Set<java.lang.Integer> auths,
VisibilityLabelOrdinalProvider ordinalProvider) |
Modifier and Type | Method and Description |
---|---|
byte[] |
DefaultVisibilityLabelServiceImpl.encodeVisibilityForReplication(java.util.List<Tag> tags,
java.lang.Byte serializationFormat) |
byte[] |
VisibilityLabelService.encodeVisibilityForReplication(java.util.List<Tag> visTags,
java.lang.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 java.lang.Byte |
VisibilityUtils.extractAndPartitionTags(Cell cell,
java.util.List<Tag> visTags,
java.util.List<Tag> nonVisTags)
Extracts and partitions the visibility tags and nonVisibility Tags
|
static java.lang.Byte |
VisibilityUtils.extractAndPartitionTags(Cell cell,
java.util.List<Tag> visTags,
java.util.List<Tag> nonVisTags)
Extracts and partitions the visibility tags and nonVisibility Tags
|
static java.lang.Byte |
VisibilityUtils.extractVisibilityTags(Cell cell,
java.util.List<Tag> tags)
Extract the visibility tags of the given Cell into the given List
|
boolean |
DefaultVisibilityLabelServiceImpl.matchVisibility(java.util.List<Tag> putVisTags,
java.lang.Byte putTagsFormat,
java.util.List<Tag> deleteVisTags,
java.lang.Byte deleteTagsFormat) |
boolean |
DefaultVisibilityLabelServiceImpl.matchVisibility(java.util.List<Tag> putVisTags,
java.lang.Byte putTagsFormat,
java.util.List<Tag> deleteVisTags,
java.lang.Byte deleteTagsFormat) |
boolean |
VisibilityLabelService.matchVisibility(java.util.List<Tag> putVisTags,
java.lang.Byte putVisTagFormat,
java.util.List<Tag> deleteVisTags,
java.lang.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(java.util.List<Tag> putVisTags,
java.lang.Byte putVisTagFormat,
java.util.List<Tag> deleteVisTags,
java.lang.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.
|