com.akiban.sql.parser
Class FullOuterJoinNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ResultSetNode
com.akiban.sql.parser.FromTable
com.akiban.sql.parser.JoinNode
com.akiban.sql.parser.FullOuterJoinNode
- All Implemented Interfaces:
- Visitable
public class FullOuterJoinNode
- extends JoinNode
An FullOuterJoinNode represents a full outer join result set.
| Methods inherited from class com.akiban.sql.parser.JoinNode |
copyFrom, getJoinClause, getLogicalLeftResultSet, getLogicalRightResultSet, getUsingClause, init, isNaturalJoin, joinTypeToString, printSubNodes, setJoinClause, setUsingClause, toString |
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
leftResultSet
protected ResultSetNode leftResultSet
rightResultSet
protected ResultSetNode rightResultSet
FullOuterJoinNode
public FullOuterJoinNode()
init
public void init(Object leftResult,
Object rightResult,
Object onClause,
Object usingClause,
Object tableProperties)
throws StandardException
- Initializer for a FullOuterJoinNode.
- Overrides:
init in class QueryTreeNode
- Parameters:
leftResult - The ResultSetNode on the left side of this joinrightResult - The ResultSetNode on the right side of this joinonClause - The ON clauseusingClause - The USING clausetableProperties - Properties list associated with the table
- Throws:
StandardException - Thrown on error
init
public void init(Object leftResultSet,
Object rightResultSet,
Object tableProperties)
throws StandardException
- Initializer for a TableOperatorNode.
- Overrides:
init in class QueryTreeNode
- Parameters:
leftResultSet - The ResultSetNode on the left side of this noderightResultSet - The ResultSetNode on the right side of this nodetableProperties - Properties list associated with the table
- Throws:
StandardException - Thrown on error
getLeftResultSet
public ResultSetNode getLeftResultSet()
- Get the leftResultSet from this node.
- Returns:
- ResultSetNode The leftResultSet from this node.
getRightResultSet
public ResultSetNode getRightResultSet()
- Get the rightResultSet from this node.
- Returns:
- ResultSetNode The rightResultSet from this node.
setLeftResultSet
public void setLeftResultSet(ResultSetNode leftResultSet)
setRightResultSet
public void setRightResultSet(ResultSetNode rightResultSet)
getLeftmostResultSet
public ResultSetNode getLeftmostResultSet()
setLeftmostResultSet
public void setLeftmostResultSet(ResultSetNode newLeftResultSet)
getExposedName
public String getExposedName()
- Return the exposed name for this table, which is the name that
can be used to refer to this table in the rest of the query.
- Overrides:
getExposedName in class FromTable
- Returns:
- The exposed name for this table.
setNestedInParens
public void setNestedInParens(boolean nestedInParens)
- Mark whether or not this node is nested in parens. (Useful to parser
since some trees get created left deep and others right deep.)
The resulting state of this cal was never used so its
field was removed to save runtimespace for this node.
Further cleanup can be done including parser changes
if this call is really nor required.
- Parameters:
nestedInParens - Whether or not this node is nested in parens.
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.