Class PathExpression.Recursive
- java.lang.Object
-
- com.gdblab.pathAlgebra.expressions.PathExpression
-
- com.gdblab.pathAlgebra.expressions.PathExpression.Recursive
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PathExpression>
- Enclosing class:
- PathExpression
public static final class PathExpression.Recursive extends PathExpression implements java.io.Serializable
Recursive operator (φ): compute transitive closure with semantics- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.gdblab.pathAlgebra.expressions.PathExpression
PathExpression.Base, PathExpression.GroupBy, PathExpression.Join, PathExpression.OrderBy, PathExpression.PartialVisitor<R>, PathExpression.Projection, PathExpression.Recursive, PathExpression.Selection, PathExpression.Union, PathExpression.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description RecursiveExpressionvalue-
Fields inherited from class com.gdblab.pathAlgebra.expressions.PathExpression
BASE, GROUP_BY, JOIN, ORDER_BY, PROJECTION, RECURSIVE, SELECTION, TYPE_, UNION
-
-
Constructor Summary
Constructors Constructor Description Recursive(RecursiveExpression value)Constructs an immutablePathExpression.Recursive.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(PathExpression.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(PathExpression other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final RecursiveExpression value
-
-
Constructor Detail
-
Recursive
public Recursive(RecursiveExpression value)
Constructs an immutablePathExpression.Recursive.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(PathExpression other)
- Specified by:
compareToin interfacejava.lang.Comparable<PathExpression>
-
accept
public <R> R accept(PathExpression.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classPathExpression
-
-