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 of Cube
for the Mondrian OLAP engine.
- Since:
- May 24, 2007
- Author:
- jhyde
cube
final Cube cube
olap4jSchema
final MondrianOlap4jSchema olap4jSchema
MondrianOlap4jCube
MondrianOlap4jCube(Cube cube,
MondrianOlap4jSchema olap4jSchema)
getSchema
public Schema getSchema()
- Specified by:
getSchema in interface Cube
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getDimensions
public NamedList<Dimension> getDimensions()
- Specified by:
getDimensions in interface Cube
getHierarchies
public NamedList<Hierarchy> getHierarchies()
- Specified by:
getHierarchies in interface Cube
getMeasures
public List<Measure> getMeasures()
- Specified by:
getMeasures in interface Cube
getSets
public NamedList<NamedSet> getSets()
- Specified by:
getSets in interface Cube
getSupportedLocales
public Collection<Locale> getSupportedLocales()
- Specified by:
getSupportedLocales in interface Cube
getName
public String getName()
- Specified by:
getName in interface org.olap4j.impl.Named- Specified by:
getName in interface MetadataElement
getUniqueName
public String getUniqueName()
- Specified by:
getUniqueName in interface MetadataElement
getCaption
public String getCaption()
- Specified by:
getCaption in interface MetadataElement
getDescription
public String getDescription()
- Specified by:
getDescription in interface MetadataElement
isVisible
public boolean isVisible()
- Specified by:
isVisible in interface MetadataElement
lookupMember
public MondrianOlap4jMember lookupMember(List<IdentifierSegment> nameParts)
throws OlapException
- Specified by:
lookupMember in interface Cube
- Throws:
OlapException
lookupMembers
public List<Member> lookupMembers(Set<Member.TreeOp> treeOps,
List<IdentifierSegment> nameParts)
throws OlapException
- Specified by:
lookupMembers in interface Cube
- Throws:
OlapException
isDrillThroughEnabled
public boolean isDrillThroughEnabled()
- Specified by:
isDrillThroughEnabled in interface Cube
getOlapElement
protected OlapElement getOlapElement()
- Description copied from class:
MondrianOlap4jMetadataElement
- Returns the Mondrian metadata element inside this wrapper, or null if
there is none.
- Specified by:
getOlapElement in class MondrianOlap4jMetadataElement
- Returns:
- The Mondrian metadata element, if any