|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") public interface LevelInterface
Represents a level in a multidimensional cube. In addition to the basic information about the level itself, the parent and child interfaces can also be retrieved directly from the LevelInterface. The getHierarchy() method returns the HierarchyInterface which parents this level, and the members can be retrieved with getMembers() or getMembers(index, count) methods. The level may also be bound to an instance of the MetadataInterface, which is accessible from the getMetadata() method.
MetadataInterface,
HierarchyInterface,
MemberInterface,
PropertyInterface| Field Summary | |
|---|---|
static int |
TYPE_ALL
The name of the level whose type is all, as well as the return value for the getType method. |
static int |
TYPE_CALCULATED
The name of the level whose type is calculated, as well as the return value for the getType method. |
static int |
TYPE_REGULAR
The name of the level whose type is regular, as well as the return value for the getType method. |
static int |
TYPE_TIME
The name of the level whose type is time, as well as the return value for the getType method. |
static int |
TYPE_TIME_DAYS
The name of the level whose type is days, as well as the return value for the getType method. |
static int |
TYPE_TIME_HALF_YEAR
The name of the level whose type is a half year, as well as the return value for the getType method. |
static int |
TYPE_TIME_HOURS
The name of the level whose type is hours, as well as the return value for the getType method. |
static int |
TYPE_TIME_MINUTES
The name of the level whose type is minutes, as well as the return value for the getType method. |
static int |
TYPE_TIME_MONTHS
The name of the level whose type is a month, as well as the return value for the getType method. |
static int |
TYPE_TIME_QUARTERS
The name of the level whose type is a quarter, as well as the return value for the getType method. |
static int |
TYPE_TIME_SECONDS
The name of the level whose type is seconds, as well as the return value for the getType method. |
static int |
TYPE_TIME_UNDEFINED
The name of the level whose type is time, but undefined, as well as the return value for the getType method. |
static int |
TYPE_TIME_WEEKS
The name of the level whose type is weeks, as well as the return value for the getType method. |
static int |
TYPE_TIME_YEARS
The name of the level whose type is years, as well as the return value for the getType method. |
static int |
TYPE_UNKNOWN
The name of the level whose type is unknown, as well as the return value for the getType method. |
| Method Summary | |
|---|---|
abstract CubeInterface |
getCube()
Returns the cube to which the hierarchy belongs. |
abstract int |
getDepth()
Returns the distance of the level from the root of the hierarchy. |
abstract Filter |
getFilter()
Returns a copy of the Filter object that was used to obtain this LevelInterface. |
abstract HierarchyInterface |
getHierarchy()
Returns the hierarchy that this level is a child of. |
abstract int |
getMemberCount()
Returns the number of members associated with the level. |
abstract MemberInterface[] |
getMembers()
Returns the members associated with this level. |
abstract MemberInterface[] |
getMembers(int index,
int count)
Returns the members associated with a given range of indices. |
abstract PropertyInterface[] |
getProperties()
Returns the properties associated with this level. |
abstract int |
getType()
Returns the type of the level. |
| Methods inherited from interface com.sas.storage.olap.MetadataEntityInterface |
|---|
getCreationDateTime, getDescription, getLabel, getMetadata, getName, getUniqueName, getUpdateDateTime |
| Field Detail |
|---|
static final int TYPE_REGULAR
static final int TYPE_CALCULATED
static final int TYPE_ALL
static final int TYPE_TIME
static final int TYPE_TIME_YEARS
static final int TYPE_TIME_HALF_YEAR
static final int TYPE_TIME_QUARTERS
static final int TYPE_TIME_MONTHS
static final int TYPE_TIME_WEEKS
static final int TYPE_TIME_DAYS
static final int TYPE_TIME_HOURS
static final int TYPE_TIME_MINUTES
static final int TYPE_TIME_SECONDS
static final int TYPE_TIME_UNDEFINED
static final int TYPE_UNKNOWN
| Method Detail |
|---|
CubeInterface getCube()
throws OLAPException
OLAPException - if a database error occurs
HierarchyInterface getHierarchy()
throws OLAPException
OLAPException - if a database error occurs
int getType()
throws OLAPException
OLAPException - if a database error occurs
int getDepth()
throws OLAPException
OLAPException - if a database error occurs
int getMemberCount()
throws OLAPException
OLAPException - if a database error occurs
MemberInterface[] getMembers(int index,
int count)
throws OLAPException
index - A zero-based member index (0 to getMemberCount()-1).count - The number of members to return.
OLAPException - if a database error occurs
MemberInterface[] getMembers()
throws OLAPException
OLAPException - if a database error occurs
PropertyInterface[] getProperties()
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 | |||||||||||||