Package adql.query.from
Class CrossJoin
java.lang.Object
adql.query.from.ADQLJoin
adql.query.from.CrossJoin
- All Implemented Interfaces:
ADQLObject,FromContent
Cross join.
In ADQL T1, T2 is equivalent to T1, T2 or to
T1 CROSS JOIN T2 in SQL.
-
Field Summary
FieldsFields inherited from class adql.query.from.ADQLJoin
condition, lstColumns, natural -
Constructor Summary
ConstructorsConstructorDescriptionBuilds a copy of the given CROSS join.CrossJoin(FromContent left, FromContent right) Builds a CROSS join between the two given "tables". -
Method Summary
Modifier and TypeMethodDescriptiongetCopy()Gets a (deep) copy of this ADQL object.final LanguageFeatureGet the description of this ADQL's Language Feature.Gets the type of this join.voidEffect-less method: no join condition can be specified to make a CROSS join.voidsetJoinedColumns(Collection<ADQLColumn> columns) Effect-less method: no columns can be joined in a CROSS join.voidsetNatural(boolean natural) Effect-less method: a CROSS join can not be NATURAL.Methods inherited from class adql.query.from.ADQLJoin
addAllExcept, adqlIterator, findAtMostOneColumn, findExactlyOneColumn, getDBColumns, getJoinCondition, getJoinedColumns, getLeftTable, getName, getPosition, getRightTable, getTables, getTablesByAlias, hasJoinedColumns, isCommonColumn, isNatural, setLeftTable, setPosition, setRightTable, toADQL
-
Field Details
-
FEATURE
Description of this ADQL Feature.- Since:
- 2.0
-
-
Constructor Details
-
CrossJoin
Builds a CROSS join between the two given "tables".- Parameters:
left- Left "table".right- Right "table".- See Also:
-
CrossJoin
Builds a copy of the given CROSS join.- Parameters:
toCopy- The CROSS join to copy.- Throws:
Exception- If there is an error during the copy.- See Also:
-
-
Method Details
-
getFeatureDescription
Description copied from interface:ADQLObjectGet the description of this ADQL's Language Feature.Note: Getting this description is generally only useful when discovery optional features so that determining if they are allowed to be used in ADQL queries.
- Returns:
- Description of this ADQL object as an ADQL's feature.
-
getJoinType
Description copied from class:ADQLJoinGets the type of this join.- Specified by:
getJoinTypein classADQLJoin- Returns:
- Its join type (i.e. CROSS JOIN, LEFT JOIN, LEFT OUTER JOIN, ...).
-
setNatural
public void setNatural(boolean natural) Effect-less method: a CROSS join can not be NATURAL.- Overrides:
setNaturalin classADQLJoin- Parameters:
natural-truemeans this join must be natural,falseelse.- See Also:
-
setJoinCondition
Effect-less method: no join condition can be specified to make a CROSS join.- Overrides:
setJoinConditionin classADQLJoin- Parameters:
cond- The join condition (condition following ON).- See Also:
-
setJoinedColumns
Effect-less method: no columns can be joined in a CROSS join.- Overrides:
setJoinedColumnsin classADQLJoin- Parameters:
columns- The joined columns.- See Also:
-
getCopy
Description copied from interface:ADQLObjectGets a (deep) copy of this ADQL object.- Specified by:
getCopyin interfaceADQLObject- Specified by:
getCopyin classADQLJoin- Returns:
- The copy of this ADQL object.
- Throws:
Exception- If there is any error during the copy.
-