org.objectweb.medor.query.lib

Class Union

Implemented Interfaces:
Cloneable, Cloneable, FilteredQueryTree, QueryNode, QueryTree, TupleStructure

public class Union
extends BasicQueryNode

Package definition.

Field Summary

Fields inherited from class org.objectweb.medor.query.lib.BasicQueryNode

children, filter, indexes, inner, tupleLoader

Fields inherited from class org.objectweb.medor.query.lib.BasicQueryTree

distinct, indexes, name, orderfields

Fields inherited from class org.objectweb.medor.lib.BasicTupleStructure

fields, logger, name2field

Constructor Summary

Union()
Union(QueryTree leftQT, QueryTree rightQT, String nodeName)

Method Summary

short
getType()
It retrieves the operation type of the current QueryNode.
void
setQueryFilter(Expression e)
The setQueryFilter method will be overwritten for implementations which do not support the operation.

Methods inherited from class org.objectweb.medor.query.lib.BasicQueryNode

addCalculatedField, addChild, addField, addPropagatedField, clone, getChildren, getFieldName, getQueryFilter, getTupleLoader, getType, isOuter, removeField, replace, setOuter, setQueryFilter, setTupleLoader, updateCalculatedField, updateChildren, updatePropagatedField

Methods inherited from class org.objectweb.medor.query.lib.BasicQueryTree

clone, getDistinct, getName, getOrderBy, getTupleStructure, setDistinct, setOrderBy

Methods inherited from class org.objectweb.medor.lib.BasicTupleStructure

clone, contains, contains, getField, getField, getFieldRank, getFields, getSize

Constructor Details

Union

public Union()


Union

public Union(QueryTree leftQT,
             QueryTree rightQT,
             String nodeName)
            throws MedorException

Method Details

getType

public short getType()
It retrieves the operation type of the current QueryNode.
Specified by:
getType in interface QueryNode
Overrides:
getType in interface BasicQueryNode


setQueryFilter

public void setQueryFilter(Expression e)
The setQueryFilter method will be overwritten for implementations which do not support the operation.
Specified by:
setQueryFilter in interface FilteredQueryTree
Overrides:
setQueryFilter in interface BasicQueryNode