Record Class CypherParser.ReturnProjection
java.lang.Object
java.lang.Record
org.impulsegraph.compiler.cypher.CypherParser.ReturnProjection
- Enclosing class:
CypherParser
-
Constructor Summary
ConstructorsConstructorDescriptionReturnProjection(String variable, boolean isCount) Creates an instance of aReturnProjectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisCount()Returns the value of theisCountrecord component.final StringtoString()Returns a string representation of this record class.variable()Returns the value of thevariablerecord component.
-
Constructor Details
-
ReturnProjection
Creates an instance of aReturnProjectionrecord class.- Parameters:
variable- the value for thevariablerecord componentisCount- the value for theisCountrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
variable
Returns the value of thevariablerecord component.- Returns:
- the value of the
variablerecord component
-
isCount
public boolean isCount()Returns the value of theisCountrecord component.- Returns:
- the value of the
isCountrecord component
-