public class VisibilityEvaluator extends Object
Constructor and Description |
---|
VisibilityEvaluator(Authorizations authorizations)
The VisibilityEvaluator computes a trie from the given Authorizations, that ColumnVisibility expressions can be evaluated against.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
escape(byte[] auth,
boolean quote) |
boolean |
evaluate(ColumnVisibility visibility) |
Authorizations |
getAuthorizations() |
public VisibilityEvaluator(Authorizations authorizations)
public static byte[] escape(byte[] auth, boolean quote)
public Authorizations getAuthorizations()
public boolean evaluate(ColumnVisibility visibility) throws VisibilityParseException
VisibilityParseException
Copyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.