|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OlapElement
An OlapElement
is a catalog object (dimension, hierarchy,
level, member).
Method Summary | |
---|---|
java.lang.String |
getCaption()
|
java.lang.String |
getDescription()
|
Dimension |
getDimension()
Returns the dimension of a this expression, or null if no dimension is defined. |
Hierarchy |
getHierarchy()
|
java.lang.String |
getName()
|
java.lang.String |
getQualifiedName()
Returns the name of this element qualified by its class, for example "hierarchy 'Customers'". |
java.lang.String |
getUniqueName()
|
OlapElement |
lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType)
Looks up a child element, returning null if it does not exist. |
Method Detail |
---|
java.lang.String getUniqueName()
java.lang.String getName()
java.lang.String getDescription()
OlapElement lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
java.lang.String getQualifiedName()
java.lang.String getCaption()
Hierarchy getHierarchy()
Dimension getDimension()
Example 1:
has dimension[Sales].children
[Sales]
.
Example 2:
has dimension [Promotion Media].order(except([Promotion Media].[Media Type].members, {[Promotion Media].[Media Type].[No Media]}), [Measures].[Unit Sales], DESC)
Example 3:
has no dimension (well, actually it is [Product] x [Gender], but we can't represent that, so we return null);CrossJoin([Product].[Product Department].members, [Gender].members)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |