Package openGql.grammar
Class LetValueExpression
- java.lang.Object
-
- openGql.grammar.LetValueExpression
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LetValueExpression>
public class LetValueExpression extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<LetValueExpression>
A GQL let value expression- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLetValueExpression.BuilderA fluent builder forLetValueExpression.
-
Field Summary
Fields Modifier and Type Field Description static NameLET_VARIABLESName of theopenGql.grammar.LetValueExpression.letVariablesfield.java.util.List<LetVariableDefinition>letVariablesstatic NameTYPE_Name of theopenGql.grammar.LetValueExpressiontype.static NameVALUE_EXPRESSIONName of theopenGql.grammar.LetValueExpression.valueExpressionfield.ValueExpressionvalueExpression
-
Constructor Summary
Constructors Constructor Description LetValueExpression(java.util.List<LetVariableDefinition> letVariables, ValueExpression valueExpression)Constructs an immutableLetValueExpression.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LetValueExpression.Builderbuilder()Creates a new fluent builder forLetValueExpression.intcompareTo(LetValueExpression other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()LetValueExpressionwithLetVariables(java.util.List<LetVariableDefinition> letVariables)Returns a copy of thisLetValueExpressionwithletVariablesreplaced.LetValueExpressionwithValueExpression(ValueExpression valueExpression)Returns a copy of thisLetValueExpressionwithvalueExpressionreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.LetValueExpressiontype.
-
LET_VARIABLES
public static final Name LET_VARIABLES
Name of theopenGql.grammar.LetValueExpression.letVariablesfield.
-
VALUE_EXPRESSION
public static final Name VALUE_EXPRESSION
Name of theopenGql.grammar.LetValueExpression.valueExpressionfield.
-
letVariables
public final java.util.List<LetVariableDefinition> letVariables
-
valueExpression
public final ValueExpression valueExpression
-
-
Constructor Detail
-
LetValueExpression
public LetValueExpression(java.util.List<LetVariableDefinition> letVariables, ValueExpression valueExpression)
Constructs an immutableLetValueExpression.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(LetValueExpression other)
- Specified by:
compareToin interfacejava.lang.Comparable<LetValueExpression>
-
withLetVariables
public LetValueExpression withLetVariables(java.util.List<LetVariableDefinition> letVariables)
Returns a copy of thisLetValueExpressionwithletVariablesreplaced.
-
withValueExpression
public LetValueExpression withValueExpression(ValueExpression valueExpression)
Returns a copy of thisLetValueExpressionwithvalueExpressionreplaced.
-
builder
public static LetValueExpression.Builder builder()
Creates a new fluent builder forLetValueExpression.
-
-