Interface ExposesReturning

    • Method Detail

      • returning

        default StatementBuilder.OngoingReadingAndReturn returning​(java.lang.String... variables)
        Creates the RETURN clause.
        Parameters:
        variables - The named things to return
        Returns:
        A build step with a defined list of things to return.
      • returning

        default StatementBuilder.OngoingReadingAndReturn returning​(Named... variables)
        Creates the RETURN clause.
        Parameters:
        variables - The named things to return
        Returns:
        A build step with a defined list of things to return.
      • returning

        StatementBuilder.OngoingReadingAndReturn returning​(Expression... expressions)
        Create a match that returns one or more expressions.
        Parameters:
        expressions - The expressions to be returned. Must not be null and be at least one expression.
        Returns:
        A match that can be build now
      • returningDistinct

        default StatementBuilder.OngoingReadingAndReturn returningDistinct​(java.lang.String... variables)
        Creates a RETURN clause containing the DISTINCT keyword.
        Parameters:
        variables - The named things to return
        Returns:
        A build step with a defined list of things to return.
      • returningDistinct

        default StatementBuilder.OngoingReadingAndReturn returningDistinct​(Named... variables)
        Creates a RETURN clause containing the DISTINCT keyword.
        Parameters:
        variables - The named things to return
        Returns:
        A build step with a defined list of things to return.
      • returningDistinct

        StatementBuilder.OngoingReadingAndReturn returningDistinct​(Expression... expressions)
        Create a match that returns the distinct set of one or more expressions.
        Parameters:
        expressions - The expressions to be returned. Must not be null and be at least one expression.
        Returns:
        A match that can be build now