Package adql.translator
Interface ADQLTranslator
- All Known Implementing Classes:
JDBCTranslator
,MySQLTranslator
,PgSphereTranslator
,PostgreSQLTranslator
,SQLServerTranslator
public interface ADQLTranslator
Translates ADQL objects into any language (i.e. SQL).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet all features that are fully supported by this translator.translate
(ADQLList<? extends ADQLObject> list) translate
(ADQLObject obj) translate
(ClauseADQL<WithItem> clause) translate
(ClauseConstraints clause) translate
(ClauseSelect clause) translate
(ColumnReference ref) translate
(ADQLConstraint cons) translate
(Comparison comp) translate
(NotConstraint notCons) translate
(FromContent content) translate
(ADQLColumn column) translate
(ADQLOperand op) translate
(Concatenation concat) translate
(ADQLFunction fct) translate
(CastFunction fct) translate
(AreaFunction areaFunction) translate
(BoxFunction box) translate
(CentroidFunction centroidFunction) translate
(CircleFunction circle) translate
(ExtractCoord extractCoord) translate
(ExtractCoordSys extractCoordSys) translate
(GeometryFunction.GeometryValue<? extends GeometryFunction> geomValue) translate
(PointFunction point) translate
(PolygonFunction polygon) translate
(RegionFunction region) translate
(InUnitFunction fct) translate
(MathFunction fct) translate
(SQLFunction fct) translate
(LowerFunction fct) translate
(UpperFunction fct) translate
(NegativeOperand negOp) translate
(NumericConstant numConst) translate
(StringConstant strConst) translate
(SelectAllColumns item) translate
(SelectItem item) translate
(SetOperation setOp)
-
Method Details
-
getSupportedFeatures
FeatureSet getSupportedFeatures()Get all features that are fully supported by this translator.Note: If NULL is returned, the default list of supported features should be used instead. This default list depends on the ADQL version and is set in an
ADQLParser
instance when no feature set is specified.- Returns:
- All features supported by this translator.
- Since:
- 2.0
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
- Since:
- 2.0
-
translate
- Throws:
TranslationException
-
translate
String translate(GeometryFunction.GeometryValue<? extends GeometryFunction> geomValue) throws TranslationException - Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-
translate
- Throws:
TranslationException
-