Class H2FilterToSQL

    • Constructor Detail

      • H2FilterToSQL

        public H2FilterToSQL()
    • 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
      • writeLiteral

        protected void writeLiteral​(Object literal)
                             throws IOException
        Description copied from class: FilterToSQL
        Writes out a non null, non geometry literal. The base class properly handles null, numeric and booleans (true|false), and turns everything else into a string. Subclasses are expected to override this shall they need a different treatment (e.g. for dates)
        Overrides:
        writeLiteral in class FilterToSQL
        Throws:
        IOException