Package adql.query
Class SelectAllColumns
java.lang.Object
adql.query.SelectItem
adql.query.SelectAllColumns
- All Implemented Interfaces:
ADQLObject
In ADQL it corresponds to the
* and {tableName}.*
items in the SELECT clause. It means: 'select all columns'.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSelectAllColumns(ADQLQuery query) Builds aSelectItemwhich selects all columns available in the given ADQL query.SelectAllColumns(ADQLTable table) Builds aSelectItemwhich selects all columns available in the given table.SelectAllColumns(SelectAllColumns toCopy) Builds aSelectAllColumnsby copying the given one. -
Method Summary
Modifier and TypeMethodDescriptionfinal ADQLIteratorGets an iterator on the intern ADQL objects.final ADQLTableGets the table whose all columns must be selected.final ADQLObjectgetCopy()Gets a (deep) copy of this ADQL object.Get the description of this ADQL's Language Feature.final StringgetName()Gets the name of this object in ADQL.final ADQLQuerygetQuery()Gets the query whose all available columns must be selected.final voidsetAdqlTable(ADQLTable table) Sets the table whose all columns must be selected.final voidSets the query whose all available columns must be selected.final StringtoADQL()Gets the ADQL expression of this object.Methods inherited from class adql.query.SelectItem
getAlias, getOperand, getPosition, hasAlias, isCaseSensitive, setAlias, setCaseSensitive, setPosition
-
Field Details
-
FEATURE
Description of this ADQL Feature.- Since:
- 2.0
-
-
Constructor Details
-
SelectAllColumns
Builds aSelectItemwhich selects all columns available in the given ADQL query.- Parameters:
query- The query whose all available columns must be selected.
-
SelectAllColumns
Builds aSelectItemwhich selects all columns available in the given table.- Parameters:
table- The table whose all available columns must be selected.
-
SelectAllColumns
Builds aSelectAllColumnsby copying the given one.- Parameters:
toCopy- TheSelectAllColumnsto copy.- Throws:
Exception- If there is an error during the copy.
-
-
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.
- Specified by:
getFeatureDescriptionin interfaceADQLObject- Overrides:
getFeatureDescriptionin classSelectItem- Returns:
- Description of this ADQL object as an ADQL's feature.
-
getQuery
Gets the query whose all available columns must be selected. -
setQuery
Sets the query whose all available columns must be selected.- Parameters:
query- AnADQLQuery(MUST NOT BE NULL).
-
getAdqlTable
Gets the table whose all columns must be selected. -
setAdqlTable
Sets the table whose all columns must be selected.- Parameters:
table- AnADQLTable(MUST NOT BE NULL).
-
getCopy
Description copied from interface:ADQLObjectGets a (deep) copy of this ADQL object.- Specified by:
getCopyin interfaceADQLObject- Overrides:
getCopyin classSelectItem- Returns:
- The copy of this ADQL object.
- Throws:
Exception- If there is any error during the copy.
-
getName
Description copied from interface:ADQLObjectGets the name of this object in ADQL.- Specified by:
getNamein interfaceADQLObject- Overrides:
getNamein classSelectItem- Returns:
- The name of this ADQL object.
-
adqlIterator
Description copied from interface:ADQLObjectGets an iterator on the intern ADQL objects.Note: The returned iterator is particularly used by a
ISearchHandlerextension to browse a whole ADQL tree.- Specified by:
adqlIteratorin interfaceADQLObject- Overrides:
adqlIteratorin classSelectItem- Returns:
- An ADQL objects iterator.
- See Also:
-
toADQL
Description copied from interface:ADQLObjectGets the ADQL expression of this object.- Specified by:
toADQLin interfaceADQLObject- Overrides:
toADQLin classSelectItem- Returns:
- The corresponding ADQL expression.
-