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