Record Class CypherParser.PathStep
java.lang.Object
java.lang.Record
org.impulsegraph.compiler.cypher.CypherParser.PathStep
- Enclosing class:
CypherParser
public static record CypherParser.PathStep(CypherParser.EdgePattern edge, CypherParser.NodePattern targetNode)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPathStep(CypherParser.EdgePattern edge, CypherParser.NodePattern targetNode) Creates an instance of aPathSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionedge()Returns the value of theedgerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetargetNoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PathStep
Creates an instance of aPathSteprecord class.- Parameters:
edge- the value for theedgerecord componenttargetNode- the value for thetargetNoderecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
edge
Returns the value of theedgerecord component.- Returns:
- the value of the
edgerecord component
-
targetNode
Returns the value of thetargetNoderecord component.- Returns:
- the value of the
targetNoderecord component
-