Class CustomAggregateExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.ValueExp
org.apache.cayenne.exp.FunctionCallExp
org.apache.cayenne.exp.AggregateFunctionCallExp
org.apache.cayenne.exp.CustomAggregateExp
- All Implemented Interfaces:
XMLSerializable
Class for custom aggregation functions expressions.
- Since:
- 5.0
-
Field Summary
Fields inherited from class Expression
operands, PRUNED_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendAsString(Appendable out) Appends own content as a String to the provided Appendable: the operands separated by the operator.voidsetFunctionName(String functionName) Creates a copy of this expression node, without copying children.Methods inherited from class AggregateFunctionCallExp
evaluateCollection, evaluateNode, evaluateSubNode, getRequiredChildrenCountMethods inherited from class FunctionCallExp
appendFunctionNameAsString, equals, getExpressionOperator, 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, toString, transform, transformExpression, traverse, traverse
-
Constructor Details
-
CustomAggregateExp
-
-
Method Details
-
shallowCopy
Description copied from class:ExpressionCreates a copy of this expression node, without copying children.- Specified by:
shallowCopyin classExpression
-
getFunctionName
- Specified by:
getFunctionNamein classFunctionCallExp
-
setFunctionName
-
appendAsString
Description copied from class:ExpressionAppends own content as a String to the provided Appendable: the operands separated by the operator.- Overrides:
appendAsStringin classFunctionCallExp- Throws:
IOException
-