|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.olapi.metadata.BaseMetadataObject | +--oracle.olapi.metadata.mtm.MtmObject | +--oracle.olapi.metadata.mtm.MtmCube | +--oracle.olapi.metadata.mtm.MtmPartitionedCube
An MtmCube
that has one or more MtmBaseCube
objects, each of which holds information about one of the hierarchy combinations that are possible for the MtmPartitionedCube
.
For example, the OLAP Catalog has a cube for the UNITS measure and its four dimensions, which are CUSTOMER, TIME, PRODUCT, and CHANNEL. The CUSTOMER dimension has two hierarchies, MARKET_ROLLUP and SHIPMENTS_ROLLUP. The other three dimensions each have only one hierarchy, which are CALENDAR, PRODUCT_ROLLUP, and CHANNEL_ROLLUP. The following table lists the possible hierarchy combinations for the measures.
MARKET_ROLLUP | CALENDAR | PRODUCT_ROLLUP | CHANNEL_ROLLUP |
SHIPMENTS_ROLLUP | CALENDAR | PRODUCT_ROLLUP | CHANNEL_ROLLUP |
The MtmPartitionedCube
for that cube therefore has two MtmBaseCube
objects.
Method Summary | |
java.lang.Object |
acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context) Calls the visitMtmPartitionedCube method of the specified MtmObjectVisitor and passes that method this MtmPartitionedCube and the specified context object. |
void |
addBaseCube(MtmBaseCube cube) Adds an MtmBaseCube to this MtmPartitionedCube . |
void |
addDimension(MdmDimension dimension) Adds an MdmDimension to this MtmPartitionedCube . |
MdmMeasure |
createBooleanMeasure(java.lang.String name, MtmValueExpression defaultExpression) Creates a custom MdmMeasure that has a data type of Boolean, and adds it to this MtmPartitionedCube . |
MdmMeasure |
createBooleanMeasure(java.lang.String name, java.lang.String defaultExpression) Creates a custom MdmMeasure that has a data type of Boolean, and adds it to this MtmPartitionedCube . |
MdmMeasure |
createDateMeasure(java.lang.String name, MtmValueExpression defaultExpression) Creates a custom MdmMeasure that has a data type of Date, and adds it to this MtmPartitionedCube . |
MdmMeasure |
createDateMeasure(java.lang.String name, java.lang.String defaultExpression) Creates a custom MdmMeasure that has a data type of Date, and adds it to this MtmPartitionedCube . |
MdmMeasure |
createNumericMeasure(java.lang.String name, MtmValueExpression defaultExpression) Creates a custom MdmMeasure that has a data type of Number, and adds it to this MtmPartitionedCube . |
MdmMeasure |
createNumericMeasure(java.lang.String name, java.lang.String defaultExpression) Creates a custom MdmMeasure that has a data type of Number, and adds it to this MtmPartitionedCube . |
MdmMeasure |
createStringMeasure(java.lang.String name, MtmValueExpression defaultExpression) Creates a custom MdmMeasure that has a data type of String, and adds it to this MtmPartitionedCube . |
MdmMeasure |
createStringMeasure(java.lang.String name, java.lang.String defaultExpression) Creates a custom MdmMeasure that has a data type of String, and adds it to this MtmPartitionedCube . |
java.util.List |
getBaseCubes() Gets a List of MtmBaseCube objects, each of which holds information about one of the hierarchy combinations for this MtmPartitionedCube . |
java.lang.String |
getCubeName() Gets the name of this MtmPartitionedCube . |
MtmBaseCube |
getDefaultBaseCube() Gets the default MtmBaseCube . |
java.lang.String |
getDescription() Gets the description of this MtmPartitionedCube . |
void |
removeBaseCube(MtmBaseCube cube) Removes an MtmBaseCube from this MtmPartitionedCube . |
void |
removeDimension(MdmDimension dimension) Removes an MdmDimension from this MtmPartitionedCube . |
void |
removeMeasure(MdmMeasure measure) Removes the specified MdmMeasure from this MtmPartitionedCube . |
void |
setDefaultBaseCube(MtmBaseCube cube) Sets the default MtmBaseCube . |
void |
setDescription(java.lang.String value) Sets the description of this MtmPartitionedCube . |
Methods inherited from class oracle.olapi.metadata.mtm.MtmCube |
getDimensionMaps, getMeasureMaps, getName, setName |
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 |
Method Detail |
public java.lang.Object acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)
visitMtmPartitionedCube
method of the specified MtmObjectVisitor
and passes that method this MtmPartitionedCube
and the specified context
object.visitor
- An MtmObjectVisitor
.context
- An Object
.Object
returned by the visitMtmPartitionedCube
method.public java.util.List getBaseCubes()
List
of MtmBaseCube
objects, each of which holds information about one of the hierarchy combinations for this MtmPartitionedCube
.List
of MtmBaseCube
objects for this MtmPartitionedCube
.public java.lang.String getCubeName()
MtmPartitionedCube
. Typically, this is the name of the corresponding cube in the OLAP Catalog.String
that contains the name of this MtmPartitionedCube
.public MtmBaseCube getDefaultBaseCube()
MtmBaseCube
.MtmBaseCube
representing the default.public java.lang.String getDescription()
MtmPartitionedCube
.MtmPartitionedCube
.public void setDescription(java.lang.String value)
MtmPartitionedCube
.value
- The description of this MtmPartitionedCube
.public void setDefaultBaseCube(MtmBaseCube cube)
MtmBaseCube
.cube
- The MtmBaseCube
to set as the default.public void addBaseCube(MtmBaseCube cube)
MtmBaseCube
to this MtmPartitionedCube
.cube
- The MtmBaseCube
to add to this MtmPartitionedCube
.public void removeBaseCube(MtmBaseCube cube)
MtmBaseCube
from this MtmPartitionedCube
.cube
- The MtmBaseCube
to remove from this MtmPartitionedCube
.public void addDimension(MdmDimension dimension)
MdmDimension
to this MtmPartitionedCube
.dimension
- The MdmDimension
to add to this MtmPartitionedCube
.public void removeDimension(MdmDimension dimension)
MdmDimension
from this MtmPartitionedCube
.dimension
- The MdmDimension
to remove from this MtmPartitionedCube
.public MdmMeasure createNumericMeasure(java.lang.String name, MtmValueExpression defaultExpression)
MdmMeasure
that has a data type of Number, and adds it to this MtmPartitionedCube
. The custom measure has the specified name and the data specified by defaultExpression
.name
- A String
that specifies the name of the custom MdmMeasure
.defaultExpression
- An MtmValueExpression
that specifies the data for the custom MdmMeasure
.MdmMeasure
with a data type of Number.public MdmMeasure createNumericMeasure(java.lang.String name, java.lang.String defaultExpression)
MdmMeasure
that has a data type of Number, and adds it to this MtmPartitionedCube
. The custom measure has the specified name and the data specified by defaultExpression
.name
- A String
that specifies the name of the custom MdmMeasure
.defaultExpression
- A String
that specifies the data for the custom MdmMeasure
.MdmMeasure
that this method adds to this MtmPartitionedCube
.public MdmMeasure createBooleanMeasure(java.lang.String name, MtmValueExpression defaultExpression)
MdmMeasure
that has a data type of Boolean, and adds it to this MtmPartitionedCube
. The custom measure has the specified name and the data specified by defaultExpression
.name
- A String
that specifies the name of the custom MdmMeasure
.defaultExpression
- An MtmValueExpression
that specifies the data for the custom MdmMeasure
.MdmMeasure
that this method adds to this MtmPartitionedCube
.public MdmMeasure createBooleanMeasure(java.lang.String name, java.lang.String defaultExpression)
MdmMeasure
that has a data type of Boolean, and adds it to this MtmPartitionedCube
. The custom measure has the specified name and the data specified by defaultExpression
.name
- A String
that specifies the name of the custom MdmMeasure
.defaultExpression
- A String
that specifies the data for the custom MdmMeasure
.MdmMeasure
that this method adds to this MtmPartitionedCube
.public MdmMeasure createStringMeasure(java.lang.String name, MtmValueExpression defaultExpression)
MdmMeasure
that has a data type of String, and adds it to this MtmPartitionedCube
. The custom measure has the specified name and the data specified by defaultExpression
.name
- A String
that specifies the name of the custom MdmMeasure
.defaultExpression
- An MtmValueExpression
that specifies the data for the custom MdmMeasure
.MdmMeasure
that this method adds to this MtmPartitionedCube
.public MdmMeasure createStringMeasure(java.lang.String name, java.lang.String defaultExpression)
MdmMeasure
that has a data type of String, and adds it to this MtmPartitionedCube
. The custom measure has the specified name and the data specified by defaultExpression
.name
- A String
that specifies the name of the custom MdmMeasure
.defaultExpression
- A String
that specifies the data for the custom MdmMeasure
.MdmMeasure
that this method adds to this MtmPartitionedCube
.public MdmMeasure createDateMeasure(java.lang.String name, MtmValueExpression defaultExpression)
MdmMeasure
that has a data type of Date, and adds it to this MtmPartitionedCube
. The custom measure has the specified name and the data specified by defaultExpression
.name
- A String
that specifies the name of the custom MdmMeasure
.defaultExpression
- An MtmValueExpression
that specifies the data for the custom MdmMeasure
.MdmMeasure
that this method adds to this MtmPartitionedCube
.public MdmMeasure createDateMeasure(java.lang.String name, java.lang.String defaultExpression)
MdmMeasure
that has a data type of Date, and adds it to this MtmPartitionedCube
. The custom measure has the specified name and the data specified by defaultExpression
.name
- A String
that specifies the name of the custom MdmMeasure
.defaultExpression
- A String
that specifies the data for the custom MdmMeasure
.MdmMeasure
that this method adds to this MtmPartitionedCube
.public void removeMeasure(MdmMeasure measure)
MdmMeasure
from this MtmPartitionedCube
.measure
- The MdmMeasure
to remove from this MtmPartitionedCube
.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |