Package org.teiid.translator.jdbc.hana
Class HanaSpatialFunctionModifier
- java.lang.Object
-
- org.teiid.translator.jdbc.FunctionModifier
-
- org.teiid.translator.jdbc.hana.HanaSpatialFunctionModifier
-
public class HanaSpatialFunctionModifier extends FunctionModifier
-
-
Constructor Summary
Constructors Constructor Description HanaSpatialFunctionModifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<?>
translate(Function function)
Most geospatial functions in HANA are called from the geometry object or an equivalent expression.-
Methods inherited from class org.teiid.translator.jdbc.FunctionModifier
getCode
-
-
-
-
Method Detail
-
translate
public List<?> translate(Function function)
Most geospatial functions in HANA are called from the geometry object or an equivalent expression. For example, <geometry-expression>.ST_SRID() or <geometry-expression>.ST_Relate(<geo2>). This method will take the argument(s) to the Teiid spatial function and move the first argument to precede the function name.- Specified by:
translate
in classFunctionModifier
- Parameters:
function
- IFunction to be translated- Returns:
- List of translated parts, or null
-
-