Class JoinExpression
- java.lang.Object
-
- com.gdblab.pathAlgebra.expressions.JoinExpression
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JoinExpression>
public class JoinExpression extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<JoinExpression>
Join operator: expr1 ⊲⊳ expr2- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description PathExpressionleftstatic NameLEFTName of thecom.gdblab.pathAlgebra.expressions.JoinExpression.leftfield.PathExpressionrightstatic NameRIGHTName of thecom.gdblab.pathAlgebra.expressions.JoinExpression.rightfield.static NameTYPE_Name of thecom.gdblab.pathAlgebra.expressions.JoinExpressiontype.
-
Constructor Summary
Constructors Constructor Description JoinExpression(PathExpression left, PathExpression right)Constructs an immutableJoinExpression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(JoinExpression other)booleanequals(java.lang.Object other)inthashCode()JoinExpressionwithLeft(PathExpression left)Returns a copy of thisJoinExpressionwithleftreplaced.JoinExpressionwithRight(PathExpression right)Returns a copy of thisJoinExpressionwithrightreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thecom.gdblab.pathAlgebra.expressions.JoinExpressiontype.
-
LEFT
public static final Name LEFT
Name of thecom.gdblab.pathAlgebra.expressions.JoinExpression.leftfield.
-
RIGHT
public static final Name RIGHT
Name of thecom.gdblab.pathAlgebra.expressions.JoinExpression.rightfield.
-
left
public final PathExpression left
-
right
public final PathExpression right
-
-
Constructor Detail
-
JoinExpression
public JoinExpression(PathExpression left, PathExpression right)
Constructs an immutableJoinExpression.
-
-
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(JoinExpression other)
- Specified by:
compareToin interfacejava.lang.Comparable<JoinExpression>
-
withLeft
public JoinExpression withLeft(PathExpression left)
Returns a copy of thisJoinExpressionwithleftreplaced.
-
withRight
public JoinExpression withRight(PathExpression right)
Returns a copy of thisJoinExpressionwithrightreplaced.
-
-