com.mysema.query.collections
Class ColQueryFunctions

java.lang.Object
  extended by com.mysema.query.collections.ColQueryFunctions

public final class ColQueryFunctions
extends Object

ColQueryFunctions defines function implementation for use in ColQueryTemplates

Author:
tiwe

Method Summary
static
<A extends Comparable<? super A>>
boolean
between(A a, A b, A c)
           
static
<T> T
coalesce(T... args)
           
static int getDayOfMonth(Date date)
           
static int getDayOfWeek(Date date)
           
static int getDayOfYear(Date date)
           
static int getHour(Date date)
           
static int getMilliSecond(Date date)
           
static int getMinute(Date date)
           
static int getMonth(Date date)
           
static int getSecond(Date date)
           
static int getWeek(Date date)
           
static int getYear(Date date)
           
static int getYearMonth(Date date)
           
static boolean like(String str, String like)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

between

public static <A extends Comparable<? super A>> boolean between(A a,
                                                                A b,
                                                                A c)

coalesce

@Nullable
public static <T> T coalesce(T... args)

getDayOfMonth

public static int getDayOfMonth(Date date)

getDayOfWeek

public static int getDayOfWeek(Date date)

getDayOfYear

public static int getDayOfYear(Date date)

getHour

public static int getHour(Date date)

getMilliSecond

public static int getMilliSecond(Date date)

getMinute

public static int getMinute(Date date)

getMonth

public static int getMonth(Date date)

getSecond

public static int getSecond(Date date)

getWeek

public static int getWeek(Date date)

getYear

public static int getYear(Date date)

getYearMonth

public static int getYearMonth(Date date)

like

public static boolean like(String str,
                           String like)


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.