Package | Description |
---|---|
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.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 | Class and Description |
---|---|
class |
ArrayBackedTag
This is a
Tag implementation in which value is backed by an on heap byte array. |
class |
ByteBufferTag
This is a
Tag implementation in which value is backed by
ByteBuffer |
Modifier and Type | Field and Description |
---|---|
private static ArrayList<Tag> |
KeyValue.EMPTY_ARRAY_LIST |
(package private) static Iterator<Tag> |
TagUtil.EMPTY_TAGS_ITR
Iterator returned when no Tags.
|
Modifier and Type | Method and Description |
---|---|
static Tag |
CellUtil.getTag(Cell cell,
byte type)
Deprecated.
As of 2.0.0 and will be removed in HBase-3.0.0
Use
RawCell.getTag(byte) |
Modifier and Type | Method and Description |
---|---|
static List<Tag> |
TagUtil.asList(byte[] b,
int offset,
int length)
Creates list of tags from given byte array, expected that it is in the expected tag format.
|
static List<Tag> |
TagUtil.carryForwardTags(Cell cell) |
static List<Tag> |
TagUtil.carryForwardTags(List<Tag> tagsOrNull,
Cell cell)
Add to
tagsOrNull any Tags cell is carrying or null if none. |
static List<Tag> |
TagUtil.carryForwardTTLTag(List<Tag> tagsOrNull,
long ttl) |
default Optional<Tag> |
RawCell.getTag(byte type)
Returns the specific tag of the given type
|
Optional<Tag> |
ByteBufferKeyOnlyKeyValue.getTag(byte type) |
static Optional<Tag> |
PrivateCellUtil.getTag(Cell cell,
byte type)
Retrieve Cell's first tag, matching the passed in type
|
default Iterator<Tag> |
RawCell.getTags()
Creates a list of tags in the current cell
|
Iterator<Tag> |
ByteBufferKeyOnlyKeyValue.getTags() |
static List<Tag> |
CellUtil.getTags(Cell cell)
Deprecated.
As of 2.0.0 and will be removed in 3.0.0
|
static List<Tag> |
PrivateCellUtil.getTags(Cell cell) |
static Iterator<Tag> |
CellUtil.tagsIterator(byte[] tags,
int offset,
int length)
Deprecated.
As of 2.0.0 and will be removed in 3.0.0 Instead use
PrivateCellUtil.tagsIterator(Cell) |
static Iterator<Tag> |
PrivateCellUtil.tagsIterator(ByteBuffer tags,
int offset,
int length) |
static Iterator<Tag> |
PrivateCellUtil.tagsIterator(Cell cell)
Util method to iterate through the tags in the given cell.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
Tag.cloneValue(Tag tag)
Returns tag value in a new byte array.
|
static void |
Tag.copyValueTo(Tag tag,
byte[] out,
int offset)
Copies the tag's value bytes to the given byte array
|
static byte |
Tag.getValueAsByte(Tag tag)
Converts the value bytes of the given tag into a byte value
|
static long |
Tag.getValueAsLong(Tag tag)
Converts the value bytes of the given tag into a long value
|
static String |
Tag.getValueAsString(Tag tag)
Converts the value bytes of the given tag into a String value
|
static boolean |
Tag.matchingValue(Tag t1,
Tag t2)
Matches the value part of given tags
|
static Pair<Integer,Integer> |
TagUtil.readVIntValuePart(Tag tag,
int offset)
Reads an int value stored as a VInt at tag's given offset.
|
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> |
TagUtil.carryForwardTags(List<Tag> tagsOrNull,
Cell cell)
Add to
tagsOrNull any Tags cell is carrying or null if none. |
static List<Tag> |
TagUtil.carryForwardTTLTag(List<Tag> tagsOrNull,
long ttl) |
private static byte[] |
KeyValue.createByteArray(byte[] row,
int roffset,
int rlength,
byte[] family,
int foffset,
int flength,
Object qualifier,
int qoffset,
int qlength,
long timestamp,
KeyValue.Type type,
Object value,
int voffset,
int vlength,
List<Tag> tags) |
static Cell |
CellUtil.createCell(Cell cell,
List<Tag> tags)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
|
static Cell |
PrivateCellUtil.createCell(Cell cell,
List<Tag> tags) |
static byte[] |
TagUtil.fromList(List<Tag> tags)
Write a list of tags into a byte array
Note : these are all purely internal APIs.
|
ExtendedCellBuilder |
ExtendedCellBuilderImpl.setTags(List<Tag> tags) |
RawCellBuilder |
RawCellBuilder.setTags(List<Tag> tags) |
ExtendedCellBuilder |
ExtendedCellBuilder.setTags(List<Tag> 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 |
---|---|
Optional<Tag> |
Mutation.CellWrapper.getTag(byte type) |
Iterator<Tag> |
Mutation.CellWrapper.getTags() |
Modifier and Type | Method and Description |
---|---|
(package private) KeyValue |
Mutation.createPutKeyValue(byte[] family,
byte[] qualifier,
long ts,
byte[] value,
Tag[] tags)
Create a KeyValue with this objects row key and the Put identifier.
|
(package private) KeyValue |
Mutation.createPutKeyValue(byte[] family,
ByteBuffer qualifier,
long ts,
ByteBuffer value,
Tag[] tags) |
Modifier and Type | Method and Description |
---|---|
Optional<Tag> |
KeyOnlyFilter.KeyOnlyByteBufferExtendedCell.getTag(byte type) |
Iterator<Tag> |
KeyOnlyFilter.KeyOnlyByteBufferExtendedCell.getTags() |
Modifier and Type | Field and Description |
---|---|
private List<Tag> |
TsvImporterMapper.tags
List of cell tags
|
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 |
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 boolean |
MobUtils.hasMobReferenceTag(List<Tag> tags)
Whether the tag list has a mob reference tag.
|
Modifier and Type | Field and Description |
---|---|
private static Tag[] |
DefaultVisibilityLabelServiceImpl.LABELS_TABLE_TAGS |
static Tag |
VisibilityUtils.SORTED_ORDINAL_SERIALIZATION_FORMAT_TAG |
Modifier and Type | Field and Description |
---|---|
private List<Tag> |
VisibilityController.DeleteVersionVisibilityExpressionFilter.deleteCellVisTags |
private static List<Tag> |
VisibilityScanDeleteTracker.EMPTY_TAG
This tag is used for the DELETE cell which has no visibility label.
|
(package private) List<Tag> |
VisibilityNewVersionBehaivorTracker.TagInfo.tags |
private List<Pair<List<Tag>,Byte>> |
VisibilityScanDeleteTracker.visibilityTagsDeleteColumns |
private List<Triple<List<Tag>,Byte,Long>> |
VisibilityScanDeleteTracker.visibilityTagsDeleteFamily |
private List<Triple<List<Tag>,Byte,Long>> |
VisibilityScanDeleteTracker.visibilityTagsDeleteFamilyVersion |
private List<Pair<List<Tag>,Byte>> |
VisibilityScanDeleteTracker.visiblityTagsDeleteColumnVersion |
Modifier and Type | Method and Description |
---|---|
private Pair<Boolean,Tag> |
VisibilityController.checkForReservedVisibilityTagPresence(Cell cell,
Pair<Boolean,Tag> pair)
Checks whether cell contains any tag with type as VISIBILITY_TAG_TYPE.
|
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 |
---|---|
private static void |
DefaultVisibilityLabelServiceImpl.getSortedTagOrdinals(List<List<Integer>> fullTagsList,
Tag tag) |
Modifier and Type | Method and Description |
---|---|
private Pair<Boolean,Tag> |
VisibilityController.checkForReservedVisibilityTagPresence(Cell cell,
Pair<Boolean,Tag> pair)
Checks whether cell contains any tag with type as VISIBILITY_TAG_TYPE.
|
private byte[] |
DefaultVisibilityLabelServiceImpl.createModifiedVisExpression(List<Tag> tags) |
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
|
private static boolean |
DefaultVisibilityLabelServiceImpl.matchOrdinalSortedVisibilityTags(List<Tag> putVisTags,
List<Tag> deleteVisTags) |
private static boolean |
DefaultVisibilityLabelServiceImpl.matchOrdinalSortedVisibilityTags(List<Tag> putVisTags,
List<Tag> deleteVisTags) |
private static boolean |
DefaultVisibilityLabelServiceImpl.matchUnSortedVisibilityTags(List<Tag> putVisTags,
List<Tag> deleteVisTags) |
private static boolean |
DefaultVisibilityLabelServiceImpl.matchUnSortedVisibilityTags(List<Tag> putVisTags,
List<Tag> deleteVisTags) |
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.
|
private void |
VisibilityController.removeReplicationVisibilityTag(List<Tag> tags) |
private static List<List<Integer>> |
DefaultVisibilityLabelServiceImpl.sortTagsBasedOnOrdinal(List<Tag> tags) |
Constructor and Description |
---|
DeleteVersionVisibilityExpressionFilter(List<Tag> deleteCellVisTags,
Byte deleteCellVisTagsFormat) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.