public class SetSessionNode extends LogicalNode
| Constructor and Description |
|---|
SetSessionNode(int pid) |
| Modifier and Type | Method and Description |
|---|---|
int |
childNum() |
LogicalNode |
getChild(int idx) |
String |
getName() |
PlanString |
getPlanString() |
String |
getValue() |
boolean |
hasValue() |
void |
init(String name,
String value)
If both name and value are given, it will set a session variable.
|
void |
postOrder(LogicalNodeVisitor visitor) |
void |
preOrder(LogicalNodeVisitor visitor) |
clone, deepEquals, equals, getCost, getInSchema, getOutSchema, getPID, getType, setCost, setInSchema, setOutSchema, setPID, setType, toJson, toStringpublic void init(String name, String value)
name - Session variable namevalue - Session variable valuepublic String getName()
public boolean hasValue()
public String getValue()
public int childNum()
childNum in class LogicalNodepublic LogicalNode getChild(int idx)
getChild in class LogicalNodepublic void preOrder(LogicalNodeVisitor visitor)
preOrder in class LogicalNodepublic void postOrder(LogicalNodeVisitor visitor)
postOrder in class LogicalNodepublic PlanString getPlanString()
getPlanString in class LogicalNodeCopyright © 2015 Apache Software Foundation. All Rights Reserved.