Class HSQLQualifierTranslator

All Implemented Interfaces:
TraversalHandler

public class HSQLQualifierTranslator
extends TrimmingQualifierTranslator
Since:
4.0
  • Constructor Details

    • HSQLQualifierTranslator

      public HSQLQualifierTranslator​(QueryAssembler queryAssembler)
  • Method Details

    • appendLikeEscapeCharacter

      protected void appendLikeEscapeCharacter​(PatternMatchNode patternMatchNode) throws IOException
      Description copied from class: QueryAssemblerHelper

      Outputs the standard JDBC (database agnostic) expression for supplying the escape character to the database server when supplying a LIKE clause. This has been factored-out because some database adaptors handle LIKE differently and they need access to this common method in order not to repeat this code.

      If there is no escape character defined then this method will not output anything. An escape character of 0 will mean no escape character.

      Overrides:
      appendLikeEscapeCharacter in class QueryAssemblerHelper
      Throws:
      IOException
    • appendFunction

      protected void appendFunction​(ASTFunctionCall functionExpression)
      Description copied from class: QualifierTranslator
      Append function name to result SQL Override this method to rename or skip function if generic name isn't supported on target DB.
      Overrides:
      appendFunction in class QualifierTranslator
    • appendExtractFunction

      protected void appendExtractFunction​(ASTExtract functionExpression)
      Description copied from class: QualifierTranslator
      Special case for extract date/time parts functions as they have many variants
      Overrides:
      appendExtractFunction in class QualifierTranslator