|
Oracle® OLAP Java API Reference 12c Release 1 (12.1) E17708-05 |
||||||||
| 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, FunctionArgument[] args, TypedExpression aggregationSwitchValue)Creates an AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified dimension member or attribute value. |
|
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. |
|
AggregationCase(java.lang.String functionName, java.util.List<FunctionArgument> args, TypedExpression aggregationSwitchValue)Creates an AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified dimension member or attribute value. |
|
| Method Summary | |
|---|---|
TypedExpression |
getAggregationSwitchValue()Gets the dimension member or attribute value that is associated with this AggregationCase. |
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.String |
getMeasureID()Gets the ID of 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.
public AggregationCase(java.lang.String functionName,
java.util.List<FunctionArgument> args,
TypedExpression aggregationSwitchValue)
AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified dimension member or attribute value.
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.aggregationSwitchValue - A TypedExpression that evaluates to a dimension member or attribute value for which to apply the aggregation.
public AggregationCase(java.lang.String functionName,
FunctionArgument[] args,
TypedExpression aggregationSwitchValue)
AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified dimension member or attribute value.
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.aggregationSwitchValue - A TypedExpression that evaluates to a dimension member or attribute value for 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.String getMeasureID()
AggregationCase.String that contains the ID of the MdmBaseMeasure associated with this AggregationCase.public TypedExpression getAggregationSwitchValue()
AggregationCase.TypedExpression that evaluates to a dimension member or attribute value of the MdmPrimaryDimension of the 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 SyntaxObjectvisitor - 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 | ||||||||