Package mondrian.olap
Interface Cube
- All Superinterfaces:
- Annotated,- OlapElement
Cube.
- Author:
- jhyde, 2 March, 1999
- 
Nested Class SummaryNested classes/interfaces inherited from interface mondrian.olap.OlapElementOlapElement.LocalizedProperty
- 
Method SummaryModifier and TypeMethodDescriptionCreates a calculated member in this cube.Returns the dimensions of this cube.Member[]getMembersForQuery(String query, List<Member> calcMembers) Returns Member[].Return Month Level or null.getName()NamedSet[]Returns the named sets of this cube.Return Quarter Level or null.getSchemaReader(Role role) Returns aSchemaReaderfor which this cube is the context for lookup up members.Return Week Level or null.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.lookupHierarchy(Id.NameSegment s, boolean unique) Finds a hierarchy whose name (or unique name, ifuniqueis true) equalss.nonJoiningDimensions(Set<Dimension> otherDims) Finds out non joining dimensions for this cube.nonJoiningDimensions(Member[] tuple) Finds out non joining dimensions for this cube.Methods inherited from interface mondrian.olap.AnnotatedgetAnnotationMapMethods inherited from interface mondrian.olap.OlapElementgetCaption, getDescription, getDimension, getHierarchy, getLocalized, getQualifiedName, getUniqueName, isVisible, lookupChild
- 
Method Details- 
getNameString getName()- Specified by:
- getNamein interface- OlapElement
 
- 
getSchemaSchema getSchema()
- 
getDimensionsDimension[] getDimensions()Returns the dimensions of this cube.
- 
getNamedSetsNamedSet[] getNamedSets()Returns the named sets of this cube.
- 
lookupHierarchyFinds a hierarchy whose name (or unique name, ifuniqueis true) equalss.
- 
getMembersForQueryReturns Member[]. It builds Member[] by analyzing cellset, which gets created by running mdx sQuery.queryhas to be in the format of something like "[with calculated members] select *members* on columns fromthis".
- 
getYearLevelLevel 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.- Returns:
- Level or null.
 
- 
getQuarterLevelLevel getQuarterLevel()Return Quarter Level or null.- Returns:
- Quarter Level or null.
 
- 
getMonthLevelLevel getMonthLevel()Return Month Level or null.- Returns:
- Month Level or null.
 
- 
getWeekLevelLevel getWeekLevel()Return Week Level or null.- Returns:
- Week Level or null.
 
- 
getSchemaReaderReturns aSchemaReaderfor which this cube is the context for lookup up members. Ifroleis null, the returned schema reader also obeys the access-control profile of role.
- 
createCalculatedMemberCreates a calculated member in this cube.The XML string must be a <CalculatedMember/>element, as defined inMondrian.xml.- Parameters:
- xml- XML string
 
- 
nonJoiningDimensionsFinds out non joining dimensions for this cube.- Parameters:
- tuple- array of members
- Returns:
- Set of dimensions that do not exist (non joining) in this cube
 
- 
nonJoiningDimensionsFinds out non joining dimensions for this cube.- Parameters:
- otherDims- Set of dimensions to be tested for existence in this cube
- Returns:
- Set of dimensions that do not exist (non joining) in this cube
 
 
-