Package com.querydsl.collections
Class CollQueryFunctions
java.lang.Object
com.querydsl.collections.CollQueryFunctions
CollQueryFunctions defines function implementation for use in ColQueryTemplates- Author:
- tiwe
-
Method Summary
Modifier and TypeMethodDescriptionstatic Numberaggregate(Collection<Number> source, com.querydsl.core.types.Expression<?> expr, com.querydsl.core.types.Operator aggregator) static <A extends Comparable<? super A>>
booleanbetween(A a, A b, A c) static <T> Tcoalesce(T... args) static <T extends Comparable<? super T>>
intcompareTo(T c1, T c2) static doublecot(double x) static doublecoth(double x) static doubledegrees(double x) static booleanstatic <T> Tstatic intgetDayOfMonth(Date date) static intgetDayOfWeek(Date date) static intgetDayOfYear(Date date) static intstatic intgetMilliSecond(Date date) static intstatic intstatic intstatic intstatic intstatic intgetYearMonth(Date date) static intgetYearWeek(Date date) static <T> Collection<T>leftJoin(Collection<T> coll) static booleanstatic booleanstatic booleanlikeIgnoreCase(String str, String like) static booleanlikeIgnoreCase(String str, String like, char escape) static doublelog(double x, int y) static <T> Tnullif(T first, T second) static doubleradians(double x)
-
Method Details
-
equals
-
compareTo
-
between
-
cot
public static double cot(double x) -
coth
public static double coth(double x) -
degrees
public static double degrees(double x) -
radians
public static double radians(double x) -
log
public static double log(double x, int y) -
coalesce
@Nullable public static <T> T coalesce(T... args) -
nullif
public static <T> T nullif(T first, T second) -
getYearMonth
-
getDayOfMonth
-
getDayOfWeek
-
getDayOfYear
-
getHour
-
getMilliSecond
-
getMinute
-
getMonth
-
getSecond
-
getWeek
-
getYear
-
getYearWeek
-
leftJoin
-
aggregate
public static Number aggregate(Collection<Number> source, com.querydsl.core.types.Expression<?> expr, com.querydsl.core.types.Operator aggregator) -
like
-
like
-
likeIgnoreCase
-
likeIgnoreCase
-
get
-