Class QuantifiedPathPattern
java.lang.Object
org.evomaster.client.java.controller.neo4j.operations.QuantifiedPathPattern
A quantified path pattern (QPP), i.e. a sub-pattern repeated a number of times,
such as
Unlike a variable-length relationship (
The labels, relationship types, properties and inline
((a)-[:KNOWS]->(b)){1,3}.
Unlike a variable-length relationship (
*1..3), which repeats a single
edge, a QPP repeats an entire MatchPattern (multiple nodes and edges,
and possibly nested QPPs). The repetition bounds are [min, max], where a
null max means unbounded (+ or *).
The labels, relationship types, properties and inline
WHERE that constrain the
sub-pattern are kept in getConditions(), scoped to this QPP rather than mixed into
the outer operation's list — so when the calculator expands the repetition it can clone the
sub-pattern's conditions per hop.-
Constructor Summary
ConstructorsConstructorDescriptionQuantifiedPathPattern(MatchPattern subPattern, int min, Integer max) QuantifiedPathPattern(MatchPattern subPattern, List<CypherCondition> conditions, int min, Integer max) -
Method Summary
-
Constructor Details
-
QuantifiedPathPattern
-
QuantifiedPathPattern
public QuantifiedPathPattern(MatchPattern subPattern, List<CypherCondition> conditions, int min, Integer max)
-
-
Method Details
-
getSubPattern
-
getConditions
Returns the conditions scoped to this sub-pattern (labels, relationship types, properties, inline WHERE), in source order. Empty when the sub-pattern is purely structural. -
getMin
public int getMin() -
getMax
-
isUnboundedMax
public boolean isUnboundedMax() -
toString
-