org.objectweb.medor.query.lib
Class Cartesian

java.lang.Object
  extended byBasicCloneable
      extended byorg.objectweb.medor.lib.BasicTupleStructure
          extended byorg.objectweb.medor.query.lib.BasicQueryTree
              extended byorg.objectweb.medor.query.lib.BasicQueryNode
                  extended byorg.objectweb.medor.query.lib.Cartesian
All Implemented Interfaces:
AnnotationsHolder, Cloneable, java.lang.Cloneable, FilteredQueryTree, QueryNode, QueryTree, java.io.Serializable, TupleStructure

public class Cartesian
extends BasicQueryNode

Author:
Sebastien Chassande-Barrioz
See Also:
Serialized Form

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
annotations, distinct, name, orderfields
 
Fields inherited from class org.objectweb.medor.lib.BasicTupleStructure
fields, logger, name2field
 
Constructor Summary
Cartesian()
           
Cartesian(QueryTree leftQT, QueryTree rightQT, java.lang.String name)
           
 
Method Summary
 short getType()
          It retrieves the operation type of the current QueryNode.
 void setQueryFilter(Expression f)
          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, isOuter, removeField, replace, setOuter, setTupleLoader, updateCalculatedField, updateChildren, updatePropagatedField
 
Methods inherited from class org.objectweb.medor.query.lib.BasicQueryTree
getAnnotations, getDistinct, getName, getOrderBy, getTupleStructure, setDistinct, setOrderBy
 
Methods inherited from class org.objectweb.medor.lib.BasicTupleStructure
contains, contains, getField, getField, getFieldRank, getFields, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.medor.query.api.QueryTree
getDistinct, getName, getOrderBy, getTupleStructure, setDistinct, setOrderBy
 
Methods inherited from interface org.objectweb.medor.query.api.AnnotationsHolder
getAnnotations
 
Methods inherited from interface org.objectweb.medor.api.Cloneable
clone
 

Constructor Detail

Cartesian

public Cartesian()

Cartesian

public Cartesian(QueryTree leftQT,
                 QueryTree rightQT,
                 java.lang.String name)
Parameters:
leftQT - is the left QueryTree child used in the cartesian product.
rightQT - is the rigth QueryTree child used in the cartesian product.
Method Detail

setQueryFilter

public void setQueryFilter(Expression f)
Description copied from class: BasicQueryNode
The setQueryFilter method will be overwritten for implementations which do not support the operation.

Specified by:
setQueryFilter in interface FilteredQueryTree
Overrides:
setQueryFilter in class BasicQueryNode

getType

public short getType()
Description copied from interface: QueryNode
It retrieves the operation type of the current QueryNode.

Specified by:
getType in interface QueryNode
Specified by:
getType in class BasicQueryNode