org.apache.hadoop.hbase.security.visibility
Class CellVisibility
java.lang.Object
org.apache.hadoop.hbase.security.visibility.CellVisibility
@InterfaceAudience.Public
@InterfaceStability.Unstable
public class CellVisibility
- extends Object
This contains a visibility expression which can be associated with a cell. When it is set with a
Mutation, all the cells in that mutation will get associated with this expression. A visibility
expression can contain visibility labels combined with logical operators AND(&), OR(|) and NOT(!)
CellVisibility
public CellVisibility(String expression)
getExpression
public String getExpression()
- Returns:
- The visibility expression
toString
public String toString()
- Overrides:
toString
in class Object
quote
public static String quote(String auth)
- Helps in quoting authentication Strings. Use this if unicode characters to
be used in expression or special characters like '(', ')',
'"','\','&','|','!'
quote
public static String quote(byte[] auth)
- Helps in quoting authentication Strings. Use this if unicode characters to
be used in expression or special characters like '(', ')',
'"','\','&','|','!'
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.