com.metamatrix.query.optimizer.xml
Class XMLPlanToProcessVisitor

java.lang.Object
  extended by com.metamatrix.query.optimizer.xml.XMLPlanToProcessVisitor
All Implemented Interfaces:
MappingInterceptor

public class XMLPlanToProcessVisitor
extends java.lang.Object
implements MappingInterceptor

This class converts the MappingDocument to a Program which can be executed using the Query Processor


Constructor Summary
XMLPlanToProcessVisitor(XMLPlannerEnvironment env)
           
 
Method Summary
 void end(MappingAllNode all, java.util.Map context)
           
 void end(MappingAttribute attribute, java.util.Map context)
           
 void end(MappingChoiceNode choice, java.util.Map context)
           
 void end(MappingCommentNode comment, java.util.Map context)
           
 void end(MappingCriteriaNode element, java.util.Map context)
           
 void end(MappingDocument doc, java.util.Map context)
           
 void end(MappingElement element, java.util.Map context)
           
 void end(MappingRecursiveElement element, java.util.Map context)
           
 void end(MappingSequenceNode sequence, java.util.Map context)
           
 void end(MappingSourceNode node, java.util.Map context)
           
static Program planProgram(MappingDocument doc, XMLPlannerEnvironment env)
           
 void start(MappingAllNode all, java.util.Map context)
           
 void start(MappingAttribute attribute, java.util.Map context)
           
 void start(MappingChoiceNode choice, java.util.Map context)
           
 void start(MappingCommentNode comment, java.util.Map context)
           
 void start(MappingCriteriaNode node, java.util.Map context)
           
 void start(MappingDocument doc, java.util.Map context)
           
 void start(MappingElement element, java.util.Map context)
           
 void start(MappingRecursiveElement element, java.util.Map context)
           
 void start(MappingSequenceNode sequence, java.util.Map context)
           
 void start(MappingSourceNode node, java.util.Map context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPlanToProcessVisitor

public XMLPlanToProcessVisitor(XMLPlannerEnvironment env)
Method Detail

start

public void start(MappingDocument doc,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingDocument doc,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingAttribute attribute,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingAttribute attribute,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingCommentNode comment,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingCommentNode comment,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingAllNode all,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingAllNode all,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingChoiceNode choice,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingChoiceNode choice,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingCriteriaNode node,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingCriteriaNode element,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingSequenceNode sequence,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingSequenceNode sequence,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingElement element,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingElement element,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingSourceNode node,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingSourceNode node,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

start

public void start(MappingRecursiveElement element,
                  java.util.Map context)
Specified by:
start in interface MappingInterceptor

end

public void end(MappingRecursiveElement element,
                java.util.Map context)
Specified by:
end in interface MappingInterceptor

planProgram

public static Program planProgram(MappingDocument doc,
                                  XMLPlannerEnvironment env)


Copyright © 2009. All Rights Reserved.