public interface Cube extends OlapElement, Annotated
OlapElement.LocalizedProperty
Modifier and Type | Method and Description |
---|---|
Member |
createCalculatedMember(String xml)
Creates a calculated member in this cube.
|
Dimension[] |
getDimensions()
Returns the dimensions of this cube.
|
Member[] |
getMembersForQuery(String query,
List<Member> calcMembers)
Returns Member[].
|
Level |
getMonthLevel()
Return Month Level or null.
|
String |
getName() |
NamedSet[] |
getNamedSets()
Returns the named sets of this cube.
|
Level |
getQuarterLevel()
Return Quarter Level or null.
|
Schema |
getSchema() |
SchemaReader |
getSchemaReader(Role role)
Returns a
SchemaReader for which this cube is the context for
lookup up members. |
Level |
getWeekLevel()
Return Week Level or null.
|
Level |
getYearLevel()
Helper method that returns the Year Level or returns null if the Time
Dimension does not exist or if Year is not defined in the Time Dimension.
|
Hierarchy |
lookupHierarchy(Id.NameSegment s,
boolean unique)
Finds a hierarchy whose name (or unique name, if
unique is
true) equals s . |
Set<Dimension> |
nonJoiningDimensions(Member[] tuple)
Finds out non joining dimensions for this cube.
|
Set<Dimension> |
nonJoiningDimensions(Set<Dimension> otherDims)
Finds out non joining dimensions for this cube.
|
getCaption, getDescription, getDimension, getHierarchy, getLocalized, getQualifiedName, getUniqueName, isVisible, lookupChild
getAnnotationMap
String getName()
getName
in interface OlapElement
Schema getSchema()
Dimension[] getDimensions()
NamedSet[] getNamedSets()
Hierarchy lookupHierarchy(Id.NameSegment s, boolean unique)
unique
is
true) equals s
.Member[] getMembersForQuery(String query, List<Member> calcMembers)
query
has to be in the
format of something like "[with calculated members] select *members* on
columns from this
".Level getYearLevel()
Level getQuarterLevel()
Level getMonthLevel()
Level getWeekLevel()
SchemaReader getSchemaReader(Role role)
SchemaReader
for which this cube is the context for
lookup up members.
If role
is null, the returned schema reader also obeys the
access-control profile of role.Member createCalculatedMember(String xml)
The XML string must be a <CalculatedMember/>
element, as defined in Mondrian.xml
.
xml
- XML stringSet<Dimension> nonJoiningDimensions(Member[] tuple)
tuple
- array of membersCopyright © 2018 Hitachi Vantara. All rights reserved.