Uses of Interface
mondrian.olap.Hierarchy
Package
Description
Provides compiled expressions.
Provides implementation classes for compiled expressions.
Defines a parse tree for MDX expressions.
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
Defines the set of MDX built-in functions.
Type system for MDX expessions.
olap4j driver for the Mondrian OLAP engine.
Implements the data access layer for the olap package.
Mondrian utilities.
-
Uses of Hierarchy in mondrian.calc
Modifier and TypeMethodDescriptionHierarchyCalc.evaluateHierarchy
(Evaluator evaluator) Evaluates this expression to yield a hierarchy. -
Uses of Hierarchy in mondrian.calc.impl
Modifier and TypeMethodDescriptionstatic boolean
AbstractCalc.anyDepends
(Calc[] calcs, Hierarchy hierarchy) Returns true if one of the calcs depends on the given dimension.static boolean
AbstractCalc.anyDependsButFirst
(Calc[] calcs, Hierarchy hierarchy) Returns true if calc[0] depends on dimension, else false if calc[0] returns dimension, else true if any of the other calcs depend on dimension.static boolean
AbstractCalc.butDepends
(Calc[] calcs, Hierarchy hierarchy) Returns true if any of the calcs depend on dimension, else false if any of the calcs return dimension, else true.static Calc
ConstantCalc.constantHierarchy
(Hierarchy hierarchy) Creates an expression which evaluates to a given hierarchy.boolean
boolean
boolean
boolean
boolean
boolean
-
Uses of Hierarchy in mondrian.mdx
-
Uses of Hierarchy in mondrian.olap
Modifier and TypeFieldDescriptionprotected Hierarchy[]
DimensionBase.hierarchies
protected final Hierarchy
LevelBase.hierarchy
Modifier and TypeMethodDescriptionDimension.getHierarchies()
Returns an array of the hierarchies which belong to this dimension.DimensionBase.getHierarchies()
CubeBase.getHierarchy()
DimensionBase.getHierarchy()
HierarchyBase.getHierarchy()
Level.getHierarchy()
LevelBase.getHierarchy()
Member.getHierarchy()
MemberBase.getHierarchy()
OlapElement.getHierarchy()
Query.ScopedNamedSet.getHierarchy()
SetBase.getHierarchy()
Query.getMdxHierarchiesOnAxis
(AxisOrdinal axis) ReturnsHierarchy[]
used onaxis
.CubeAccess.getNoAccessHierarchies()
Schema.getSharedHierarchies()
Returns a list of shared dimensions in this schema.Cube.lookupHierarchy
(Id.NameSegment s, boolean unique) Finds a hierarchy whose name (or unique name, ifunique
is true) equalss
.CubeBase.lookupHierarchy
(Id.NameSegment s, boolean unique) Modifier and TypeMethodDescriptionDelegatingSchemaReader.getDimensionHierarchies
(Dimension dimension) SchemaReader.getDimensionHierarchies
(Dimension dimension) Returns the accessible hierarchies of a dimension.SetBase.getHierarchies()
CubeAccess.getNoAccessHierarchyList()
Modifier and TypeMethodDescriptionstatic Role.HierarchyAccess
RoleImpl.createAllAccess
(Hierarchy hierarchy) Creates an element which represents all access to a hierarchy.Returns the access this role has to a given hierarchy.DelegatingRole.getAccessDetails
(Hierarchy hierarchy) Returns the details of this hierarchy's access, or null if the hierarchy has not been given explicit access.Role.getAccessDetails
(Hierarchy hierarchy) Returns the details of this hierarchy's access, or null if the hierarchy has not been given explicit access.RoleImpl.getAccessDetails
(Hierarchy hierarchy) DelegatingSchemaReader.getCalculatedMembers
(Hierarchy hierarchy) SchemaReader.getCalculatedMembers
(Hierarchy hierarchy) Returns a list of calculated members in a given hierarchy.Evaluator.getContext
(Hierarchy hierarchy) Cell.getContextMember
(Hierarchy hierarchy) Returns the context member for a particular dimension.DelegatingSchemaReader.getHierarchyDefaultMember
(Hierarchy hierarchy) SchemaReader.getHierarchyDefaultMember
(Hierarchy hierarchy) Returns the default member of a hierarchy.DelegatingSchemaReader.getHierarchyLevels
(Hierarchy hierarchy) SchemaReader.getHierarchyLevels
(Hierarchy hierarchy) Returns the accessible levels of a hierarchy.DelegatingSchemaReader.getHierarchyRootMembers
(Hierarchy hierarchy) SchemaReader.getHierarchyRootMembers
(Hierarchy hierarchy) Returns an array of the root members ofhierarchy
.CubeAccess.getLimitedMemberForHierarchy
(Hierarchy mdxHierarchy) Returns the current member of a given hierarchy at a given location.void
DelegatingSchemaReader.getParentChildContributingChildren
(Member dataMember, Hierarchy hierarchy, List<Member> list) void
SchemaReader.getParentChildContributingChildren
(Member dataMember, Hierarchy hierarchy, List<Member> list) Returns a list of contributing children of a member of a parent-child hierarchy.Evaluator.getPreviousContext
(Hierarchy hierarchy) Returns the member that was the current evaluation context for a particular hierarchy before the most recent change in context.void
RoleImpl.grant
(Hierarchy hierarchy, Access access, Level topLevel, Level bottomLevel, Role.RollupPolicy rollupPolicy) Defines access to a hierarchy.boolean
CubeAccess.isHierarchyAllowed
(Hierarchy mdxHierarchy) static Level
Util.lookupHierarchyLevel
(Hierarchy hierarchy, String s) Finds a named level in this hierarchy.static Member
Util.lookupHierarchyRootMember
(SchemaReader reader, Hierarchy hierarchy, Id.NameSegment memberName) static Member
Util.lookupHierarchyRootMember
(SchemaReader reader, Hierarchy hierarchy, Id.NameSegment memberName, MatchType matchType) Finds a root member of a hierarchy with a given name. -
Uses of Hierarchy in mondrian.olap.fun
Modifier and TypeMethodDescriptionLevelHierarchyFunDef.CalcImpl.evaluateHierarchy
(Evaluator evaluator) MemberHierarchyFunDef.CalcImpl.evaluateHierarchy
(Evaluator evaluator) static Hierarchy
FunUtil.getDimensionDefaultHierarchy
(Dimension dimension) Returns the default hierarchy of a dimension, or null if there is no default.Modifier and TypeMethodDescriptionboolean
boolean
boolean
-
Uses of Hierarchy in mondrian.olap.type
Modifier and TypeMethodDescriptionCubeType.getHierarchy()
DimensionType.getHierarchy()
HierarchyType.getHierarchy()
LevelType.getHierarchy()
MemberType.getHierarchy()
ScalarType.getHierarchy()
SetType.getHierarchy()
TupleType.getHierarchy()
Type.getHierarchy()
Returns the Hierarchy of this Type, or null if not known.Modifier and TypeMethodDescriptionSetType.getHierarchies()
TupleType.getHierarchies()
TypeUtil.getHierarchies
(Type type) Returns the hierarchies in a set, member, or tuple type.Modifier and TypeMethodDescriptionstatic HierarchyType
HierarchyType.forHierarchy
(Hierarchy hierarchy) static MemberType
MemberType.forHierarchy
(Hierarchy hierarchy) boolean
CubeType.usesHierarchy
(Hierarchy hierarchy, boolean definitely) boolean
DimensionType.usesHierarchy
(Hierarchy hierarchy, boolean definitely) boolean
HierarchyType.usesHierarchy
(Hierarchy hierarchy, boolean definitely) boolean
LevelType.usesHierarchy
(Hierarchy hierarchy, boolean definitely) boolean
MemberType.usesHierarchy
(Hierarchy hierarchy, boolean definitely) boolean
ScalarType.usesHierarchy
(Hierarchy hierarchy, boolean definitely) boolean
SetType.usesHierarchy
(Hierarchy hierarchy, boolean definitely) boolean
TupleType.usesHierarchy
(Hierarchy hierarchy, boolean definitely) boolean
Type.usesHierarchy
(Hierarchy hierarchy, boolean definitely) Returns whether this type contains a given hierarchy.ModifierConstructorDescriptionHierarchyType
(Dimension dimension, Hierarchy hierarchy) Creates a type representing a hierarchy.Creates a type representing a level.MemberType
(Dimension dimension, Hierarchy hierarchy, Level level, Member member) Creates a type representing a member. -
Uses of Hierarchy in mondrian.olap4j
-
Uses of Hierarchy in mondrian.rolap
Modifier and TypeClassDescriptionclass
Hierarchy that is associated with a specific Cube.class
RolapHierarchy
implementsHierarchy
for a ROLAP database.Modifier and TypeMethodDescriptionRolapCube.getMeasuresHierarchy()
Returns the measures hierarchy.RolapSchema.getSharedHierarchies()
Modifier and TypeMethodDescriptionRolapSchemaReader.getDimensionHierarchies
(Dimension dimension) RolapEvaluator.getSlicerMembersByHierarchy()
Modifier and TypeMethodDescriptionRolapDependencyTestingEvaluator.evaluate
(Calc calc, Hierarchy[] independentHierarchies, String mdxString) RolapMemberBase.getAllMembers
(SchemaReader schemaReader, Hierarchy hierarchy) Returns a list of member lists where the first member list is the root members while the last member array is the leaf members.RolapSchemaReader.getCalculatedMembers
(Hierarchy hierarchy) final RolapMember
RolapEvaluator.getContext
(Hierarchy hierarchy) RolapCell.getContextMember
(Hierarchy hierarchy) static int
RolapMemberBase.getHierarchyCardinality
(SchemaReader schemaReader, Hierarchy hierarchy) RolapSchemaReader.getHierarchyDefaultMember
(Hierarchy hierarchy) RolapSchemaReader.getHierarchyLevels
(Hierarchy hierarchy) RolapSchemaReader.getHierarchyRootMembers
(Hierarchy hierarchy) mondrian.rolap.MemberReader
RolapNativeSet.SchemaReaderWithMemberReaderAvailable.getMemberReader
(Hierarchy hierarchy) mondrian.rolap.MemberReader
RolapSchemaReader.getMemberReader
(Hierarchy hierarchy) This method uses a double-checked locking idiom to avoid making the method fully synchronized, or potentially creating the same MemberReader more than once.void
RolapSchemaReader.getParentChildContributingChildren
(Member dataMember, Hierarchy hierarchy, List<Member> list) RolapEvaluator.getPreviousContext
(Hierarchy hierarchy) A Hierarchy may have one or more HierarchyUsages.static boolean
ScenarioImpl.isScenario
(Hierarchy hierarchy) Returns whether a hierarchy is the [Scenario] hierarchy. -
Uses of Hierarchy in mondrian.util
Modifier and TypeMethodDescriptionprotected Member
IdentifierParser.BuilderImpl.resolveMember
(Hierarchy expectedHierarchy) ModifierConstructorDescriptionMemberListBuilder
(SchemaReader schemaReader, Cube cube, Hierarchy hierarchy) ModifierConstructorDescriptionTupleBuilder
(SchemaReader schemaReader, Cube cube, List<Hierarchy> hierarchyList) TupleListBuilder
(SchemaReader schemaReader, Cube cube, List<Hierarchy> hierarchyList)