|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.olap.sasmdx.Hierarchy
public class Hierarchy
Contains the client side implementation for com.sas.storage.olap.HierarchyInterface. This implementation uses the IOM/OLAP interfaces provided by the SAS OLAP server. There actually aren't any remote calls in this particular class. All remote metadata calls are made from within the MetadataInterface implementation.
Field Summary |
---|
Fields inherited from interface com.sas.storage.olap.HierarchyInterface |
---|
FULLY_BALANCED_STRUCTURE, NETWORK_STRUCTURE, RAGGED_BALANCED_STRUCTURE, UNBALANCED_STRUCTURE, UNSPECIFIED_STRUCTURE |
Constructor Summary | |
---|---|
Hierarchy(MetadataInterface metadata,
com.sas.iom.SASMDX.ISession _session,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String uniqueDimensionName,
java.lang.String name,
java.lang.String uniqueName,
java.lang.String label,
int memberCount,
java.lang.String defaultMemberName,
java.lang.String allMemberName,
java.lang.String description,
int structure)
|
Method Summary | |
---|---|
java.util.Date |
getCreationDateTime()
Get the creation date of this object |
CubeInterface |
getCube()
The the cube that this hierarchy belongs to |
MemberInterface |
getDefaultMember()
Get the default memebr of this hierarchy |
java.lang.String |
getDescription()
Return the description of hierarchy |
DimensionInterface |
getDimension()
Get the diemnsion for this hierarchy |
Filter |
getFilter()
Get the filter with the properties used to create this object. |
java.lang.String |
getLabel()
Get the label for this hierarchy |
LevelInterface[] |
getLevels()
Get the levels that belong to this hierarchy |
int |
getMemberCount()
Get the number of memebrs that belong to this hierarchy |
MemberInterface[] |
getMembers()
Get all the members that belong to this hierarchy. |
MetadataInterface |
getMetadata()
Get the metadata object |
java.lang.String |
getName()
Get the name of this hierarchy |
int |
getStructure()
Get the structure indicating the type of this Hierarchy. |
MemberInterface |
getTopMember()
Get the top member for this dimension |
MemberInterface[] |
getTopMembers()
Returns member/s at the highest level of rollup in the hierarcy. |
java.lang.String |
getUniqueName()
Get the unique name of this hierarchy |
java.util.Date |
getUpdateDateTime()
Get the last update/modified date time for this object |
Constructor Detail |
---|
public Hierarchy(MetadataInterface metadata, com.sas.iom.SASMDX.ISession _session, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String uniqueDimensionName, java.lang.String name, java.lang.String uniqueName, java.lang.String label, int memberCount, java.lang.String defaultMemberName, java.lang.String allMemberName, java.lang.String description, int structure) throws OLAPException
OLAPException
Method Detail |
---|
public java.lang.String getName() throws OLAPException
getName
in interface MetadataEntityInterface
OLAPException
public java.lang.String getLabel() throws OLAPException
getLabel
in interface MetadataEntityInterface
OLAPException
public java.lang.String getUniqueName() throws OLAPException
getUniqueName
in interface MetadataEntityInterface
OLAPException
public java.lang.String getDescription() throws OLAPException
getDescription
in interface MetadataEntityInterface
OLAPException
public int getStructure()
HierarchyInterface.UNSPECIFIED_STRUCTURE
HierarchyInterface.FULLY_BALANCED_STRUCTURE
HierarchyInterface.RAGGED_BALANCED_STRUCTURE
HierarchyInterface.UNBALANCED_STRUCTURE
HierarchyInterface.NETWORK_STRUCTURE
getStructure
in interface HierarchyInterface
public DimensionInterface getDimension() throws OLAPException
getDimension
in interface HierarchyInterface
OLAPException
- if a database error occurspublic int getMemberCount() throws OLAPException
getMemberCount
in interface HierarchyInterface
OLAPException
- if a database error occurspublic MemberInterface getDefaultMember() throws OLAPException
getDefaultMember
in interface HierarchyInterface
OLAPException
- if a database error occurspublic MemberInterface getTopMember() throws OLAPException
getTopMember
in interface HierarchyInterface
OLAPException
- if a database error occurs
* @deprecatedpublic MemberInterface[] getTopMembers() throws OLAPException
HierarchyInterface
getTopMembers
in interface HierarchyInterface
OLAPException
- if a database error occurspublic LevelInterface[] getLevels() throws OLAPException
getLevels
in interface HierarchyInterface
OLAPException
- if a database error occurspublic Filter getFilter() throws OLAPException
getFilter
in interface HierarchyInterface
OLAPException
- if a database error occurspublic MetadataInterface getMetadata() throws OLAPException
getMetadata
in interface MetadataEntityInterface
OLAPException
- if a database error occurspublic CubeInterface getCube() throws OLAPException
getCube
in interface HierarchyInterface
OLAPException
- if a database error occurspublic MemberInterface[] getMembers() throws OLAPException
HierarchyInterface
getMembers
in interface HierarchyInterface
OLAPException
- if the database error occurspublic java.util.Date getCreationDateTime() throws OLAPException
MetadataEntityInterface
getCreationDateTime
in interface MetadataEntityInterface
OLAPException
public java.util.Date getUpdateDateTime() throws OLAPException
MetadataEntityInterface
getUpdateDateTime
in interface MetadataEntityInterface
OLAPException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |