public class ProjectIntoNode extends RelationalNode
Modifier and Type | Class and Description |
---|---|
static class |
ProjectIntoNode.Mode |
childCount
Modifier | Constructor and Description |
---|---|
protected |
ProjectIntoNode() |
|
ProjectIntoNode(int nodeID) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
All the implementation of Cloneable interface need to implement clone() method.
|
void |
closeDirect() |
PlanNode |
getDescriptionProperties() |
ProjectIntoNode.Mode |
getMode() |
String |
getModelName() |
protected void |
getNodeString(StringBuffer str) |
boolean |
isTempGroupInsert() |
TupleBatch |
nextBatchDirect()
Get batch from child node
Walk through each row of child batch
Bind values to insertCommand
Execute insertCommand
Update insertCount
When no more data is available, output batch with single row containing insertCount
|
Boolean |
requiresTransaction(boolean transactionalReads) |
void |
reset() |
void |
setConstraint(Criteria constraint) |
void |
setIntoElements(List intoElements) |
void |
setIntoGroup(GroupSymbol group) |
void |
setMode(ProjectIntoNode.Mode mode) |
void |
setModelName(String modelName) |
void |
setSourceHint(SourceHint property) |
void |
setTransactionSupport(ExecutionFactory.TransactionSupport transactionSupport) |
void |
setUpsert(boolean upsert) |
addBatchRow, addChild, close, copyTo, createLookupMap, getBatchSize, getBuffer, getBufferDirect, getBufferManager, getChildCount, getChildren, getClassName, getConnectionID, getContext, getDataManager, getElements, getEstimateNodeCardinality, getID, getNodeStatistics, getOutputElements, getParent, getProjectionIndexes, hasBuffer, hasPendingRows, initialize, isBatchFull, isClosed, isLastBatch, nextBatch, nodeToString, open, projectTuple, projectTuple, pullBatch, setContext, setElements, setEstimateDepAccessCardinality, setEstimateDepJoinCost, setEstimateJoinCost, setEstimateNodeCardinality, setEstimateNodeSetSize, setID, setParent, terminateBatches, toString, unwrapException
protected ProjectIntoNode()
public ProjectIntoNode(int nodeID)
public void reset()
reset
in class RelationalNode
public void setIntoGroup(GroupSymbol group)
public void setIntoElements(List intoElements)
public void setModelName(String modelName)
public TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException
nextBatchDirect
in class RelationalNode
BlockedException
TeiidComponentException
TeiidProcessingException
- if exception related to user input occuredprotected void getNodeString(StringBuffer str)
getNodeString
in class RelationalNode
public Object clone()
RelationalNode
clone
in class RelationalNode
public PlanNode getDescriptionProperties()
getDescriptionProperties
in class RelationalNode
public ProjectIntoNode.Mode getMode()
public void setMode(ProjectIntoNode.Mode mode)
public boolean isTempGroupInsert()
public void closeDirect()
closeDirect
in class RelationalNode
public String getModelName()
public Boolean requiresTransaction(boolean transactionalReads)
requiresTransaction
in class RelationalNode
public void setConstraint(Criteria constraint)
public void setTransactionSupport(ExecutionFactory.TransactionSupport transactionSupport)
public void setSourceHint(SourceHint property)
public void setUpsert(boolean upsert)
Copyright © 2018 JBoss by Red Hat. All rights reserved.