Class HanaFilterToSQL

    • Constructor Detail

      • HanaFilterToSQL

        public HanaFilterToSQL​(PreparedStatementSQLDialect dialect,
                               boolean functionEncodingEnabled,
                               HanaVersion hanaVersion)
    • Method Detail

      • visitLiteralGeometry

        protected void visitLiteralGeometry​(Literal expression)
                                     throws IOException
        Description copied from class: FilterToSQL
        Subclasses must implement this method in order to encode geometry filters according to the specific database implementation
        Overrides:
        visitLiteralGeometry in class FilterToSQL
        Throws:
        IOException
      • visit

        public Object visit​(Function function,
                            Object extraData)
                     throws RuntimeException
        Description copied from class: FilterToSQL
        Writes sql for a function expression. By default it will write the call by using the same arguments provided to the GeoTools function, subclasses should override on a case by case basis if this behavior is not the desired one.
        Specified by:
        visit in interface ExpressionVisitor
        Overrides:
        visit in class FilterToSQL
        Parameters:
        function - a function expression
        Throws:
        RuntimeException - If an IO error occurs.
        See Also:
        FilterToSQL.getFunctionName(Function)