public class TableSubQueryNode extends RelationNode implements Projectable
| Constructor and Description |
|---|
TableSubQueryNode(int pid) |
| Modifier and Type | Method and Description |
|---|---|
int |
childNum() |
Object |
clone() |
boolean |
equals(Object object) |
String |
getAlias() |
String |
getCanonicalName() |
LogicalNode |
getChild(int idx) |
Schema |
getLogicalSchema() |
PlanString |
getPlanString() |
LogicalNode |
getSubQuery() |
String |
getTableName() |
Target[] |
getTargets()
Get a list of targets
|
boolean |
hasAlias() |
int |
hashCode() |
boolean |
hasTargets()
check if this node has a target list
|
void |
init(String tableName,
LogicalNode subQuery) |
void |
postOrder(LogicalNodeVisitor visitor) |
void |
preOrder(LogicalNodeVisitor visitor) |
void |
setSubQuery(LogicalNode node) |
void |
setTargets(Target[] targets)
Set a target list
|
String |
toString() |
deepEquals, getCost, getInSchema, getOutSchema, getPID, getType, setCost, setInSchema, setOutSchema, setPID, setType, toJsonfinalize, getClass, notify, notifyAll, wait, wait, waitgetInSchema, getOutSchema, getPIDpublic int childNum()
childNum in class LogicalNodepublic LogicalNode getChild(int idx)
getChild in class LogicalNodepublic void init(String tableName, LogicalNode subQuery)
public boolean hasAlias()
hasAlias in class RelationNodepublic String getAlias()
getAlias in class RelationNodepublic String getTableName()
getTableName in class RelationNodepublic String getCanonicalName()
getCanonicalName in class RelationNodepublic Schema getLogicalSchema()
getLogicalSchema in class RelationNodepublic void setSubQuery(LogicalNode node)
public LogicalNode getSubQuery()
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 PlanString getPlanString()
getPlanString in class LogicalNodepublic boolean equals(Object object)
equals in class LogicalNodepublic Object clone() throws CloneNotSupportedException
clone in class LogicalNodeCloneNotSupportedExceptionpublic void preOrder(LogicalNodeVisitor visitor)
preOrder in class LogicalNodepublic void postOrder(LogicalNodeVisitor visitor)
postOrder in class LogicalNodepublic String toString()
toString in class LogicalNodeCopyright © 2015 Apache Software Foundation. All Rights Reserved.