Package org.apache.hadoop.hbase
Class TagBuilderImpl
java.lang.Object
org.apache.hadoop.hbase.TagBuilderImpl
- All Implemented Interfaces:
TagBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
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 voidvalidate()
-
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:TagBuilderSet type of the tag.- Specified by:
setTagTypein interfaceTagBuilder- Parameters:
tagType- type of the tag- Returns:
TagBuilder
-
setTagValue
Description copied from interface:TagBuilderSet the value of the tag.- Specified by:
setTagValuein interfaceTagBuilder- Parameters:
tagBytes- tag bytes.- Returns:
TagBuilder
-
validate
-
build
Description copied from interface:TagBuilderBuild the tag.- Specified by:
buildin interfaceTagBuilder- Returns:
Tag
-