Class RelationshipLength

  • All Implemented Interfaces:
    Visitable

    @API(status=INTERNAL,
         since="1.0")
    public final class RelationshipLength
    extends java.lang.Object
    implements Visitable
    Expresses the length of a relationship.
    Since:
    1.0
    Author:
    Michael J. Simons
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getMaximum()  
      java.lang.Integer getMinimum()  
      boolean isUnbounded()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.neo4j.cypherdsl.core.support.Visitable

        accept
    • Method Detail

      • getMinimum

        @API(status=INTERNAL)
        public java.lang.Integer getMinimum()
        Returns:
        Minimum number of hops to match.
      • getMaximum

        @API(status=INTERNAL)
        public java.lang.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.