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, shouldWrapWhenNested
getParameterValues, getSqlFragment, isPretty, printSqlParts, toString
public Union(Select... selects)
public Union clear()
public boolean isAll()
public Union setAll(boolean all)
public Union setPretty(boolean pretty)
setPretty
in class QuerySource
public Union setNestedAlias(String nestedAlias)
setNestedAlias
in class QuerySource
public List<String> getTables()
getTables
in class QuerySource
public String getTable()
QuerySource
Returns the first table in the list of tables.
QuerySource.getTables()
instead of this method.getTable
in class QuerySource
public boolean containsTable(String table)
containsTable
in class QuerySource
public void collectSqlFragment(CodeWriter writer)
collectSqlFragment
in class SqlPart
public void collectParameterValues(List<Object> values)
collectParameterValues
in class SqlPart
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.