com.metamatrix.query.processor.relational
Class SubqueryAwareEvaluator

java.lang.Object
  extended by com.metamatrix.query.eval.Evaluator
      extended by com.metamatrix.query.processor.relational.SubqueryAwareEvaluator

public class SubqueryAwareEvaluator
extends Evaluator

This utility handles the work of processing a subquery; certain types of processor nodes will use an instance of this class to do that work.


Nested Class Summary
 class SubqueryAwareEvaluator.SubqueryState
           
 
Field Summary
 
Fields inherited from class com.metamatrix.query.eval.Evaluator
context, dataMgr
 
Constructor Summary
SubqueryAwareEvaluator(java.util.Map elements, ProcessorDataManager dataMgr, CommandContext context, BufferManager manager)
           
 
Method Summary
 void close()
           
protected  ValueIterator evaluateSubquery(SubqueryContainer container, java.util.List tuple)
           
 void reset()
           
 
Methods inherited from class com.metamatrix.query.eval.Evaluator
evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluateTVL, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubqueryAwareEvaluator

public SubqueryAwareEvaluator(java.util.Map elements,
                              ProcessorDataManager dataMgr,
                              CommandContext context,
                              BufferManager manager)
Method Detail

reset

public void reset()

close

public void close()
           throws MetaMatrixComponentException
Throws:
MetaMatrixComponentException

evaluateSubquery

protected ValueIterator evaluateSubquery(SubqueryContainer container,
                                         java.util.List tuple)
                                  throws MetaMatrixProcessingException,
                                         BlockedException,
                                         MetaMatrixComponentException
Overrides:
evaluateSubquery in class Evaluator
Throws:
MetaMatrixProcessingException
BlockedException
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.