org.objectweb.medor.query.lib
Class BasicBinaryUnaryQueryNodeFactory
java.lang.Object
org.objectweb.medor.query.lib.BasicBinaryUnaryQueryNodeFactory
- All Implemented Interfaces:
- BinaryUnaryQueryNodeFactory
- public class BasicBinaryUnaryQueryNodeFactory
- extends java.lang.Object
- implements BinaryUnaryQueryNodeFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicBinaryUnaryQueryNodeFactory
public BasicBinaryUnaryQueryNodeFactory()
createQueryNode
public QueryNode createQueryNode(QueryTree child,
short operationType,
Expression filter,
TupleStructure tupleStructure)
throws QueryNodeException
- Description copied from interface:
BinaryUnaryQueryNodeFactory
- This methods creates the links between the children QueryTrees and
the created QueryNode. It is used when building a QueryNode from existing
QueryTrees.
It typically verifies that all Fields defined in the tupleStructure are
present in one of the children.
It also propagates the indexes in the associated TupleLoaders for
evaluation purposes.
- Specified by:
createQueryNode
in interface BinaryUnaryQueryNodeFactory
- Throws:
QueryNodeException
createQueryNode
public QueryNode createQueryNode(QueryTree leftChild,
QueryTree rightChild,
short operationType,
Expression filter,
TupleStructure tupleStructure)
throws QueryNodeException
- Specified by:
createQueryNode
in interface BinaryUnaryQueryNodeFactory
- Throws:
QueryNodeException