|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") 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 | |
|---|---|
abstract CubeInterface |
getCube()
Returns the name of the cube to which the hierarchy belongs. |
abstract MemberInterface |
getDefaultMember()
Returns the default member for this hierarchy. |
abstract DimensionInterface |
getDimension()
Returns the dimension that this hierarchy is a child of. |
abstract Filter |
getFilter()
Returns a copy of the Filter object that was used to obtain this HierarchyInterface. |
abstract LevelInterface[] |
getLevels()
Returns the levels associated with this hierarchy. |
abstract int |
getMemberCount()
Returns the number of members in this hierarchy |
abstract MemberInterface[] |
getMembers()
Get all the members that belong to this hierarchy. |
abstract int |
getStructure()
Get the sturcture type of this hierarchy. |
abstract MemberInterface |
getTopMember()
Returns the member at the highest level of rollup in the hierarcy. |
abstract 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 occurs
CubeInterface getCube()
throws OLAPException
OLAPException - if a database error occurs
MemberInterface getDefaultMember()
throws OLAPException
OLAPException - if a database error occurs
MemberInterface getTopMember()
throws OLAPException
OLAPException - if a database error occurs
* @deprecated
MemberInterface[] getTopMembers()
throws OLAPException
OLAPException - if a database error occurs
int getMemberCount()
throws OLAPException
OLAPException - if a database error occurs
DimensionInterface getDimension()
throws OLAPException
OLAPException - if a database error occurs
LevelInterface[] getLevels()
throws OLAPException
OLAPException - if a database error occurs
Filter 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 | |||||||||||||