object VisibilityEvaluator
Evaluates visibilities against authorizations. Abstracted from Accumulo visibility code
- Annotations
- @deprecated
- Deprecated
Replaced with org.apache.accumulo:accumulo-access
- Alphabetic
- By Inheritance
- VisibilityEvaluator
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
VisibilityAnd(expressions: Seq[VisibilityExpression]) extends VisibilityExpression with Product with Serializable
Boolean AND of visibilities
Boolean AND of visibilities
- expressions
visibilities
-
case class
VisibilityOr(expressions: Seq[VisibilityExpression]) extends VisibilityExpression with Product with Serializable
Boolean OR of visibilities
Boolean OR of visibilities
- expressions
visibilities
-
case class
VisibilityValue(value: Array[Byte]) extends VisibilityExpression with Product with Serializable
A specific visibility tag, which can only be seen by the equivalent authorization
A specific visibility tag, which can only be seen by the equivalent authorization
- value
visibility tag
-
sealed
trait
VisibilityExpression extends AnyRef
Parsed visibility that can be evaluated
Parsed visibility that can be evaluated
- Annotations
- @deprecated
- Deprecated
Replaced with org.apache.accumulo:accumulo-access
Value Members
-
def
parse(visibility: String, report: Boolean = false): VisibilityExpression
Parses a visibility from a string.
Parses a visibility from a string. Results are cached for repeated calls
Per standard operator precedence, the binary
&
has higher precedence than|
, i.e.user|admin&test
is the same asuser|(admin&test)
anduser&admin|test
is the same as(user&admin)|test
- visibility
visibility string, e.g. 'admin|user'
- report
provide detailed reporting on errors, or not
- returns
parsed visibility expression
- Annotations
- @throws( classOf[ParsingException] )
- Exceptions thrown
org.parboiled.errors.ParsingException
if visibility is not valid
- object VisibilityExpression
-
object
VisibilityNone extends VisibilityExpression with Product with Serializable
No visibility restrictions, can be seen by anyone