public class OuterJoin extends ADQLJoin
Inner join.
Possible syntaxes:
| Modifier and Type | Class and Description |
|---|---|
static class |
OuterJoin.OuterType
All OUTER JOIN type: left, right and full.
|
condition, lstColumns, natural| Constructor and Description |
|---|
OuterJoin(FromContent left,
FromContent right,
OuterJoin.OuterType type)
Builds a NATURAL OUTER join between the two given "tables".
|
OuterJoin(FromContent left,
FromContent right,
OuterJoin.OuterType type,
ClauseConstraints condition)
Builds an OUTER join between the two given "tables" with the given condition.
|
OuterJoin(FromContent left,
FromContent right,
OuterJoin.OuterType type,
java.util.Collection<ADQLColumn> lstColumns)
Builds an OUTER join between the two given "tables" with a list of columns to join.
|
OuterJoin(OuterJoin toCopy)
Builds a copy of the given OUTER join.
|
| Modifier and Type | Method and Description |
|---|---|
ADQLObject |
getCopy()
Gets a (deep) copy of this ADQL object.
|
java.lang.String |
getJoinType()
Gets the type of this join.
|
OuterJoin.OuterType |
getType()
Gets the OUTER join type (left, right or full).
|
void |
setType(OuterJoin.OuterType type)
Sets the OUTER join type (left, right or full).
|
addAllExcept, adqlIterator, findAtMostOneColumn, findExactlyOneColumn, getDBColumns, getJoinCondition, getJoinedColumns, getLeftTable, getName, getPosition, getRightTable, getTables, getTablesByAlias, hasJoinedColumns, isCommonColumn, isNatural, setJoinCondition, setJoinedColumns, setLeftTable, setNatural, setPosition, setRightTable, toADQLpublic OuterJoin(FromContent left, FromContent right, OuterJoin.OuterType type)
left - Left "table".right - Right "table".type - OUTER join type (left, right or full).ADQLJoin.ADQLJoin(FromContent, FromContent),
ADQLJoin.setNatural(boolean),
setType(OuterType)public OuterJoin(FromContent left, FromContent right, OuterJoin.OuterType type, ClauseConstraints condition)
left - Left "table".right - Right "table".type - Outer join type (left, right or full).condition - Join condition.ADQLJoin.ADQLJoin(FromContent, FromContent),
ADQLJoin.setJoinCondition(ClauseConstraints),
setType(OuterType)public OuterJoin(FromContent left, FromContent right, OuterJoin.OuterType type, java.util.Collection<ADQLColumn> lstColumns)
left - Left "table".right - Right "table".type - Outer join type.lstColumns - List of columns to join.ADQLJoin.ADQLJoin(FromContent, FromContent),
ADQLJoin.setJoinedColumns(Collection),
setType(OuterType)public OuterJoin(OuterJoin toCopy) throws java.lang.Exception
toCopy - The OUTER join to copy.java.lang.Exception - If there is an error during the copy.ADQLJoin.ADQLJoin(ADQLJoin),
setType(OuterType)public java.lang.String getJoinType()
ADQLJoingetJoinType in class ADQLJoinpublic final OuterJoin.OuterType getType()
public void setType(OuterJoin.OuterType type)
type - Its new OUTER join type.public ADQLObject getCopy() throws java.lang.Exception
ADQLObjectgetCopy in interface ADQLObjectgetCopy in class ADQLJoinjava.lang.Exception - If there is any error during the copy.