SelectUnion

Represents a union SELECT statement.

Methods
void addGlobalCondition(Parameter param, int columnId, int comparisonType)
void addGlobalCondition(Parameter param, int columnId, int comparisonType)
boolean allowGlobalConditions()
boolean allowGlobalConditions()
void fireBeforeSelectTriggers()
void fireBeforeSelectTriggers()
int getColumnCount()
int getColumnCount()
double getCost()
double getCost()
LocalResult getEmptyResult()
LocalResult getEmptyResult()
ArrayList getExpressions()
ArrayList getExpressions()
Query getLeft()
Query getLeft()
String getPlanSQL()
String getPlanSQL()
Query getRight()
Query getRight()
HashSet getTables()
HashSet getTables()
int getType()
int getType()
SelectUnion.UnionType getUnionType()
SelectUnion.UnionType getUnionType()
boolean hasOrder()
boolean hasOrder()
void init()
void init()
boolean isEverything(ExpressionVisitor visitor)
boolean isEverything(ExpressionVisitor visitor)
boolean isReadOnly()
boolean isReadOnly()
boolean isUnion()
boolean isUnion()
void mapColumns(ColumnResolver resolver, int level)
void mapColumns(ColumnResolver resolver, int level)
void prepare()
void prepare()
void prepareJoinBatch()
void prepareJoinBatch()
ResultInterface queryMeta()
ResultInterface queryMeta()
ResultInterface queryWithoutCache(int maxRows, ResultTarget target)
ResultInterface queryWithoutCache(int maxRows, ResultTarget target)
void setEvaluatable(TableFilter tableFilter, boolean b)
void setEvaluatable(TableFilter tableFilter, boolean b)
void setForUpdate(boolean forUpdate)
void setForUpdate(boolean forUpdate)
void setOrder(ArrayList order)
void setOrder(ArrayList order)
void setRight(Query select)
void setRight(Query select)
void setSQL(String sql)
void setSQL(String sql)
void setUnionType(SelectUnion.UnionType type)
void setUnionType(SelectUnion.UnionType type)
void updateAggregate(Session s)
void updateAggregate(Session s)

Fields
static Query left
static Query right

left

The left hand side of the union (the first subquery).

The right hand side of the union (the second subquery).