|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.storage.olap.sasmdx.Hierarchy
@SASScope(value="ALL") 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 MetadataEntityInterfaceOLAPException
public java.lang.String getLabel()
throws OLAPException
getLabel in interface MetadataEntityInterfaceOLAPException
public java.lang.String getUniqueName()
throws OLAPException
getUniqueName in interface MetadataEntityInterfaceOLAPException
public java.lang.String getDescription()
throws OLAPException
getDescription in interface MetadataEntityInterfaceOLAPExceptionpublic 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 HierarchyInterfaceOLAPException - if a database error occurs
public int getMemberCount()
throws OLAPException
getMemberCount in interface HierarchyInterfaceOLAPException - if a database error occurs
public MemberInterface getDefaultMember()
throws OLAPException
getDefaultMember in interface HierarchyInterfaceOLAPException - if a database error occurs
public MemberInterface getTopMember()
throws OLAPException
getTopMember in interface HierarchyInterfaceOLAPException - if a database error occurs
* @deprecated
public MemberInterface[] getTopMembers()
throws OLAPException
HierarchyInterface
getTopMembers in interface HierarchyInterfaceOLAPException - if a database error occurs
public LevelInterface[] getLevels()
throws OLAPException
getLevels in interface HierarchyInterfaceOLAPException - if a database error occurs
public Filter getFilter()
throws OLAPException
getFilter in interface HierarchyInterfaceOLAPException - if a database error occurs
public MetadataInterface getMetadata()
throws OLAPException
getMetadata in interface MetadataEntityInterfaceOLAPException - if a database error occurs
public CubeInterface getCube()
throws OLAPException
getCube in interface HierarchyInterfaceOLAPException - if a database error occurs
public MemberInterface[] getMembers()
throws OLAPException
HierarchyInterface
getMembers in interface HierarchyInterfaceOLAPException - if the database error occurs
public java.util.Date getCreationDateTime()
throws OLAPException
MetadataEntityInterface
getCreationDateTime in interface MetadataEntityInterfaceOLAPException
public java.util.Date getUpdateDateTime()
throws OLAPException
MetadataEntityInterface
getUpdateDateTime in interface MetadataEntityInterfaceOLAPException
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||