|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mtm.MtmObject
oracle.olapi.metadata.mtm.MtmAggregationStep
oracle.olapi.metadata.mtm.MtmFirstLastAggregationStep
An MtmAggregationStep that specifies that Oracle OLAP use
the measure value specified by the first or last child element of the
current dimension node element when aggregating measure values specified by
a dimension of the MtmAggregationStep.
You can create an instance of this class with the
createMtmFirstLastAggregationStep method of an
MtmObjectFactory.
| Field Summary | |
static int |
FIRST
A constant that specifies that Oracle OLAP aggregates the measure value specified by the first child element of the current dimension element. |
static int |
LAST
A constant that specifies that Oracle OLAP aggregates the measure value specified by the last child element of the current dimension element. |
| Method Summary | |
java.lang.Object |
acceptVisitor(MtmObjectVisitor visitor,
java.lang.Object context)
Calls the visitMtmFirstLastAggregationStep method of
the specified MtmObjectVisitor and passes that method this
MtmFirstLastAggregationStep and the specified
context object. |
int |
getAggregationType()
Gets the value of the constant that specifies whether Oracle OLAP uses the measure value specified by the first or the last child element of a parent element when aggregating the measure values for the node elements of a dimension. |
boolean |
isHierarchical()
Indicates what Oracle OLAP does if the measure value specified by the child element of the current element of the dimension is null. |
void |
setAggregationType(int aggregationType)
Specifies the value of the constant that determines whether Oracle OLAP uses the measure value specified by the first or the last child element of a parent element when aggregating the measure values for the node elements of a dimension. |
void |
setIsHierarchical(boolean isHierarchical)
Specifies what Oracle OLAP does if the measure value specified by the child element of the current element of the dimension is null. |
| Methods inherited from class oracle.olapi.metadata.mtm.MtmAggregationStep |
addDimensionMap, getDimensionMaps, removeDimensionMap |
| Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
getID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FIRST
public static final int LAST
| Method Detail |
public java.lang.Object acceptVisitor(MtmObjectVisitor visitor,
java.lang.Object context)
visitMtmFirstLastAggregationStep method of
the specified MtmObjectVisitor and passes that method this
MtmFirstLastAggregationStep and the specified
context object.
acceptVisitor in class MtmObjectvisitor - An MtmObjectVisitor.context - An Object.
Object returned by the
visitMtmFirstLastAggregationStep method.public boolean isHierarchical()
null.
If this method returns true, then Oracle OLAP uses the
measure value specified by the value of the first or last child element
even if that value is null.
If the value is null, the result of the aggregation is
null.
If this method returns false, then Oracle OLAP uses the
measure value specified by the closest child element for which the
measure is not null.
public int getAggregationType()
int that is the value of the FIRST or
LAST field of this
MtmFirstLastAggregationStep.public void setIsHierarchical(boolean isHierarchical)
null.
Specify true if you want Oracle OLAP to use the
measure value specified by the value of the first or last child element
even if that value is null.
If the value is null, the result of the aggregation is
null.
Specify false if you want Oracle OLAP to use the
measure value specified by the closest child element for which the
measure is not null.
public void setAggregationType(int aggregationType)
int that is the value of the FIRST or
LAST field of this
MtmFirstLastAggregationStep.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||