com.mysema.query.jpa
Class JPQLGrammar
java.lang.Object
  
com.mysema.query.jpa.JPQLGrammar
public final class JPQLGrammar
- extends Object
 
JPQLGrammar provides factory methods for JPQL specific operations
 elements.
- Author:
 
  - tiwe
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
all
public static <D> Expression<D> all(CollectionExpression<?,D> col)
 
any
public static <D> Expression<D> any(CollectionExpression<?,D> col)
 
avg
public static <A extends Comparable<? super A>> ComparableExpression<A> avg(CollectionExpression<?,A> col)
 
max
public static <A extends Comparable<? super A>> ComparableExpression<A> max(CollectionExpression<?,A> left)
 
min
public static <A extends Comparable<? super A>> ComparableExpression<A> min(CollectionExpression<?,A> left)
 
some
public static <D> Expression<D> some(CollectionExpression<?,D> col)
 
sum
public static <D extends Number & Comparable<? super D>> NumberExpression<?> sum(Expression<D> left)
- SUM returns Long when applied to state-fields of integral types (other
 than BigInteger); Double when applied to state-fields of floating point
 types; BigInteger when applied to state-fields of type BigInteger; and
 BigDecimal when applied to state-fields of type BigDecimal.
 
 
sumAsLong
public static <D extends Number & Comparable<? super D>> NumberExpression<Long> sumAsLong(Expression<D> left)
 
sumAsDouble
public static <D extends Number & Comparable<? super D>> NumberExpression<Double> sumAsDouble(Expression<D> left)
 
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.