Package mondrian.olap4j
Class MondrianOlap4jCube
- java.lang.Object
-
- mondrian.olap4j.MondrianOlap4jMetadataElement
-
- mondrian.olap4j.MondrianOlap4jCube
-
- All Implemented Interfaces:
org.olap4j.impl.Named,Cube,MetadataElement,OlapWrapper
class MondrianOlap4jCube extends MondrianOlap4jMetadataElement implements Cube, org.olap4j.impl.Named
Implementation ofCubefor the Mondrian OLAP engine.- Since:
- May 24, 2007
- Author:
- jhyde
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Cubecube(package private) MondrianOlap4jSchemaolap4jSchema
-
Constructor Summary
Constructors Constructor Description MondrianOlap4jCube(Cube cube, MondrianOlap4jSchema olap4jSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCaption()StringgetDescription()NamedList<Dimension>getDimensions()NamedList<Hierarchy>getHierarchies()List<Measure>getMeasures()StringgetName()protected OlapElementgetOlapElement()Returns the Mondrian metadata element inside this wrapper, or null if there is none.SchemagetSchema()NamedList<NamedSet>getSets()Collection<Locale>getSupportedLocales()StringgetUniqueName()inthashCode()booleanisDrillThroughEnabled()booleanisVisible()MondrianOlap4jMemberlookupMember(List<IdentifierSegment> nameParts)List<Member>lookupMembers(Set<Member.TreeOp> treeOps, List<IdentifierSegment> nameParts)-
Methods inherited from class mondrian.olap4j.MondrianOlap4jMetadataElement
isWrapperFor, unwrap, unwrapImpl
-
-
-
-
Field Detail
-
cube
final Cube cube
-
olap4jSchema
final MondrianOlap4jSchema olap4jSchema
-
-
Constructor Detail
-
MondrianOlap4jCube
MondrianOlap4jCube(Cube cube, MondrianOlap4jSchema olap4jSchema)
-
-
Method Detail
-
getDimensions
public NamedList<Dimension> getDimensions()
- Specified by:
getDimensionsin interfaceCube
-
getHierarchies
public NamedList<Hierarchy> getHierarchies()
- Specified by:
getHierarchiesin interfaceCube
-
getMeasures
public List<Measure> getMeasures()
- Specified by:
getMeasuresin interfaceCube
-
getSupportedLocales
public Collection<Locale> getSupportedLocales()
- Specified by:
getSupportedLocalesin interfaceCube
-
getName
public String getName()
- Specified by:
getNamein interfaceMetadataElement- Specified by:
getNamein interfaceorg.olap4j.impl.Named
-
getUniqueName
public String getUniqueName()
- Specified by:
getUniqueNamein interfaceMetadataElement
-
getCaption
public String getCaption()
- Specified by:
getCaptionin interfaceMetadataElement
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceMetadataElement
-
isVisible
public boolean isVisible()
- Specified by:
isVisiblein interfaceMetadataElement
-
lookupMember
public MondrianOlap4jMember lookupMember(List<IdentifierSegment> nameParts) throws OlapException
- Specified by:
lookupMemberin interfaceCube- Throws:
OlapException
-
lookupMembers
public List<Member> lookupMembers(Set<Member.TreeOp> treeOps, List<IdentifierSegment> nameParts) throws OlapException
- Specified by:
lookupMembersin interfaceCube- Throws:
OlapException
-
isDrillThroughEnabled
public boolean isDrillThroughEnabled()
- Specified by:
isDrillThroughEnabledin interfaceCube
-
getOlapElement
protected OlapElement getOlapElement()
Description copied from class:MondrianOlap4jMetadataElementReturns the Mondrian metadata element inside this wrapper, or null if there is none.- Specified by:
getOlapElementin classMondrianOlap4jMetadataElement- Returns:
- The Mondrian metadata element, if any
-
-