org.teiid.query.processor.relational
Class WindowFunctionProjectNode

java.lang.Object
  extended by org.teiid.query.processor.relational.RelationalNode
      extended by org.teiid.query.processor.relational.SubqueryAwareRelationalNode
          extended by org.teiid.query.processor.relational.WindowFunctionProjectNode
All Implemented Interfaces:
java.lang.Cloneable, BatchCollector.BatchProducer

public class WindowFunctionProjectNode
extends SubqueryAwareRelationalNode


Constructor Summary
protected WindowFunctionProjectNode()
           
  WindowFunctionProjectNode(int nodeId)
           
 
Method Summary
 java.lang.Object clone()
          All the implementation of Cloneable interface need to implement clone() method.
 void closeDirect()
           
 void init()
          This state can be determined prior to initialize and is the same for all nodes, so it is moved into it's own init routine
 void initialize(CommandContext context, BufferManager bufferManager, ProcessorDataManager dataMgr)
           
protected  TupleBatch nextBatchDirect()
          Template method for subclasses to implement.
 void reset()
           
 
Methods inherited from class org.teiid.query.processor.relational.SubqueryAwareRelationalNode
getEvaluator, setReferenceValues
 
Methods inherited from class org.teiid.query.processor.relational.RelationalNode
addBatchRow, addChild, close, copy, createLookupMap, getBatchSize, getBufferManager, getChildren, getClassName, getConnectionID, getContext, getDataManager, getDescriptionProperties, getElements, getEstimateNodeCardinality, getFinalBuffer, getID, getNodeStatistics, getNodeString, getOutputElements, getParent, getProjectionIndexes, hasFinalBuffer, hasPendingRows, isBatchFull, isClosed, isLastBatch, nextBatch, nodeToString, open, projectTuple, pullBatch, setContext, setElements, setEstimateDepAccessCardinality, setEstimateDepJoinCost, setEstimateJoinCost, setEstimateNodeCardinality, setEstimateNodeSetSize, setID, setParent, terminateBatches, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowFunctionProjectNode

public WindowFunctionProjectNode(int nodeId)

WindowFunctionProjectNode

protected WindowFunctionProjectNode()
Method Detail

reset

public void reset()
Overrides:
reset in class SubqueryAwareRelationalNode

closeDirect

public void closeDirect()
Overrides:
closeDirect in class SubqueryAwareRelationalNode

clone

public java.lang.Object clone()
Description copied from class: RelationalNode
All the implementation of Cloneable interface need to implement clone() method. The plan is only clonable in the pre-execution stage, not the execution state (things like program state, result sets, etc). It's only safe to call that method in between query processings, in other words, it's only safe to call clone() on a plan after nextTuple() returns null, meaning the plan has finished processing.

Specified by:
clone in class RelationalNode

init

public void init()
This state can be determined prior to initialize and is the same for all nodes, so it is moved into it's own init routine


nextBatchDirect

protected TupleBatch nextBatchDirect()
                              throws BlockedException,
                                     TeiidComponentException,
                                     TeiidProcessingException
Description copied from class: RelationalNode
Template method for subclasses to implement.

Specified by:
nextBatchDirect in class RelationalNode
Returns:
Throws:
BlockedException
TeiidComponentException
TeiidProcessingException - if exception related to user input occured

initialize

public void initialize(CommandContext context,
                       BufferManager bufferManager,
                       ProcessorDataManager dataMgr)
Overrides:
initialize in class RelationalNode


Copyright © 2011. All Rights Reserved.