Uses of Interface
org.apache.hadoop.hbase.Tag
Package
Description
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-
Uses of org.apache.hadoop.hbase.Tag in org.apache.hadoop.hbase
Modifier and TypeClassDescriptionclass
org.apache.hadoop.hbase.ArrayBackedTag
This is aTag
implementation in which value is backed by an on heap byte array.class
org.apache.hadoop.hbase.ByteBufferTag
This is aTag
implementation in which value is backed byByteBuffer
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.Tag
TagBuilder.build()
Build the tag.Modifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.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<org.apache.hadoop.hbase.Tag>
TagUtil.carryForwardTags
(List<org.apache.hadoop.hbase.Tag> tagsOrNull, org.apache.hadoop.hbase.ExtendedCell cell) Add totagsOrNull
any Tagscell
is carrying or null if none.static List<org.apache.hadoop.hbase.Tag>
TagUtil.carryForwardTags
(org.apache.hadoop.hbase.ExtendedCell cell) Returns A List<Tag> of any Tags found incell
else null.static List<org.apache.hadoop.hbase.Tag>
TagUtil.carryForwardTTLTag
(List<org.apache.hadoop.hbase.Tag> tagsOrNull, long ttl) Returns Carry forward the TTL tag.Optional<org.apache.hadoop.hbase.Tag>
ByteBufferKeyOnlyKeyValue.getTag
(byte type) static Optional<org.apache.hadoop.hbase.Tag>
PrivateCellUtil.getTag
(org.apache.hadoop.hbase.ExtendedCell cell, byte type) Retrieve Cell's first tag, matching the passed in typedefault Optional<org.apache.hadoop.hbase.Tag>
RawCell.getTag
(byte type) Returns the specific tag of the given typeIterator<org.apache.hadoop.hbase.Tag>
ByteBufferKeyOnlyKeyValue.getTags()
static List<org.apache.hadoop.hbase.Tag>
PrivateCellUtil.getTags
(org.apache.hadoop.hbase.ExtendedCell cell) Return tags in the given Cell as a Listdefault Iterator<org.apache.hadoop.hbase.Tag>
RawCell.getTags()
Creates a list of tags in the current cellstatic Iterator<org.apache.hadoop.hbase.Tag>
PrivateCellUtil.tagsIterator
(ByteBuffer tags, int offset, int length) static Iterator<org.apache.hadoop.hbase.Tag>
PrivateCellUtil.tagsIterator
(org.apache.hadoop.hbase.ExtendedCell cell) Utility method to iterate through the tags in the given cell.Modifier and TypeMethodDescriptionstatic byte[]
Tag.cloneValue
(org.apache.hadoop.hbase.Tag tag) Returns tag value in a new byte array.static void
Tag.copyValueTo
(org.apache.hadoop.hbase.Tag tag, byte[] out, int offset) Copies the tag's value bytes to the given byte arraystatic byte
Tag.getValueAsByte
(org.apache.hadoop.hbase.Tag tag) Converts the value bytes of the given tag into a byte valuestatic long
Tag.getValueAsLong
(org.apache.hadoop.hbase.Tag tag) Converts the value bytes of the given tag into a long valuestatic String
Tag.getValueAsString
(org.apache.hadoop.hbase.Tag tag) Converts the value bytes of the given tag into a String valuestatic boolean
Tag.matchingValue
(org.apache.hadoop.hbase.Tag t1, org.apache.hadoop.hbase.Tag t2) Matches the value part of given tagsTagUtil.readVIntValuePart
(org.apache.hadoop.hbase.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, org.apache.hadoop.hbase.KeyValue.Type type, byte[] value, int voffset, int vlength, org.apache.hadoop.hbase.Tag[] tags) Write KeyValue format into the provided byte array.Modifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.Tag>
TagUtil.carryForwardTags
(List<org.apache.hadoop.hbase.Tag> tagsOrNull, org.apache.hadoop.hbase.ExtendedCell cell) Add totagsOrNull
any Tagscell
is carrying or null if none.static List<org.apache.hadoop.hbase.Tag>
TagUtil.carryForwardTTLTag
(List<org.apache.hadoop.hbase.Tag> tagsOrNull, long ttl) Returns Carry forward the TTL tag.static org.apache.hadoop.hbase.ExtendedCell
PrivateCellUtil.createCell
(org.apache.hadoop.hbase.ExtendedCell cell, List<org.apache.hadoop.hbase.Tag> tags) Returns A new cell which is having the extra tags also added to it.static org.apache.hadoop.hbase.Cell
RawCell.createCell
(org.apache.hadoop.hbase.Cell cell, List<org.apache.hadoop.hbase.Tag> tags) Returns A new cell which is having the extra tags also added to it.static byte[]
TagUtil.fromList
(List<org.apache.hadoop.hbase.Tag> tags) Write a list of tags into a byte array Note : these are all purely internal APIs.org.apache.hadoop.hbase.ExtendedCellBuilder
ExtendedCellBuilder.setTags
(List<org.apache.hadoop.hbase.Tag> tags) org.apache.hadoop.hbase.ExtendedCellBuilder
ExtendedCellBuilderImpl.setTags
(List<org.apache.hadoop.hbase.Tag> tags) org.apache.hadoop.hbase.RawCellBuilder
RawCellBuilder.setTags
(List<org.apache.hadoop.hbase.Tag> tags) ModifierConstructorDescriptionKeyValue
(byte[] row, byte[] family, byte[] qualifier, long timestamp, byte[] value, org.apache.hadoop.hbase.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, org.apache.hadoop.hbase.KeyValue.Type type, byte[] value, int voffset, int vlength, org.apache.hadoop.hbase.Tag[] tags) Constructs KeyValue structure filled with specified values.ModifierConstructorDescriptionKeyValue
(byte[] row, byte[] family, byte[] qualifier, int qoffset, int qlength, long timestamp, org.apache.hadoop.hbase.KeyValue.Type type, byte[] value, int voffset, int vlength, List<org.apache.hadoop.hbase.Tag> tags) Constructs KeyValue structure filled with specified values.KeyValue
(byte[] row, byte[] family, byte[] qualifier, long timestamp, byte[] value, List<org.apache.hadoop.hbase.Tag> tags) Constructs KeyValue structure filled with specified values.KeyValue
(byte[] row, byte[] family, byte[] qualifier, long timestamp, org.apache.hadoop.hbase.KeyValue.Type type, byte[] value, List<org.apache.hadoop.hbase.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, org.apache.hadoop.hbase.KeyValue.Type type, byte[] value, int voffset, int vlength, List<org.apache.hadoop.hbase.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, org.apache.hadoop.hbase.KeyValue.Type type, ByteBuffer value, List<org.apache.hadoop.hbase.Tag> tags) -
Uses of org.apache.hadoop.hbase.Tag in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionList<org.apache.hadoop.hbase.Tag>
DefaultVisibilityExpressionResolver.createVisibilityExpTags
(String visExpression) List<org.apache.hadoop.hbase.Tag>
VisibilityExpressionResolver.createVisibilityExpTags
(String visExpression) Convert visibility expression into tags to be serialized.Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.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<org.apache.hadoop.hbase.Tag> tags) -
Uses of org.apache.hadoop.hbase.Tag in org.apache.hadoop.hbase.mob
Modifier and TypeFieldDescriptionstatic final org.apache.hadoop.hbase.Tag
MobConstants.MOB_REF_TAG
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.ExtendedCell
MobUtils.createMobRefCell
(org.apache.hadoop.hbase.ExtendedCell cell, byte[] fileName, org.apache.hadoop.hbase.Tag tableNameTag) Creates a mob reference KeyValue.Modifier and TypeMethodDescriptionstatic boolean
MobUtils.hasMobReferenceTag
(List<org.apache.hadoop.hbase.Tag> tags) Whether the tag list has a mob reference tag.