Class QueryBuilder

    • Constructor Detail

      • QueryBuilder

        public QueryBuilder()
    • Method Detail

      • addFilterTranslator

        public static void addFilterTranslator​(FilterTranslator translator)
      • setStringDecorator

        public static void setStringDecorator​(StringDecorator decorator)
        Allows specification of a custom ColumnQuoter instance that handles quoting of column names for the current DB dialect.
        Parameters:
        decorator - the ColumnQuoter instance to use.
      • getWhereStringForFilter

        public static String getWhereStringForFilter​(Container.Filter filter,
                                                     StatementHelper sh)
        Constructs and returns a string representing the filter that can be used in a WHERE clause.
        Parameters:
        filter - the filter to translate
        sh - the statement helper to update with the value(s) of the filter
        Returns:
        a string representing the filter.