org.apache.hadoop.hbase.security.visibility
Interface VisibilityExpEvaluator


@InterfaceAudience.Public
@InterfaceStability.Unstable
public interface VisibilityExpEvaluator

During the read (ie. get/Scan) the VisibilityController calls this interface for each of the Cell. Depending on the evaluate() result, a cell can be either included or filtered out from the read results.


Method Summary
 boolean evaluate(Cell cell)
          Evaluates whether the passed cell passes Scan/Get Authorization.
 

Method Detail

evaluate

boolean evaluate(Cell cell)
                 throws IOException
Evaluates whether the passed cell passes Scan/Get Authorization.

Parameters:
cell - Cell under evaluation
Returns:
true if this cell can be included in the Result. Else false.
Throws:
IOException


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.