org.hibernate.ejb.criteria.expression.function
Class AggregationFunction.SUM<N extends Number>
java.lang.Object
org.hibernate.ejb.criteria.AbstractNode
org.hibernate.ejb.criteria.expression.AbstractTupleElement<X>
org.hibernate.ejb.criteria.expression.SelectionImpl<T>
org.hibernate.ejb.criteria.expression.ExpressionImpl<X>
org.hibernate.ejb.criteria.expression.function.BasicFunctionExpression<X>
org.hibernate.ejb.criteria.expression.function.ParameterizedFunctionExpression<T>
org.hibernate.ejb.criteria.expression.function.AggregationFunction<N>
org.hibernate.ejb.criteria.expression.function.AggregationFunction.SUM<N>
- All Implemented Interfaces:
- Serializable, javax.persistence.criteria.Expression<N>, javax.persistence.criteria.Selection<N>, TupleElement<N>, FunctionExpression<N>, ExpressionImplementor<N>, ParameterContainer, Renderable, SelectionImplementor<N>, TupleElementImplementor<N>
- Enclosing class:
- AggregationFunction<T>
public static class AggregationFunction.SUM<N extends Number>
- extends AggregationFunction<N>
Implementation of a SUM function providing convenience in construction.
Parameterized as N extends Number
because thats what JPA states
that the return from SUM should be.
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.ejb.criteria.expression.ExpressionImpl |
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.persistence.criteria.Expression |
as, in, in, in, in, isNotNull, isNull |
Methods inherited from interface javax.persistence.criteria.Selection |
alias, getCompoundSelectionItems, isCompoundSelection |
NAME
public static final String NAME
- See Also:
- Constant Field Values
AggregationFunction.SUM
public AggregationFunction.SUM(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<N> expression)
AggregationFunction.SUM
public AggregationFunction.SUM(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends Number> expression,
Class<N> returnType)
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.