Class HANASpatialFunction
- java.lang.Object
-
- org.hibernate.dialect.function.StandardSQLFunction
-
- org.hibernate.spatial.dialect.hana.HANASpatialFunction
-
- All Implemented Interfaces:
SQLFunction
public class HANASpatialFunction extends StandardSQLFunction
-
-
Constructor Summary
Constructors Constructor Description HANASpatialFunction(java.lang.String name, boolean firstArgumentIsGeometryType)HANASpatialFunction(java.lang.String name, boolean firstArgumentIsGeometryType, boolean staticFunction)HANASpatialFunction(java.lang.String name, Type registeredType, boolean firstArgumentIsGeometryType)HANASpatialFunction(java.lang.String name, Type registeredType, boolean[] argumentIsGeometryTypeMask)HANASpatialFunction(java.lang.String name, Type registeredType, boolean firstArgumentIsGeometryType, boolean staticFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringrender(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor sessionFactory)Render the function call as SQL fragment.-
Methods inherited from class org.hibernate.dialect.function.StandardSQLFunction
getName, getRenderedName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments, toString
-
-
-
-
Constructor Detail
-
HANASpatialFunction
public HANASpatialFunction(java.lang.String name, boolean firstArgumentIsGeometryType)
-
HANASpatialFunction
public HANASpatialFunction(java.lang.String name, boolean firstArgumentIsGeometryType, boolean staticFunction)
-
HANASpatialFunction
public HANASpatialFunction(java.lang.String name, Type registeredType, boolean firstArgumentIsGeometryType)
-
HANASpatialFunction
public HANASpatialFunction(java.lang.String name, Type registeredType, boolean[] argumentIsGeometryTypeMask)
-
HANASpatialFunction
public HANASpatialFunction(java.lang.String name, Type registeredType, boolean firstArgumentIsGeometryType, boolean staticFunction)
-
-
Method Detail
-
render
public java.lang.String render(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor sessionFactory)
Description copied from interface:SQLFunctionRender the function call as SQL fragment. Note, the 'firstArgumentType' parameter should match the one passed intoSQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping)- Specified by:
renderin interfaceSQLFunction- Overrides:
renderin classStandardSQLFunction- Parameters:
firstArgumentType- The type of the first argumentarguments- The function argumentssessionFactory- The SessionFactory- Returns:
- The rendered function call
-
-