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, unwrapExceptionprotected ProjectIntoNode()
public ProjectIntoNode(int nodeID)
public void reset()
reset in class RelationalNodepublic void setIntoGroup(GroupSymbol group)
public void setIntoElements(List intoElements)
public void setModelName(String modelName)
public TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException
nextBatchDirect in class RelationalNodeBlockedExceptionTeiidComponentExceptionTeiidProcessingException - if exception related to user input occuredprotected void getNodeString(StringBuffer str)
getNodeString in class RelationalNodepublic Object clone()
RelationalNodeclone in class RelationalNodepublic PlanNode getDescriptionProperties()
getDescriptionProperties in class RelationalNodepublic ProjectIntoNode.Mode getMode()
public void setMode(ProjectIntoNode.Mode mode)
public boolean isTempGroupInsert()
public void closeDirect()
closeDirect in class RelationalNodepublic String getModelName()
public Boolean requiresTransaction(boolean transactionalReads)
requiresTransaction in class RelationalNodepublic void setConstraint(Criteria constraint)
public void setTransactionSupport(ExecutionFactory.TransactionSupport transactionSupport)
public void setSourceHint(SourceHint property)
public void setUpsert(boolean upsert)
Copyright © 2017 JBoss by Red Hat. All rights reserved.