org.apache.hadoop.hbase.mapreduce
Interface VisibilityExpressionResolver

All Superinterfaces:
org.apache.hadoop.conf.Configurable
All Known Implementing Classes:
DefaultVisibilityExpressionResolver

@InterfaceAudience.Public
@InterfaceStability.Unstable
public interface VisibilityExpressionResolver
extends org.apache.hadoop.conf.Configurable

Interface to convert visibility expressions into Tags for storing along with Cells in HFiles.


Method Summary
 List<Tag> createVisibilityExpTags(String visExpression)
          Convert visibility expression into tags to be serialized.
 void init()
          Giving a chance for the initialization.
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Method Detail

init

void init()
Giving a chance for the initialization.


createVisibilityExpTags

List<Tag> createVisibilityExpTags(String visExpression)
                                  throws IOException
Convert visibility expression into tags to be serialized.

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


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.