Package com.github.eikecochu.sqlbuilder
Interface BeforeWith<T extends BeforeWith<T>>
-
- Type Parameters:
T- the generic type returned by some fluent methods of this interface
- All Superinterfaces:
QueryPart,QueryPartLinked<T>,QueryPartSQL<T>
public interface BeforeWith<T extends BeforeWith<T>> extends QueryPart, QueryPartSQL<T>, QueryPartLinked<T>
Implemented by keywords that precede the WITH statement.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Withwith(With with)Accept an existing WITH statement as predecessordefault Withwith(java.lang.String name)Continue query with WITHdefault WithwithSQL(java.lang.String sql)Use plain SQL to form this WITH statement-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent, parent
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartSQL
sql
-
-
-
-
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
-
-