Class ItemValueFilterProcessor<O extends ValueFilter<?,​?>>

    • Constructor Detail

      • ItemValueFilterProcessor

        protected ItemValueFilterProcessor​(SqlQueryContext<?,​?,​?> context)
    • Method Detail

      • getSingleValue

        @Nullable
        protected <T> T getSingleValue​(PropertyValueFilter<T> filter)
        Returns the single "real" value from the property filter (or null).
      • isIgnoreCaseFilter

        protected boolean isIgnoreCaseFilter​(ValueFilter<?,​?> filter)
      • singleValuePredicate

        protected com.querydsl.core.types.Predicate singleValuePredicate​(com.querydsl.core.types.Expression<?> path,
                                                                         FilterOperation operation,
                                                                         Object value)
        Creates predicate for specified path and value using the provided operator. If the value is not Querydsl Expression it is changed to constant expression, otherwise the expression is passed as-is. Technically, any expression can be used on path side as well.
      • predicateWithNotTreated

        protected com.querydsl.core.types.Predicate predicateWithNotTreated​(com.querydsl.core.types.Expression<?> path,
                                                                            com.querydsl.core.types.Predicate predicate)
        Returns the predicate or (predicate AND path IS NOT NULL) if NOT is used somewhere above. This makes NOT truly complementary to non-NOT result.