|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.Expression
oracle.olapi.syntax.TypedExpression
oracle.olapi.syntax.AggregationFunctionExpression
public final class AggregationFunctionExpression
A TypedExpression
that represents an aggregation function. With an AggregationFunctionExpression
, you can aggregate measure values over specified dimension members. You specify the dimension members with an AggregateOverMembersClause
. You can use an AggregationFunctionExpression
as the Expression
of an MdmCustomMember
or as the Expression
of an MdmAssignment
of an MdmModel
.
Constructor Summary | |
---|---|
AggregationFunctionExpression(java.lang.String functionName, FunctionArgument arg, AggregateOverClause overClause) Creates an AggregationFunctionExpression that resolves to the aggregation function with the function argument and OVER clause. |
|
AggregationFunctionExpression(java.lang.String functionName, java.util.List<FunctionArgument> args, AggregateOverClause overClause) Creates an AggregationFunctionExpression that resolves to the aggregation function with the function arguments and OVER clause. |
Method Summary | |
---|---|
FunctionArgument[] |
getArguments() Gets the function arguments that are associated with this AggregationFunctionExpression . |
FunctionDescriptor |
getFunctionDescriptor() Gets the function descriptor that is associated with this AggregationFunctionExpression . |
java.lang.String |
getFunctionName() Gets the name of the aggregation function that this AggregationFunctionExpression represents. |
java.lang.String |
getOperatorName() Gets the name of the aggregation operator that this AggregationFunctionExpression represents. |
AggregateOverClause |
getOverClause() Gets the AggregateOverClause that is associated with this AggregationFunctionExpression . |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context) Calls the visitAggregationFunctionExpression method of the SyntaxObjectVisitor and passes that method this AggregationFunctionExpression and an Object . |
Methods inherited from class oracle.olapi.syntax.SyntaxObject |
---|
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggregationFunctionExpression(java.lang.String functionName, FunctionArgument arg, AggregateOverClause overClause)
AggregationFunctionExpression
that resolves to the aggregation function with the function argument and OVER
clause.
functionName
- A String
that contains the name of the function.arg
- A FunctionArgument
that is the only argument of the function.overClause
- An AggregateOverClause
that specifies the values to include in the aggregation.public AggregationFunctionExpression(java.lang.String functionName, java.util.List<FunctionArgument> args, AggregateOverClause overClause)
AggregationFunctionExpression
that resolves to the aggregation function with the function arguments and OVER
clause.
functionName
- A String
that contains the name of the function.args
- A List
of FunctionArgument
objects that are the arguments to the function.overClause
- An AggregateOverClause
that specifies the values to include in the aggregation.Method Detail |
---|
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitAggregationFunctionExpression
method of the SyntaxObjectVisitor
and passes that method this AggregationFunctionExpression
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitAggregationFunctionExpression
method.public FunctionArgument[] getArguments()
AggregationFunctionExpression
.FunctionArgument
objects associated with this AggregationFunctionExpression
.public FunctionDescriptor getFunctionDescriptor()
AggregationFunctionExpression
.FunctionDescriptor
associated with this AggregationFunctionExpression
.public java.lang.String getFunctionName()
AggregationFunctionExpression
represents.String
that contains the name of the aggregation function of this AggregationFunctionExpression
.public java.lang.String getOperatorName()
AggregationFunctionExpression
represents.String
that contains the name of the aggregation operator of this AggregationFunctionExpression
.public AggregateOverClause getOverClause()
AggregateOverClause
that is associated with this AggregationFunctionExpression
.AggregateOverClause
of this AggregationFunctionExpression
.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |