|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ResultSetNode
com.akiban.sql.parser.FromTable
com.akiban.sql.parser.JoinNode
com.akiban.sql.parser.HalfOuterJoinNode
public class HalfOuterJoinNode
An HalfOuterJoinNode represents a left or a right outer join result set. Right outer joins are always transformed into left outer joins during preprocessing for simplicity.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.akiban.sql.parser.JoinNode |
|---|
JoinNode.JoinType |
| Field Summary | |
|---|---|
protected ResultSetNode |
leftResultSet
|
protected ResultSetNode |
rightResultSet
|
| Fields inherited from class com.akiban.sql.parser.FromTable |
|---|
correlationName, origTableName, tableProperties |
| Fields inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX |
| Constructor Summary | |
|---|---|
HalfOuterJoinNode()
|
|
| Method Summary | |
|---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node. |
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. |
ResultSetNode |
getLeftmostResultSet()
|
ResultSetNode |
getLeftResultSet()
Get the leftResultSet from this node. |
ResultSetNode |
getRightResultSet()
Get the rightResultSet from this node. |
void |
init(Object leftResultSet,
Object rightResultSet,
Object tableProperties)
Initializer for a TableOperatorNode. |
void |
init(Object leftResult,
Object rightResult,
Object onClause,
Object usingClause,
Object rightOuterJoin,
Object tableProperties)
Initializer for a HalfOuterJoinNode. |
boolean |
isRightOuterJoin()
|
void |
setLeftmostResultSet(ResultSetNode newLeftResultSet)
|
void |
setLeftResultSet(ResultSetNode leftResultSet)
|
void |
setNestedInParens(boolean nestedInParens)
Mark whether or not this node is nested in parens. |
void |
setRightResultSet(ResultSetNode rightResultSet)
|
String |
toString()
Convert this object to a String. |
| Methods inherited from class com.akiban.sql.parser.JoinNode |
|---|
getJoinClause, getLogicalLeftResultSet, getLogicalRightResultSet, getUsingClause, init, isNaturalJoin, joinTypeToString, printSubNodes, setJoinClause, setUsingClause |
| Methods inherited from class com.akiban.sql.parser.FromTable |
|---|
getCorrelationName, getOrigTableName, getTableName, init, setCorrelationName, setOrigTableName |
| Methods inherited from class com.akiban.sql.parser.ResultSetNode |
|---|
getResultColumns, setInsertSource, setResultColumns |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ResultSetNode leftResultSet
protected ResultSetNode rightResultSet
| Constructor Detail |
|---|
public HalfOuterJoinNode()
| Method Detail |
|---|
public void init(Object leftResult,
Object rightResult,
Object onClause,
Object usingClause,
Object rightOuterJoin,
Object tableProperties)
throws StandardException
init in class QueryTreeNodeleftResult - The ResultSetNode on the left side of this joinrightResult - The ResultSetNode on the right side of this joinonClause - The ON clauseusingClause - The USING clauserightOuterJoin - Whether or not this node represents a user
specified right outer jointableProperties - Properties list associated with the table
StandardException - Thrown on error
public void copyFrom(QueryTreeNode node)
throws StandardException
copyFrom in class JoinNodeStandardExceptionpublic boolean isRightOuterJoin()
public String toString()
toString in class JoinNode
public void init(Object leftResultSet,
Object rightResultSet,
Object tableProperties)
throws StandardException
init in class QueryTreeNodeleftResultSet - The ResultSetNode on the left side of this noderightResultSet - The ResultSetNode on the right side of this nodetableProperties - Properties list associated with the table
StandardException - Thrown on errorpublic ResultSetNode getLeftResultSet()
public ResultSetNode getRightResultSet()
public void setLeftResultSet(ResultSetNode leftResultSet)
public void setRightResultSet(ResultSetNode rightResultSet)
public ResultSetNode getLeftmostResultSet()
public void setLeftmostResultSet(ResultSetNode newLeftResultSet)
public String getExposedName()
getExposedName in class FromTablepublic void setNestedInParens(boolean nestedInParens)
nestedInParens - Whether or not this node is nested in parens.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||