Class ElementVisibility
- java.lang.Object
-
- uk.gov.gchq.gaffer.commonutil.elementvisibilityutil.ElementVisibility
-
public class ElementVisibility extends Object
This class is coped from org.apache.accumulo.core.security.ColumnVisibility.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ElementVisibility.Node
static class
ElementVisibility.NodeType
-
Constructor Summary
Constructors Constructor Description ElementVisibility(byte[] expression)
ElementVisibility(Object expression)
ElementVisibility(String expression)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
equals(ElementVisibility otherLe)
byte[]
getExpression()
ElementVisibility.Node
getParseTree()
int
hashCode()
static byte[]
quote(byte[] term)
static String
quote(String term)
String
toString()
-
-
-
Method Detail
-
getExpression
public byte[] getExpression()
-
quote
public static byte[] quote(byte[] term)
-
equals
public boolean equals(ElementVisibility otherLe)
-
getParseTree
public ElementVisibility.Node getParseTree()
-
-