Class DefaultVisibilityExpressionResolver
java.lang.Object
org.apache.hadoop.hbase.mapreduce.DefaultVisibilityExpressionResolver
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,VisibilityExpressionResolver
@Private
public class DefaultVisibilityExpressionResolver
extends Object
implements VisibilityExpressionResolver
This implementation creates tags by expanding expression using label ordinal. Labels will be
serialized in sorted order of it's ordinal.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateVisibilityExpTags
(String visExpression) Convert visibility expression into tags to be serialized.org.apache.hadoop.conf.Configuration
getConf()
void
init()
Giving a chance for the initialization.void
setConf
(org.apache.hadoop.conf.Configuration conf)
-
Field Details
-
LOG
-
conf
-
labels
-
-
Constructor Details
-
DefaultVisibilityExpressionResolver
public DefaultVisibilityExpressionResolver()
-
-
Method Details
-
getConf
- Specified by:
getConf
in interfaceorg.apache.hadoop.conf.Configurable
-
setConf
- Specified by:
setConf
in interfaceorg.apache.hadoop.conf.Configurable
-
init
Description copied from interface:VisibilityExpressionResolver
Giving a chance for the initialization.- Specified by:
init
in interfaceVisibilityExpressionResolver
-
createVisibilityExpTags
Description copied from interface:VisibilityExpressionResolver
Convert visibility expression into tags to be serialized.- Specified by:
createVisibilityExpTags
in interfaceVisibilityExpressionResolver
- Parameters:
visExpression
- the label expression- Returns:
- The list of tags corresponds to the visibility expression. These tags will be stored along with the Cells.
- Throws:
IOException
-