Package com.github.eikecochu.sqlbuilder
Interface BeforeUnion<T extends BeforeUnion<T>>
-
- Type Parameters:
T- the generic type returned by some fluent methods of this interface
- All Superinterfaces:
QueryPart,QueryPartLinked<T>,QueryPartSQL<T>
public interface BeforeUnion<T extends BeforeUnion<T>> extends QueryPart, QueryPartSQL<T>, QueryPartLinked<T>
Implemented by keywords that precede the UNION statement.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Unionunion()Continue query with UNIONdefault Unionunion(Union union)Accept an existing UNION statement as predecessordefault UnionunionAll()Continue query with UNION ALLdefault UnionunionSQL(java.lang.String sql)Use plain SQL to form this UNION 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
-
union
default Union union()
Continue query with UNION- Returns:
- The new UNION statement
-
unionAll
default Union unionAll()
Continue query with UNION ALL- Returns:
- The new UNION ALL statement
-
union
default Union union(Union union)
Accept an existing UNION statement as predecessor- Parameters:
union- The existing UNION statement- Returns:
- Returns the passed UNION statement
-
unionSQL
default Union unionSQL(java.lang.String sql)
Use plain SQL to form this UNION statement- Parameters:
sql- The sql string- Returns:
- The new UNION statement
-
-