|
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.AggregationCase
public final class AggregationCase
A SyntaxObject
that represents an aggregation case for an AggregationCommand
. An AggregationCase
specifies a method of aggregation for a measure.
Constructor Summary | |
---|---|
AggregationCase(java.lang.String functionName, FunctionArgument[] args, MdmBaseMeasure measure) Creates an AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified measure. |
|
AggregationCase(java.lang.String functionName, java.util.List<FunctionArgument> args, MdmBaseMeasure measure) Creates an AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified measure. |
Method Summary | |
---|---|
FunctionArgument[] |
getArguments() Gets the function arguments contained by this AggregationCase . |
FunctionDescriptor |
getFunctionDescriptor() Gets the function descriptor associated with this AggregationCase . |
java.lang.String |
getFunctionName() Gets the name of the function for this AggregationCase . |
MdmBaseMeasure |
getMeasure() Gets the measure that is associated with this AggregationCase . |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context) Calls the visitAggregationCase method of the SyntaxObjectVisitor and passes that method this AggregationCase 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 AggregationCase(java.lang.String functionName, java.util.List<FunctionArgument> args, MdmBaseMeasure measure)
AggregationCase
that has the specified function, with function arguments, as the aggregation method for the specified measure.
functionName
- A String
that contains the name of the function to use to aggregate the data of the measure.args
- A List
of FunctionArgument
objects that modify the function.measure
- The MdmBaseMeasure
to which to apply the aggregation.public AggregationCase(java.lang.String functionName, FunctionArgument[] args, MdmBaseMeasure measure)
AggregationCase
that has the specified function, with function arguments, as the aggregation method for the specified measure.
functionName
- A String
that contains the name of the function to use to aggregate the data of the measure.args
- An array of FunctionArgument
objects that modify the function.measure
- The MdmBaseMeasure
to which to apply the aggregation.Method Detail |
---|
public FunctionArgument[] getArguments()
AggregationCase
.FunctionArgument
of this AggregationCase
.public FunctionDescriptor getFunctionDescriptor()
AggregationCase
.FunctionDescriptor
for this AggregationCase
.public java.lang.String getFunctionName()
AggregationCase
.String
that contains the name of the function for this AggregationCase
.public MdmBaseMeasure getMeasure()
AggregationCase
.MdmBaseMeasure
associated with this AggregationCase
.public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitAggregationCase
method of the SyntaxObjectVisitor
and passes that method this AggregationCase
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitAggregationCase
method.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |