mondrian.olap4j
Class MondrianOlap4jCube
java.lang.Object
mondrian.olap4j.MondrianOlap4jCube
- All Implemented Interfaces:
- org.olap4j.impl.Named, Cube, MetadataElement
class MondrianOlap4jCube
- extends Object
- implements Cube, org.olap4j.impl.Named
Implementation of Cube
for the Mondrian OLAP engine.
- Since:
- May 24, 2007
- Author:
- jhyde
-
-
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(Locale locale)
- Specified by:
getCaption
in interface MetadataElement
getDescription
public String getDescription(Locale locale)
- Specified by:
getDescription
in interface MetadataElement
lookupMember
public MondrianOlap4jMember lookupMember(String... nameParts)
- Specified by:
lookupMember
in interface Cube
lookupMembers
public List<Member> lookupMembers(Set<Member.TreeOp> treeOps,
String... nameParts)
throws OlapException
- Specified by:
lookupMembers
in interface Cube
- Throws:
OlapException