public interface DimensionHierarchy extends MetadataElement
Dimensions on which aggregations should be performed| Modifier and Type | Method and Description |
|---|---|
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.
|
<T extends Dimension> |
getDimensions()
Return the ordered list of dimensions in this hierarchy.
|
<T extends Measurement> |
getExcludedMeasurements(Dimension dimension)
Returns a collection of excluded measurements for a given dimension.
|
<T extends Measurement> |
getExcludedMeasurements(int level)
Returns a collection of excluded measurements for a given level.
|
int |
getLevel(java.lang.String dimensionNm)
Return level for a dimension.
|
<T extends Measurement> |
getMeasurement(java.lang.String name)
Return the associated measurement for this hierarchy.
|
<T extends Measurement> |
getMeasurements()
Return the associated measurements for this hierarchy.
|
java.util.Collection<Measurement> |
getMeasurementsForLevel(int level)
Return a collection of measurements for a given level.
|
<T extends Cube> |
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
|
getDescription, getDisplayName, getName, getOwnerSchema, getProperty, getPropertyNames, serialize<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 dimensionboolean 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()
Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.