org.objectweb.medor.query.api

Interface QueryNodeFactory

public interface QueryNodeFactory

This interface is used for creating QueryNodes.

Method Summary

QueryNode
createQueryNode(QueryTree children, short OperationType, Expression filter, TupleStructure tupleStructure)
This methods creates the links between the children QueryTrees and the created QueryNode.

Method Details

createQueryNode

public QueryNode createQueryNode(QueryTree children,
                                 short OperationType,
                                 Expression filter,
                                 TupleStructure tupleStructure)
            throws QueryNodeException
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.