public interface OlapElement
OlapElement
is a catalog object (dimension, hierarchy,
level, member).Modifier and Type | Interface and Description |
---|---|
static class |
OlapElement.LocalizedProperty |
Modifier and Type | Method and Description |
---|---|
String |
getCaption() |
String |
getDescription() |
Dimension |
getDimension()
Returns the dimension of a this expression, or null if no dimension is
defined.
|
Hierarchy |
getHierarchy() |
String |
getLocalized(OlapElement.LocalizedProperty prop,
Locale locale)
Returns the value of a property (caption or description) of
this element in the given locale.
|
String |
getName() |
String |
getQualifiedName()
Returns the name of this element qualified by its class, for example
"hierarchy 'Customers'".
|
String |
getUniqueName() |
boolean |
isVisible()
Returns whether this element is visible to end-users.
|
OlapElement |
lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType)
Looks up a child element, returning null if it does not exist.
|
String getUniqueName()
String getName()
String getDescription()
OlapElement lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
String getQualifiedName()
String getCaption()
String getLocalized(OlapElement.LocalizedProperty prop, Locale locale)
locale
- LocaleHierarchy 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)
boolean isVisible()
Visibility is a hint for client applications. An element's visibility does not affect how it is treated when MDX queries are evaluated.
Copyright © 2019 Hitachi Vantara. All rights reserved.