Class AggregateFunctionCallExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.ValueExp
org.apache.cayenne.exp.FunctionCallExp
org.apache.cayenne.exp.AggregateFunctionCallExp
- All Implemented Interfaces:
XMLSerializable
- Direct Known Subclasses:
AvgExp, CountExp, CustomAggregateExp, DistinctExp, MaxExp, MinExp, SumExp
public abstract sealed class AggregateFunctionCallExp
extends FunctionCallExp
permits AvgExp, CountExp, CustomAggregateExp, DistinctExp, MaxExp, MinExp, SumExp
Base class for all aggregation functions expressions
It's more like marker interface for now.
- Since:
- 5.0
-
Field Summary
Fields inherited from class Expression
operands, PRUNED_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectevaluateCollection(Collection<?> values) protected ObjectEvaluates itself with object, pushing result on the stack.protected ObjectevaluateSubNode(Object o, Object[] evaluatedChildren) protected intMethods inherited from class FunctionCallExp
appendAsString, appendFunctionNameAsString, equals, getExpressionOperator, getFunctionName, hashCode, nameToCamelCase, needParenthesis, parenthesizeAsOperandMethods inherited from class Expression
andExp, andExp, appendOperandAsString, deepCopy, encodeAsXML, evaluate, evaluateOperand, exists, expName, filter, filterObjects, first, flattenTree, getOperand, getOperandCount, getPathAliases, isValidParent, match, notExists, notExp, orExp, orExp, params, params, paramsArray, pruneNodeForPrunedChild, setOperand, setOperands, shallowCopy, toString, transform, transformExpression, traverse, traverse
-
Constructor Details
-
AggregateFunctionCallExp
-
-
Method Details
-
getRequiredChildrenCount
protected int getRequiredChildrenCount()- Specified by:
getRequiredChildrenCountin classValueExp
-
evaluateNode
Description copied from class:ExpressionEvaluates itself with object, pushing result on the stack.- Overrides:
evaluateNodein classValueExp- Throws:
Exception
-
evaluateCollection
-
evaluateSubNode
-