|
Oracle® OLAP Java API Reference 11g Release 1 (11.1) B28128-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.deployment.PrimaryDimensionOrganization
oracle.olapi.metadata.deployment.AWPrimaryDimensionOrganization
public final class AWPrimaryDimensionOrganization
A PrimaryDimensionOrganization
for an analytic workspace. An AWPrimaryDimensionOrganization
contains information about how the data for an MdmPrimaryDimension
is organized and maintained by Oracle OLAP. It contains an AWAttributeOrganization
for each of the MdmAttribute
objects that are owned by the dimension. It also contains a default BuildSpecification
object that specifies how Oracle OLAP builds the dimension. This class has methods that specify the creation of an ET (embedded total) view and the creation of an MV (materialized view).
An application creates an AWPrimaryDimensionOrganization
with the
method of an createAWOrganization
MdmPrimaryDimension
.
Field Summary | |
---|---|
static java.lang.String |
COMPLETE_REFRESH_MV_OPTION A constant that indicates that Oracle OLAP creates a materialized view that supports a complete refresh operation. |
static java.lang.String |
COMPLETE_REFRESH_READY_MV_OPTION A constant that indicates that Oracle OLAP determines that the conditions exist that permit the future creation of a materialized view that is capable of a complete refresh. |
static java.lang.String |
CREATE_ET_VIEW_OPTION A constant that indicates that Oracle OLAP creates ET views for the dimension. |
static java.lang.String |
HIERARCHY_RULE_CONSISTENT A constant that indicates that the parent-child relationships are consistent across the hierarchies of the dimension. |
static java.lang.String |
HIERARCHY_RULE_SOLVE_CONSISTENT A constant that indicates that the parent-child relationships only need to be consistent across the hierarchies of the dimension when the hierarchies appear together in a ConsistentSolveSpecification . |
static java.lang.String |
HIERARCHY_RULE_STAR_CONSISTENT A constant that indicates that the hierarchies of the dimension are consistent with a star schema organization. |
static java.lang.String |
NONE_ET_VIEW_OPTION A constant that indicates that Oracle OLAP does not create an ET views for the dimension. |
static java.lang.String |
NONE_MV_OPTION A constant that indicates that Oracle OLAP does not a create materialized view for the dimension. |
static java.lang.String[] |
VALID_ET_VIEW_OPTIONS A constant that has the valid values for ET view options. |
static java.lang.String[] |
VALID_HIERARCHY_RULES A constant that has the valid values for hierarchy rules. |
static java.lang.String[] |
VALID_MV_OPTIONS A constant that has the valid values for materialized view options. |
Method Summary | |
---|---|
MVCreationOptions |
findOrCreateMVCreationOptions() Gets the MVCreationOptions that is associated with this AWPrimaryDimensionOrganization or creates one if it does not already exist. |
boolean |
getAddUniqueKeyPrefix() Indicates whether or not each member of this dimension has a unique level-based prefix added to the key expressions when a build loads the data into the analytic workspace. |
AWAttributeOrganization |
getAttributeOrganization(MdmBaseAttribute attr) Gets the AWAttributeOrganization that is associated with the specified MdmBaseAttribute . |
java.util.List |
getAttributeOrganizations() Gets the AWAttributeOrganization objects that are associated with this AWPrimaryDimensionOrganization . |
AW |
getAW() Gets the analytic workspace that is associated with this AWPrimaryDimensionOrganization . |
BuildSpecification |
getDefaultBuildSpecification() Gets the default BuildSpecification of this AWPrimaryDimensionOrganization . |
java.lang.String |
getETViewOption() Gets the ET view option of the AWPrimaryDimensionOrganization , which specifies whether Oracle OLAP does or does not create ET (embedded total) views for the dimension. |
java.lang.String |
getHierarchyConsistencyRule() Gets the hierarchy consistency rule that is associated with this AWPrimaryDimensionOrganization . |
java.lang.String |
getMVOption() Gets the materialized view option for the dimension that is associated with this AWPrimaryDimensionOrganization . |
void |
removeAttributeOrganization(AWAttributeOrganization org) Removes the specified AWAttributeOrganization from this AWPrimaryDimensionOrganization . |
void |
setAddUniqueKeyPrefix(boolean val) Specifies whether each member of this dimension has a unique level-based prefix added to the key expressions when a build loads the data into the analytic workspace. |
void |
setAW(AW aw) Specifiess an analytic workspace with which to associate this AWPrimaryDimensionOrganization . |
void |
setDefaultBuildSpecification(BuildSpecification spec) Specifies a BuildSpecification to use as the default for this AWPrimaryDimensionOrganization . |
void |
setETViewOption(java.lang.String option) Specifies an ET view option for the AWPrimaryDimensionOrganization . |
void |
setHierarchyConsistencyRule(java.lang.String option) Specifies the hierarchy consistency rule for the dimension that is associated with this AWPrimaryDimensionOrganization . |
void |
setMVCreationOptions(MVCreationOptions mvCreationOptions) |
void |
setMVOption(java.lang.String option) Specifies the materialized view option for the dimension that is associated with this AWPrimaryDimensionOrganization . |
Methods inherited from class oracle.olapi.metadata.deployment.PrimaryDimensionOrganization |
---|
getPrimaryDimension |
Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
---|
getID, getOwner |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NONE_MV_OPTION
public static final java.lang.String COMPLETE_REFRESH_MV_OPTION
public static final java.lang.String COMPLETE_REFRESH_READY_MV_OPTION
public static final java.lang.String[] VALID_MV_OPTIONS
public static final java.lang.String HIERARCHY_RULE_CONSISTENT
public static final java.lang.String HIERARCHY_RULE_SOLVE_CONSISTENT
ConsistentSolveSpecification
.
public static final java.lang.String HIERARCHY_RULE_STAR_CONSISTENT
public static final java.lang.String[] VALID_HIERARCHY_RULES
public static final java.lang.String NONE_ET_VIEW_OPTION
public static final java.lang.String CREATE_ET_VIEW_OPTION
public static final java.lang.String[] VALID_ET_VIEW_OPTIONS
Method Detail |
---|
public MVCreationOptions findOrCreateMVCreationOptions()
MVCreationOptions
that is associated with this AWPrimaryDimensionOrganization
or creates one if it does not already exist. The MVCreationOptions
specifies options that Oracle OLAP uses when it creates a materialized view for the MdmPrimaryDimension
that is associated with this AWPrimaryDimensionOrganization
.
With the setMVOptions
method, you can specify whether or not to create MVs for the dimension. If you specify creating MVs, you can use an MVCreationOptions
object to specify values that Oracle OLAP uses when it actually creates the MVs.
MVCreationOptions
that contains options that affect the creation of materialized views.public final boolean getAddUniqueKeyPrefix()
boolean
that is true
if a unique prefix is added to the key expressions or false
otherwise.public final void setAddUniqueKeyPrefix(boolean val)
val
- A boolean
that is true
if a unique prefix is added to the key expressions or false
otherwise.public final java.lang.String getHierarchyConsistencyRule()
AWPrimaryDimensionOrganization
.String
that contains the hierarchy consistency rule for the dimension.public final void setHierarchyConsistencyRule(java.lang.String option)
AWPrimaryDimensionOrganization
. The hierarchy consistency rule indicates the organization with which the parent-child relationships of the hierarchies are consistent.
The following table lists the constants that represent the valid values for the option
parameter.
Note: To create materialized views for the dimension, the hierarchies of the dimension must be consistent with a star schema organization.
Constant | Description |
---|---|
HIERARCHY_RULE_CONSISTENT |
Specifies that the parent-child relationships are consistent across the hierarchies of the dimension. |
HIERARCHY_RULE_SOLVE_CONSISTENT |
Specifies that the parent-child relationships are not consistent across the hierarchies of the dimension. An example of inconsistent hierarchies occurs when the parent-child relationship is reversed in two hierarchies. For example, in hierarchy 1, dimension member A is the parent of member B, while and in hierarchy 2, member B is the parent of member A. |
HIERARCHY_RULE_STAR_CONSISTENT |
Specifies that the hierarchies of the dimension are consistent with a star schema organization. |
option
- A String
that contains a hierarchy consistency rule for the dimension.public final AW getAW()
AWPrimaryDimensionOrganization
.AW
associated with this AWPrimaryDimensionOrganization
.public final void setAW(AW aw)
AWPrimaryDimensionOrganization
.aw
- The AW
with which to associate this AWPrimaryDimensionOrganization
.public java.util.List getAttributeOrganizations()
AWAttributeOrganization
objects that are associated with this AWPrimaryDimensionOrganization
.List
of the AWAttributeOrganization
objects associated with this AWPrimaryDimensionOrganization
.public AWAttributeOrganization getAttributeOrganization(MdmBaseAttribute attr)
AWAttributeOrganization
that is associated with the specified MdmBaseAttribute
. If the AWAttributeOrganization
does not already exit, then this method creates one and adds it to the list of AWAttributeOrganization
objects for this AWPrimaryDimensionOrganization
.attr
- The AWAttributeOrganization
associated with the specified MdmBaseAttribute
.AWAttributeOrganization
associated with the specified MdmBaseAttribute
.public void removeAttributeOrganization(AWAttributeOrganization org)
AWAttributeOrganization
from this AWPrimaryDimensionOrganization
.org
- The AWAttributeOrganization
to remove from this AWPrimaryDimensionOrganization
.public final java.lang.String getMVOption()
AWPrimaryDimensionOrganization
.String
that contains the materialized view option for the dimension.public final void setMVOption(java.lang.String option)
AWPrimaryDimensionOrganization
. The creation of a materialized view for the dimension requires that the hierarchy consistency rule is HIERARCHY_RULE_STAR_CONSISTENT
. If you specify the creation of a materialized view with this method, then you can use an MVCreationOptions
object to specify options that Oracle OLAP uses when it actually creates the MV.
The following table lists the constants that represent the valid values for the option
parameter.
Constant | Description |
---|---|
NONE_MV_OPTION |
Specifies that Oracle OLAP does create materialized views for the dimension. |
COMPLETE_REFRESH_MV_OPTION |
Specifies that Oracle OLAP that creates a materialized views that supports a complete refresh operation. |
COMPLETE_REFRESH_READY_MV_OPTION |
Specifies that Oracle OLAP determines that the conditions exist that permit the future creation of a materialized view that is capable of a complete refresh but does not actually create the MV. |
For more information on materialized views for an analytic workspace, see Oracle OLAP User's Guide.
option
- A String
that contains a materialized view option for the dimension.public final void setMVCreationOptions(MVCreationOptions mvCreationOptions)
public BuildSpecification getDefaultBuildSpecification()
BuildSpecification
of this AWPrimaryDimensionOrganization
.BuildSpecification
for this AWPrimaryDimensionOrganization
.public void setDefaultBuildSpecification(BuildSpecification spec)
BuildSpecification
to use as the default for this AWPrimaryDimensionOrganization
.spec
- The BuildSpecification
to use as the default for this AWPrimaryDimensionOrganization
.public final java.lang.String getETViewOption()
AWPrimaryDimensionOrganization
, which specifies whether Oracle OLAP does or does not create ET (embedded total) views for the dimension.String
that contains the ET view option of the AWPrimaryDimensionOrganization
.public final void setETViewOption(java.lang.String option)
AWPrimaryDimensionOrganization
. The setting of the option determines whether Oracle OLAP does or does not create ET (embedded total) views for the dimension. You can query ET views by using SQL statements. ET views are called OLAP views in Oracle OLAP User's Guide. For information on querying the views with a SQL application, see the user's guide.
The following table lists the constants that represent the valid values for the option
parameter.
Constant | Description |
---|---|
NONE_ET_VIEW_OPTION |
Specifies that Oracle OLAP does not create ET views for the dimension. |
CREATE_ET_VIEW_OPTION |
Specifies that Oracle OLAP creates ET views for the dimension. |
option
- A String
that contains an ET view option for the dimension.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |