com.metamatrix.query.optimizer.xml
Class SourceNodePlannerVisitor

java.lang.Object
  extended by com.metamatrix.query.mapping.xml.MappingVisitor
      extended by com.metamatrix.query.optimizer.xml.SourceNodePlannerVisitor

public class SourceNodePlannerVisitor
extends MappingVisitor

This visitor will take source node's QueryNode, move the the inputset criteria specified on the QueryNode on to the Source Node's query.


Constructor Summary
SourceNodePlannerVisitor(XMLPlannerEnvironment planEnv)
           
 
Method Summary
static MappingDocument raiseInputSet(MappingDocument doc, XMLPlannerEnvironment planEnv)
          try to split the criteria based on if that is inputset criteria or not.
 void visit(MappingSourceNode sourceNode)
           
 
Methods inherited from class com.metamatrix.query.mapping.xml.MappingVisitor
setAbort, shouldAbort, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, walkAttributes, walkChildNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceNodePlannerVisitor

public SourceNodePlannerVisitor(XMLPlannerEnvironment planEnv)
Method Detail

visit

public void visit(MappingSourceNode sourceNode)
Overrides:
visit in class MappingVisitor

raiseInputSet

public static MappingDocument raiseInputSet(MappingDocument doc,
                                            XMLPlannerEnvironment planEnv)
                                     throws QueryPlannerException,
                                            QueryMetadataException,
                                            MetaMatrixComponentException
try to split the criteria based on if that is inputset criteria or not.

Parameters:
doc -
planEnv -
Returns:
Throws:
QueryPlannerException
QueryMetadataException
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.