|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HierarchyInterface
Represents a hierarchy in a multidimensional cube. In addition to the basic information about the hierarchy itself, the parent and child interfaces can also be retrieved directly from the HierarchyInterface. The getDimension() method returns the DimensionInterface which parents this hierarchy, and the levels can be retrieved with getLevels(). The hierarchy may also be bound to an instance of the MetadataInterface, which is accessible from the getMetadata() method.
MetadataInterface
,
DimensionInterface
,
LevelInterface
Field Summary | |
---|---|
static int |
FULLY_BALANCED_STRUCTURE
fully balanced structure type of this hierarhy |
static int |
NETWORK_STRUCTURE
Netwrok structure type of this hierarhy |
static int |
RAGGED_BALANCED_STRUCTURE
Ragged structure type of this hierarhy |
static int |
UNBALANCED_STRUCTURE
Unbalanced structure type of this hierarhy |
static int |
UNSPECIFIED_STRUCTURE
Unspecified structure type of this hierarhy |
Method Summary | |
---|---|
CubeInterface |
getCube()
Returns the name of the cube to which the hierarchy belongs. |
MemberInterface |
getDefaultMember()
Returns the default member for this hierarchy. |
DimensionInterface |
getDimension()
Returns the dimension that this hierarchy is a child of. |
Filter |
getFilter()
Returns a copy of the Filter object that was used to obtain this HierarchyInterface. |
LevelInterface[] |
getLevels()
Returns the levels associated with this hierarchy. |
int |
getMemberCount()
Returns the number of members in this hierarchy |
MemberInterface[] |
getMembers()
Get all the members that belong to this hierarchy. |
int |
getStructure()
Get the sturcture type of this hierarchy. |
MemberInterface |
getTopMember()
Returns the member at the highest level of rollup in the hierarcy. |
MemberInterface[] |
getTopMembers()
Returns member/s at the highest level of rollup in the hierarcy. |
Methods inherited from interface com.sas.storage.olap.MetadataEntityInterface |
---|
getCreationDateTime, getDescription, getLabel, getMetadata, getName, getUniqueName, getUpdateDateTime |
Field Detail |
---|
static final int UNSPECIFIED_STRUCTURE
static final int FULLY_BALANCED_STRUCTURE
static final int RAGGED_BALANCED_STRUCTURE
static final int UNBALANCED_STRUCTURE
static final int NETWORK_STRUCTURE
Method Detail |
---|
int getStructure() throws OLAPException
OLAPException
MemberInterface[] getMembers() throws OLAPException
OLAPException
- if the database error occursCubeInterface getCube() throws OLAPException
OLAPException
- if a database error occursMemberInterface getDefaultMember() throws OLAPException
OLAPException
- if a database error occursMemberInterface getTopMember() throws OLAPException
OLAPException
- if a database error occurs
* @deprecatedMemberInterface[] getTopMembers() throws OLAPException
OLAPException
- if a database error occursint getMemberCount() throws OLAPException
OLAPException
- if a database error occursDimensionInterface getDimension() throws OLAPException
OLAPException
- if a database error occursLevelInterface[] getLevels() throws OLAPException
OLAPException
- if a database error occursFilter getFilter() throws OLAPException
OLAPException
- if a database error occurs
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |