Record Class CypherParser.CypherQuery
java.lang.Object
java.lang.Record
org.impulsegraph.compiler.cypher.CypherParser.CypherQuery
- Enclosing class:
CypherParser
public static record CypherParser.CypherQuery(CypherParser.PathPattern path, List<CypherParser.WherePredicate> wherePredicates, CypherParser.ReturnProjection projection, CypherParser.OrderByClause orderBy)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCypherQuery(CypherParser.PathPattern path, List<CypherParser.WherePredicate> wherePredicates, CypherParser.ReturnProjection projection) CypherQuery(CypherParser.PathPattern path, List<CypherParser.WherePredicate> wherePredicates, CypherParser.ReturnProjection projection, CypherParser.OrderByClause orderBy) Creates an instance of aCypherQueryrecord 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.orderBy()Returns the value of theorderByrecord component.path()Returns the value of thepathrecord component.Returns the value of theprojectionrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewherePredicatesrecord component.
-
Constructor Details
-
CypherQuery
public CypherQuery(CypherParser.PathPattern path, List<CypherParser.WherePredicate> wherePredicates, CypherParser.ReturnProjection projection) -
CypherQuery
public CypherQuery(CypherParser.PathPattern path, List<CypherParser.WherePredicate> wherePredicates, CypherParser.ReturnProjection projection, CypherParser.OrderByClause orderBy) Creates an instance of aCypherQueryrecord class.- Parameters:
path- the value for thepathrecord componentwherePredicates- the value for thewherePredicatesrecord componentprojection- the value for theprojectionrecord componentorderBy- the value for theorderByrecord 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). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
wherePredicates
Returns the value of thewherePredicatesrecord component.- Returns:
- the value of the
wherePredicatesrecord component
-
projection
Returns the value of theprojectionrecord component.- Returns:
- the value of the
projectionrecord component
-
orderBy
Returns the value of theorderByrecord component.- Returns:
- the value of the
orderByrecord component
-