Package adql.query.from
Interface FromContent
- All Superinterfaces:
ADQLObject
- All Known Implementing Classes:
ADQLJoin,ADQLTable,CrossJoin,InnerJoin,OuterJoin,SQLServer_InnerJoin,SQLServer_OuterJoin
-
Method Summary
Modifier and TypeMethodDescriptionGets the list of all columns (~ database metadata) available in this FROM part.getTablesByAlias(String alias, boolean caseSensitive) Gets all the table whose the alias is equals to the given one.voidsetPosition(TextPosition position) Set the position of thisFromContentin the given ADQL query string.Methods inherited from interface adql.query.ADQLObject
adqlIterator, getCopy, getFeatureDescription, getName, getPosition, toADQL
-
Method Details
-
getDBColumns
Gets the list of all columns (~ database metadata) available in this FROM part.Note: In the most cases, this list is generated on the fly !
- Returns:
- All the available
DBColumns. - Throws:
UnresolvedJoinException- If a join is not possible.
-
getTables
- Returns:
- The list of all
ADQLTables found.
-
getTablesByAlias
Gets all the table whose the alias is equals to the given one.Note: Theoretically, only one table may be returned. But, since this object may be generated without the parser, it is possible that several
ADQLTableobjects exits with the same alias (particularly if there are JOIN).- Parameters:
alias- Alias of the table(s) to get.caseSensitive-trueif the research must be made with case-sensitivity,falseotherwise.- Returns:
- The list of all tables found.
-
setPosition
Set the position of thisFromContentin the given ADQL query string.- Parameters:
position- New position of thisFromContent.- Since:
- 1.4
-