public final class GuavaHelpers extends Object
GuavaHelpers
provides functionality to wrap Querydsl Predicate
instances to Guava predicates
and Querydsl Expression
instances to Guava functionsModifier and Type | Method and Description |
---|---|
static <F,T> com.google.common.base.Function<F,T> |
wrap(Expression<T> projection)
Wrap a Querydsl expression into a Guava function
|
static <T> com.google.common.base.Predicate<T> |
wrap(Predicate predicate)
Wrap a Querydsl predicate into a Guava predicate
|
public static <T> com.google.common.base.Predicate<T> wrap(Predicate predicate)
predicate
- predicate to wrappedpublic static <F,T> com.google.common.base.Function<F,T> wrap(Expression<T> projection)
projection
- projection to wrapCopyright © 2007–2015 Mysema Ltd. All rights reserved.