Class AbstractRangeDeclaration

    • Constructor Detail

      • AbstractRangeDeclaration

        public AbstractRangeDeclaration()
        Creates a new AbstractRangeDeclaration.
    • Method Detail

      • getJoins

        public List<Join> getJoins()
        Returns the JOIN expressions defined with this declaration, if supported. The list contains the JOIN expressions in ordered they were declared.
        Specified by:
        getJoins in interface JPQLQueryDeclaration
        Overrides:
        getJoins in class Declaration
        Returns:
        The JOIN expressions defined with this declaration or an empty list if this declaration does not support it
      • hasJoins

        public boolean hasJoins()
        Determines whether the declaration contains JOIN expressions. This can be true only when JPQLQueryDeclaration.Type.isRange() returns true. A collection member declaration does not have JOIN expressions.
        Specified by:
        hasJoins in interface JPQLQueryDeclaration
        Overrides:
        hasJoins in class Declaration
        Returns:
        true if at least one JOIN expression was parsed; otherwise false