public class Union extends QuerySource
| Modifier and Type | Method and Description |
|---|---|
Union |
add(Select... selects) |
Union |
clear() |
void |
collectParameterValues(List<Object> values) |
void |
collectSqlFragment(CodeWriter writer) |
boolean |
containsTable(String table) |
List<Select> |
getSelects() |
String |
getTable()
Returns the first table in the list of tables.
|
List<String> |
getTables() |
boolean |
isAll() |
Union |
setAll(boolean all) |
Union |
setNestedAlias(String nestedAlias) |
Union |
setPretty(boolean pretty) |
getNestedAlias, shouldWrapWhenNestedgetParameterValues, getSqlFragment, isPretty, printSqlParts, toStringpublic Union(Select... selects)
public Union clear()
public boolean isAll()
public Union setAll(boolean all)
public Union setPretty(boolean pretty)
setPretty in class QuerySourcepublic Union setNestedAlias(String nestedAlias)
setNestedAlias in class QuerySourcepublic List<String> getTables()
getTables in class QuerySourcepublic String getTable()
QuerySourceReturns the first table in the list of tables.
QuerySource.getTables() instead of this method.getTable in class QuerySourcepublic boolean containsTable(String table)
containsTable in class QuerySourcepublic void collectSqlFragment(CodeWriter writer)
collectSqlFragment in class SqlPartpublic void collectParameterValues(List<Object> values)
collectParameterValues in class SqlPartCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.