|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DimensionInterface
Represents a dimension in a multidimensional cube. In addition to the basic information about the dimension itself, the parent and child interfaces can also be retrieved directly from the DimensionInterface. The getCube() method returns the CubeInterface which parents this dimension, and the hierarchies can be retrieved with getHierarchies(). The dimension may also be bound to an instance of the MetadataInterface, which is accessible from the getMetadata() method.
MetadataInterface
,
CubeInterface
,
HierarchyInterface
Field Summary | |
---|---|
static int |
TYPE_MEASURE
The name of the dimension whose type is measure, as well as the return value for the getType method. |
static int |
TYPE_OTHER
The name of the dimension whose type is something other than time or meausure, as well as the return value for the getType method. |
static int |
TYPE_TIME
The name of the dimension whose type is time, as well as the return value for the getType method. |
static int |
TYPE_UNKNOWN
The name of the dimension whose type is unknown, as well as the return value for the getType method. |
Method Summary | |
---|---|
CubeInterface |
getCube()
Returns the name of the cube to which the dimension belongs. |
HierarchyInterface |
getDefaultHierarchy()
Returns the default hierarchy for this dimension. |
Filter |
getFilter()
Returns a copy of the Filter object that was used to obtain this DimensionInterface. |
HierarchyInterface[] |
getHierarchies()
Returns the hierarchies associated with this dimension. |
int |
getMemberCount()
Returns the number of members in this dimension |
MemberInterface[] |
getMembers()
Get all the members that belong to this dimension. |
int |
getType()
Returns the type of the dimension. |
Methods inherited from interface com.sas.storage.olap.MetadataEntityInterface |
---|
getCreationDateTime, getDescription, getLabel, getMetadata, getName, getUniqueName, getUpdateDateTime |
Field Detail |
---|
static final int TYPE_TIME
static final int TYPE_MEASURE
static final int TYPE_OTHER
static final int TYPE_UNKNOWN
Method Detail |
---|
MemberInterface[] getMembers() throws OLAPException
OLAPException
- if the database error occursCubeInterface getCube() throws OLAPException
OLAPException
- if a database error occursint getType() throws OLAPException
OLAPException
- if a database error occursint getMemberCount() throws OLAPException
OLAPException
- if a database error occursHierarchyInterface getDefaultHierarchy() throws OLAPException
OLAPException
- if a database error occursHierarchyInterface[] getHierarchies() 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 |