Package org.apache.hadoop.hbase
Class TagBuilderImpl
java.lang.Object
org.apache.hadoop.hbase.TagBuilderImpl
- All Implemented Interfaces:
TagBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the tag.setTagType
(byte tagType) Set type of the tag.setTagValue
(byte[] tagBytes) Set the value of the tag.private void
validate()
-
Field Details
-
tagType
-
tagBytes
-
TAG_TYPE_NOT_SET_EXCEPTION
- See Also:
-
TAG_VALUE_NULL_EXCEPTION
- See Also:
-
-
Constructor Details
-
TagBuilderImpl
-
-
Method Details
-
setTagType
Description copied from interface:TagBuilder
Set type of the tag.- Specified by:
setTagType
in interfaceTagBuilder
- Parameters:
tagType
- type of the tag- Returns:
TagBuilder
-
setTagValue
Description copied from interface:TagBuilder
Set the value of the tag.- Specified by:
setTagValue
in interfaceTagBuilder
- Parameters:
tagBytes
- tag bytes.- Returns:
TagBuilder
-
validate
-
build
Description copied from interface:TagBuilder
Build the tag.- Specified by:
build
in interfaceTagBuilder
- Returns:
Tag
-