Interface BeforeWith

  • All Superinterfaces:
    QueryPart
    All Known Implementing Classes:
    Union, With

    public interface BeforeWith
    extends QueryPart
    Implemented by keywords that precede the WITH statement.
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default With with​(With with)
      Accept an existing WITH statement as predecessor
      default With with​(java.lang.String name)
      Continue query with WITH
      default With withSQL​(java.lang.String sql)
      Use plain SQL to form this WITH statement
    • Method Detail

      • with

        default With with​(java.lang.String name)
        Continue query with WITH
        Parameters:
        name - The name of the with-block
        Returns:
        The new WITH statement
      • with

        default With with​(With with)
        Accept an existing WITH statement as predecessor
        Parameters:
        with - The existing WITH statement
        Returns:
        Returns the passed WITH statement
      • withSQL

        default With withSQL​(java.lang.String sql)
        Use plain SQL to form this WITH statement
        Parameters:
        sql - The sql string
        Returns:
        The new WITH statement