Package openGql.grammar
Class SelectGraphMatch
- java.lang.Object
-
- openGql.grammar.SelectGraphMatch
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SelectGraphMatch>
public class SelectGraphMatch extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SelectGraphMatch>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameGRAPH_EXPRESSIONName of theopenGql.grammar.SelectGraphMatch.graphExpressionfield.GraphExpressiongraphExpressionstatic NameMATCH_STATEMENTName of theopenGql.grammar.SelectGraphMatch.matchStatementfield.MatchStatementmatchStatementstatic NameTYPE_Name of theopenGql.grammar.SelectGraphMatchtype.
-
Constructor Summary
Constructors Constructor Description SelectGraphMatch(GraphExpression graphExpression, MatchStatement matchStatement)Constructs an immutableSelectGraphMatch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SelectGraphMatch other)booleanequals(java.lang.Object other)inthashCode()SelectGraphMatchwithGraphExpression(GraphExpression graphExpression)Returns a copy of thisSelectGraphMatchwithgraphExpressionreplaced.SelectGraphMatchwithMatchStatement(MatchStatement matchStatement)Returns a copy of thisSelectGraphMatchwithmatchStatementreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.SelectGraphMatchtype.
-
GRAPH_EXPRESSION
public static final Name GRAPH_EXPRESSION
Name of theopenGql.grammar.SelectGraphMatch.graphExpressionfield.
-
MATCH_STATEMENT
public static final Name MATCH_STATEMENT
Name of theopenGql.grammar.SelectGraphMatch.matchStatementfield.
-
graphExpression
public final GraphExpression graphExpression
-
matchStatement
public final MatchStatement matchStatement
-
-
Constructor Detail
-
SelectGraphMatch
public SelectGraphMatch(GraphExpression graphExpression, MatchStatement matchStatement)
Constructs an immutableSelectGraphMatch.
-
-
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(SelectGraphMatch other)
- Specified by:
compareToin interfacejava.lang.Comparable<SelectGraphMatch>
-
withGraphExpression
public SelectGraphMatch withGraphExpression(GraphExpression graphExpression)
Returns a copy of thisSelectGraphMatchwithgraphExpressionreplaced.
-
withMatchStatement
public SelectGraphMatch withMatchStatement(MatchStatement matchStatement)
Returns a copy of thisSelectGraphMatchwithmatchStatementreplaced.
-
-