public class ProjectionNode extends UnaryNode implements Projectable
| Constructor and Description |
|---|
ProjectionNode(int pid) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
PlanString |
getPlanString() |
Target[] |
getTargets()
Get a list of targets
|
boolean |
hasTargets()
check if this node has a target list
|
void |
init(boolean distinct,
Target[] targets) |
boolean |
isDistinct() |
void |
setChild(LogicalNode subNode) |
void |
setTargets(Target[] targets)
Set a target list
|
String |
toString() |
childNum, deepEquals, getChild, getChild, postOrder, preOrdergetCost, getInSchema, getOutSchema, getPID, getType, setCost, setInSchema, setOutSchema, setPID, setType, toJsonfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInSchema, getOutSchema, getPIDpublic void init(boolean distinct,
Target[] targets)
public boolean isDistinct()
public boolean hasTargets()
ProjectablehasTargets in interface Projectablepublic void setTargets(Target[] targets)
ProjectablesetTargets in interface Projectabletargets - The array of targetspublic Target[] getTargets()
ProjectablegetTargets in interface Projectablepublic void setChild(LogicalNode subNode)
public String toString()
toString in class LogicalNodepublic boolean equals(Object obj)
equals in class LogicalNodepublic Object clone() throws CloneNotSupportedException
clone in class UnaryNodeCloneNotSupportedExceptionpublic PlanString getPlanString()
getPlanString in class LogicalNodeCopyright © 2015 Apache Software Foundation. All Rights Reserved.