public final class SelectAllColumns extends SelectItem
Constructor and Description |
---|
SelectAllColumns(ADQLQuery query)
Builds a
SelectItem which selects all columns available in the given ADQL query. |
SelectAllColumns(ADQLTable table)
Builds a
SelectItem which selects all columns available in the given table. |
SelectAllColumns(SelectAllColumns toCopy)
Builds a
SelectAllColumns by copying the given one. |
Modifier and Type | Method and Description |
---|---|
ADQLIterator |
adqlIterator()
Gets an iterator on the intern ADQL objects.
|
ADQLTable |
getAdqlTable()
Gets the table whose all columns must be selected.
|
ADQLObject |
getCopy()
Gets a (deep) copy of this ADQL object.
|
java.lang.String |
getName()
Gets the name of this object in ADQL.
|
ADQLQuery |
getQuery()
Gets the query whose all available columns must be selected.
|
void |
setAdqlTable(ADQLTable table)
Sets the table whose all columns must be selected.
|
void |
setQuery(ADQLQuery query)
Sets the query whose all available columns must be selected.
|
java.lang.String |
toADQL()
Gets the ADQL expression of this object.
|
getAlias, getOperand, getPosition, hasAlias, isCaseSensitive, setAlias, setCaseSensitive, setPosition
public SelectAllColumns(ADQLQuery query)
SelectItem
which selects all columns available in the given ADQL query.query
- The query whose all available columns must be selected.public SelectAllColumns(ADQLTable table)
SelectItem
which selects all columns available in the given table.table
- The table whose all available columns must be selected.public SelectAllColumns(SelectAllColumns toCopy) throws java.lang.Exception
SelectAllColumns
by copying the given one.toCopy
- The SelectAllColumns
to copy.java.lang.Exception
- If there is an error during the copy.public final ADQLQuery getQuery()
public final void setQuery(ADQLQuery query)
query
- An ADQLQuery
(MUST NOT BE NULL).public final ADQLTable getAdqlTable()
public final void setAdqlTable(ADQLTable table)
table
- An ADQLTable
(MUST NOT BE NULL).public final ADQLObject getCopy() throws java.lang.Exception
ADQLObject
getCopy
in interface ADQLObject
getCopy
in class SelectItem
java.lang.Exception
- If there is any error during the copy.public final java.lang.String getName()
ADQLObject
getName
in interface ADQLObject
getName
in class SelectItem
public final ADQLIterator adqlIterator()
ADQLObject
Gets an iterator on the intern ADQL objects.
Note:The returned iterator is particularly used by a ISearchHandler
extension to browse a whole ADQL tree.
adqlIterator
in interface ADQLObject
adqlIterator
in class SelectItem
ADQLIterator
,
ISearchHandler
public final java.lang.String toADQL()
ADQLObject
toADQL
in interface ADQLObject
toADQL
in class SelectItem