Class CellVisibility

java.lang.Object
org.apache.hadoop.hbase.security.visibility.CellVisibility

@Public 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(!)
  • Field Details

  • Constructor Details

  • Method Details

    • 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 '(', ')', '"','\','&','|','!'