|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DimensionHierarchy
This defines the hierarchy of Dimensions on which aggregations should be performed
| Method Summary | ||
|---|---|---|
boolean |
computeRoot()
Returns true if the root computation of all nodes is required. |
|
boolean |
getComputeForLevel(int level)
Returns true if computation is desired at this level. |
|
int |
getDepth()
Return the entire length of hierarchy. |
|
Dimension |
getDimension(int level)
Return the dimension at the specified level in the hierarchy |
|
Dimension |
getDimension(java.lang.String dimName)
Returns the dimension associated with the name. |
|
java.util.Collection<java.lang.String> |
getDimensionAttribNames()
Returns an ordered list of attribute names corresponding to its ordered dimensions. |
|
|
getDimensions()
Return the ordered list of dimensions in this hierarchy. |
|
|
getExcludedMeasurements(Dimension dimension)
Returns a collection of excluded measurements for a given dimension. |
|
|
getExcludedMeasurements(int level)
Returns a collection of excluded measurements for a given level. |
|
int |
getLevel(java.lang.String dimensionNm)
Return level for a dimension. |
|
|
getMeasurement(java.lang.String name)
Return the associated measurement for this hierarchy. |
|
|
getMeasurements()
Return the associated measurements for this hierarchy. |
|
java.util.Collection<Measurement> |
getMeasurementsForLevel(int level)
Return a collection of measurements for a given level. |
|
|
getOwnerCube()
Gets the owning cube for this hierarchy |
|
RetentionPolicy |
getRetentionPolicy()
Return the associated retention policy for this dimension. |
|
boolean |
isEnabled()
Is computation for this hierarchy is enabled/ disabled ? If false, its disabled |
|
boolean |
isExcluded(int level,
java.lang.String measurementName)
Returns true if measurement is excluded at this dimension level |
|
| Methods inherited from interface com.tibco.rta.model.MetadataElement |
|---|
getDescription, getDisplayName, getName, getOwnerSchema, getProperty, getPropertyNames, serialize |
| Method Detail |
|---|
<T extends Cube> T getOwnerCube()
Dimension getDimension(int level)
level -
<T extends Dimension> java.util.Collection<T> getDimensions()
int getLevel(java.lang.String dimensionNm)
dimensionNm - The dimension for which to obtain the level in the hierarchy. The topmost level is 0.
int getDepth()
<T extends Measurement> T getMeasurement(java.lang.String name)
name - name of the measurement.<T extends Measurement> java.util.Collection<T> getMeasurements()
<T extends Measurement> java.util.Collection<T> getExcludedMeasurements(int level)
level - Level for which to obtain the excluded measurements.
<T extends Measurement> java.util.Collection<T> getExcludedMeasurements(Dimension dimension)
dimension - Dimension for which to obtain the excluded measurements.
Dimension getDimension(java.lang.String dimName)
dimName - the dimension name for which to obtain the dimension
boolean computeRoot()
java.util.Collection<Measurement> getMeasurementsForLevel(int level)
level - Level for which to obtain measurements.
boolean getComputeForLevel(int level)
level - the level for which to obtain its compute setting.
RetentionPolicy getRetentionPolicy()
boolean isEnabled()
boolean isExcluded(int level,
java.lang.String measurementName)
level - Level for which to obtain the excluded measurements.
java.util.Collection<java.lang.String> getDimensionAttribNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||