Class AggregateExpression<T,E> 
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.selection.AggregateExpression<T,E> 
- Type Parameters:
- T- The originating expression type
- E- The aggregate expression type
- All Implemented Interfaces:
- IExpression<E>,- SelectionVisitable,- ISelection<E>,- jakarta.persistence.criteria.Expression<E>,- jakarta.persistence.criteria.Selection<E>,- jakarta.persistence.TupleElement<E>
@Internal
public final class AggregateExpression<T,E> 
extends Object
implements IExpression<E>, SelectionVisitable
The aggregate expression.
- Since:
- 3.2
- Author:
- Denis Stepanov
- 
Constructor SummaryConstructorsConstructorDescriptionAggregateExpression(jakarta.persistence.criteria.Expression<T> expression, AggregateType type) AggregateExpression(jakarta.persistence.criteria.Expression<T> expression, AggregateType type, Class<E> expressionType) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccept(SelectionVisitor selectionVisitor) jakarta.persistence.criteria.Expression<T>getType()booleanbooleanbooleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.data.model.jpa.criteria.IExpressionas, in, in, in, in, isNotNull, isNullMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelectionalias, getAlias, getCompoundSelectionItems, isCompoundSelection
- 
Constructor Details- 
AggregateExpressionpublic AggregateExpression(jakarta.persistence.criteria.Expression<T> expression, AggregateType type) 
- 
AggregateExpressionpublic AggregateExpression(jakarta.persistence.criteria.Expression<T> expression, AggregateType type, Class<E> expressionType) 
 
- 
- 
Method Details- 
accept- Specified by:
- acceptin interface- SelectionVisitable
 
- 
isBooleanpublic boolean isBoolean()- Specified by:
- isBooleanin interface- IExpression<T>
- Returns:
- true if the expression is of boolean type
 
- 
isNumericpublic boolean isNumeric()- Specified by:
- isNumericin interface- IExpression<T>
- Returns:
- true if the expression is of numeric type
 
- 
isComparablepublic boolean isComparable()- Specified by:
- isComparablein interface- IExpression<T>
- Returns:
- true if the expression is of comparable type
 
- 
getJavaType- Specified by:
- getJavaTypein interface- jakarta.persistence.TupleElement<T>
 
- 
getType
- 
getExpression
- 
getExpressionType
 
-