Class RelationshipLength
- java.lang.Object
-
- org.neo4j.cypherdsl.core.internal.RelationshipLength
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetMaximum()IntegergetMinimum()booleanisUnbounded()static RelationshipLengthof(Integer minimum, Integer maximum)static RelationshipLengthunbounded()
-
-
-
Method Detail
-
unbounded
public static RelationshipLength unbounded()
-
of
public static RelationshipLength of(Integer minimum, Integer maximum)
-
getMinimum
@API(status=INTERNAL) public Integer getMinimum()
- Returns:
- Minimum number of hops to match.
-
getMaximum
@API(status=INTERNAL) public Integer getMaximum()
- Returns:
- Maximum number of hops to match.
-
isUnbounded
@API(status=INTERNAL) public boolean isUnbounded()
- Returns:
- True if neither minimum nor maximum number of hops are set.
-
-