Uses of Interface
org.apache.hadoop.hbase.Tag
Packages that use Tag
Package
Description
Provides HBase Client
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next().Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-
Uses of Tag in org.apache.hadoop.hbase
Classes in org.apache.hadoop.hbase that implement TagModifier and TypeClassDescriptionclassThis is aTagimplementation in which value is backed by an on heap byte array.classThis is aTagimplementation in which value is backed byByteBufferFields in org.apache.hadoop.hbase with type parameters of type TagMethods in org.apache.hadoop.hbase that return TagMethods in org.apache.hadoop.hbase that return types with arguments of type TagModifier and TypeMethodDescriptionTagUtil.asList(byte[] b, int offset, int length) Creates list of tags from given byte array, expected that it is in the expected tag format.TagUtil.carryForwardTags(List<Tag> tagsOrNull, ExtendedCell cell) Add totagsOrNullany Tagscellis carrying or null if none.TagUtil.carryForwardTags(ExtendedCell cell) Returns A List<Tag> of any Tags found incellelse null.TagUtil.carryForwardTTLTag(List<Tag> tagsOrNull, long ttl) Returns Carry forward the TTL tag.ByteBufferKeyOnlyKeyValue.getTag(byte type) PrivateCellUtil.getTag(ExtendedCell cell, byte type) Retrieve Cell's first tag, matching the passed in typeRawCell.getTag(byte type) Returns the specific tag of the given typeByteBufferKeyOnlyKeyValue.getTags()PrivateCellUtil.getTags(ExtendedCell cell) Return tags in the given Cell as a ListRawCell.getTags()Creates a list of tags in the current cellPrivateCellUtil.tagsIterator(ByteBuffer tags, int offset, int length) PrivateCellUtil.tagsIterator(ExtendedCell cell) Utility method to iterate through the tags in the given cell.Methods in org.apache.hadoop.hbase with parameters of type TagModifier and TypeMethodDescriptionstatic byte[]Tag.cloneValue(Tag tag) Returns tag value in a new byte array.static voidTag.copyValueTo(Tag tag, byte[] out, int offset) Copies the tag's value bytes to the given byte arraystatic byteTag.getValueAsByte(Tag tag) Converts the value bytes of the given tag into a byte valuestatic longTag.getValueAsLong(Tag tag) Converts the value bytes of the given tag into a long valuestatic StringTag.getValueAsString(Tag tag) Converts the value bytes of the given tag into a String valuestatic booleanTag.matchingValue(Tag t1, Tag t2) Matches the value part of given tagsTagUtil.readVIntValuePart(Tag tag, int offset) Reads an int value stored as a VInt at tag's given offset.static intKeyValue.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.Method parameters in org.apache.hadoop.hbase with type arguments of type TagModifier and TypeMethodDescriptionTagUtil.carryForwardTags(List<Tag> tagsOrNull, ExtendedCell cell) Add totagsOrNullany Tagscellis carrying or null if none.TagUtil.carryForwardTTLTag(List<Tag> tagsOrNull, long ttl) Returns Carry forward the TTL tag.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 ExtendedCellPrivateCellUtil.createCell(ExtendedCell cell, List<Tag> tags) Returns A new cell which is having the extra tags also added to it.static CellRawCell.createCell(Cell cell, List<Tag> tags) Returns A new cell which is having the extra tags also added to it.static byte[]Write a list of tags into a byte array Note : these are all purely internal APIs.Constructors in org.apache.hadoop.hbase with parameters of type TagModifierConstructorDescriptionConstructs 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 parameters in org.apache.hadoop.hbase with type arguments of type TagModifierConstructorDescriptionKeyValue(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.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) -
Uses of Tag in org.apache.hadoop.hbase.client
Methods in org.apache.hadoop.hbase.client with parameters of type TagModifier and TypeMethodDescription(package private) KeyValueMutation.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) KeyValueMutation.createPutKeyValue(byte[] family, ByteBuffer qualifier, long ts, ByteBuffer value, Tag[] tags) Create a KeyValue with this objects row key and the Put identifier. -
Uses of Tag in org.apache.hadoop.hbase.filter
Methods in org.apache.hadoop.hbase.filter that return types with arguments of type Tag -
Uses of Tag in org.apache.hadoop.hbase.mapreduce
Fields in org.apache.hadoop.hbase.mapreduce with type parameters of type TagMethods in org.apache.hadoop.hbase.mapreduce that return types with arguments of type TagModifier and TypeMethodDescriptionDefaultVisibilityExpressionResolver.createVisibilityExpTags(String visExpression) VisibilityExpressionResolver.createVisibilityExpTags(String visExpression) Convert visibility expression into tags to be serialized.Method parameters in org.apache.hadoop.hbase.mapreduce with type arguments of type Tag -
Uses of Tag in org.apache.hadoop.hbase.mob
Fields in org.apache.hadoop.hbase.mob declared as TagMethods in org.apache.hadoop.hbase.mob that return types with arguments of type TagModifier and TypeMethodDescriptionMobUtils.getTableNameTag(ExtendedCell cell) Gets the table name tag.Methods in org.apache.hadoop.hbase.mob with parameters of type TagModifier and TypeMethodDescriptionstatic ExtendedCellMobUtils.createMobRefCell(ExtendedCell cell, byte[] fileName, Tag tableNameTag) Creates a mob reference KeyValue.Method parameters in org.apache.hadoop.hbase.mob with type arguments of type TagModifier and TypeMethodDescriptionstatic booleanMobUtils.hasMobReferenceTag(List<Tag> tags) Whether the tag list has a mob reference tag. -
Uses of Tag in org.apache.hadoop.hbase.security.visibility
Fields in org.apache.hadoop.hbase.security.visibility declared as TagModifier and TypeFieldDescriptionprivate static final Tag[]DefaultVisibilityLabelServiceImpl.LABELS_TABLE_TAGSstatic final TagVisibilityUtils.SORTED_ORDINAL_SERIALIZATION_FORMAT_TAGFields in org.apache.hadoop.hbase.security.visibility with type parameters of type TagModifier and TypeFieldDescriptionVisibilityController.DeleteVersionVisibilityExpressionFilter.deleteCellVisTagsVisibilityScanDeleteTracker.EMPTY_TAGThis tag is used for the DELETE cell which has no visibility label.VisibilityNewVersionBehaivorTracker.TagInfo.tagsVisibilityScanDeleteTracker.visibilityTagsDeleteColumnsVisibilityScanDeleteTracker.visibilityTagsDeleteFamilyVisibilityScanDeleteTracker.visibilityTagsDeleteFamilyVersionVisibilityScanDeleteTracker.visiblityTagsDeleteColumnVersionMethods in org.apache.hadoop.hbase.security.visibility that return types with arguments of type TagModifier and TypeMethodDescriptionVisibilityController.checkForReservedVisibilityTagPresence(ExtendedCell cell, Pair<Boolean, Tag> pair) Checks whether cell contains any tag with type as VISIBILITY_TAG_TYPE.DefaultVisibilityLabelServiceImpl.createVisibilityExpTags(String visExpression, boolean withSerializationFormat, boolean checkAuths) VisibilityLabelService.createVisibilityExpTags(String visExpression, boolean withSerializationFormat, boolean checkAuths) Creates tags corresponding to given visibility expression.VisibilityUtils.createVisibilityExpTags(String visExpression, boolean withSerializationFormat, boolean checkAuths, Set<Integer> auths, VisibilityLabelOrdinalProvider ordinalProvider) Methods in org.apache.hadoop.hbase.security.visibility with parameters of type TagModifier and TypeMethodDescriptionprivate static voidDefaultVisibilityLabelServiceImpl.getSortedTagOrdinals(List<List<Integer>> fullTagsList, Tag tag) Method parameters in org.apache.hadoop.hbase.security.visibility with type arguments of type TagModifier and TypeMethodDescriptionVisibilityController.checkForReservedVisibilityTagPresence(ExtendedCell cell, Pair<Boolean, Tag> pair) Checks whether cell contains any tag with type as VISIBILITY_TAG_TYPE.private byte[]DefaultVisibilityLabelServiceImpl.createModifiedVisExpression(List<Tag> tags) - all the visibility tags associated with the current Cellbyte[]DefaultVisibilityLabelServiceImpl.encodeVisibilityForReplication(List<Tag> tags, Byte serializationFormat) byte[]VisibilityLabelService.encodeVisibilityForReplication(List<Tag> visTags, Byte serializationFormat) Provides a way to modify the visibility tags of typeTagType.VISIBILITY_TAG_TYPE, that are part of the cell created from the WALEdits that are prepared for replication while callingReplicationEndpoint.replicate().static ByteVisibilityUtils.extractAndPartitionTags(ExtendedCell cell, List<Tag> visTags, List<Tag> nonVisTags) Extracts and partitions the visibility tags and nonVisibility Tagsstatic ByteVisibilityUtils.extractVisibilityTags(ExtendedCell cell, List<Tag> tags) Extract the visibility tags of the given Cell into the given Listprivate static booleanDefaultVisibilityLabelServiceImpl.matchOrdinalSortedVisibilityTags(List<Tag> putVisTags, List<Tag> deleteVisTags) private static booleanDefaultVisibilityLabelServiceImpl.matchUnSortedVisibilityTags(List<Tag> putVisTags, List<Tag> deleteVisTags) booleanDefaultVisibilityLabelServiceImpl.matchVisibility(List<Tag> putVisTags, Byte putTagsFormat, List<Tag> deleteVisTags, Byte deleteTagsFormat) booleanVisibilityLabelService.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 voidVisibilityController.removeReplicationVisibilityTag(List<Tag> tags) DefaultVisibilityLabelServiceImpl.sortTagsBasedOnOrdinal(List<Tag> tags) Constructor parameters in org.apache.hadoop.hbase.security.visibility with type arguments of type TagModifierConstructorDescriptionDeleteVersionVisibilityExpressionFilter(List<Tag> deleteCellVisTags, Byte deleteCellVisTagsFormat)