Uses of Interface
mondrian.olap.Hierarchy
-
Packages that use Hierarchy Package Description mondrian.calc Provides compiled expressions.mondrian.calc.impl Provides implementation classes for compiled expressions.mondrian.mdx Defines a parse tree for MDX expressions.mondrian.olap Mondrian's core package, this defines connections and the catalog metamodel, and allows you to execute queries.mondrian.olap.fun Defines the set of MDX built-in functions.mondrian.olap.type Type system for MDX expessions.mondrian.rolap Implements the data access layer for the olap package.mondrian.util Mondrian utilities. -
-
Uses of Hierarchy in mondrian.calc
Methods in mondrian.calc that return Hierarchy Modifier and Type Method Description Hierarchy
HierarchyCalc. evaluateHierarchy(Evaluator evaluator)
Evaluates this expression to yield a hierarchy.Methods in mondrian.calc with parameters of type Hierarchy Modifier and Type Method Description boolean
Calc. dependsOn(Hierarchy hierarchy)
Returns whether this expression depends upon a given hierarchy. -
Uses of Hierarchy in mondrian.calc.impl
Methods in mondrian.calc.impl that return Hierarchy Modifier and Type Method Description Hierarchy
GenericCalc. evaluateHierarchy(Evaluator evaluator)
Methods in mondrian.calc.impl with parameters of type Hierarchy Modifier and Type Method Description static 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
AbstractCalc. dependsOn(Hierarchy hierarchy)
boolean
ConstantCalc. dependsOn(Hierarchy hierarchy)
boolean
MemberArrayValueCalc. dependsOn(Hierarchy hierarchy)
boolean
MemberValueCalc. dependsOn(Hierarchy hierarchy)
boolean
TupleValueCalc. dependsOn(Hierarchy hierarchy)
boolean
ValueCalc. dependsOn(Hierarchy hierarchy)
-
Uses of Hierarchy in mondrian.mdx
Methods in mondrian.mdx that return Hierarchy Modifier and Type Method Description Hierarchy
HierarchyExpr. getHierarchy()
Returns the hierarchy.Constructors in mondrian.mdx with parameters of type Hierarchy Constructor Description HierarchyExpr(Hierarchy hierarchy)
Creates a hierarchy expression. -
Uses of Hierarchy in mondrian.olap
Classes in mondrian.olap that implement Hierarchy Modifier and Type Class Description class
HierarchyBase
Skeleton implementation forHierarchy
.Fields in mondrian.olap declared as Hierarchy Modifier and Type Field Description protected Hierarchy[]
DimensionBase. hierarchies
protected Hierarchy
LevelBase. hierarchy
Methods in mondrian.olap that return Hierarchy Modifier and Type Method Description Hierarchy[]
Dimension. getHierarchies()
Returns an array of the hierarchies which belong to this dimension.Hierarchy[]
DimensionBase. getHierarchies()
Hierarchy
CubeBase. getHierarchy()
Hierarchy
DimensionBase. getHierarchy()
Hierarchy
HierarchyBase. getHierarchy()
Hierarchy
Level. getHierarchy()
Hierarchy
LevelBase. getHierarchy()
Hierarchy
Member. getHierarchy()
Hierarchy
MemberBase. getHierarchy()
Hierarchy
OlapElement. getHierarchy()
Hierarchy
Query.ScopedNamedSet. getHierarchy()
Hierarchy
SetBase. getHierarchy()
Hierarchy[]
Query. getMdxHierarchiesOnAxis(AxisOrdinal axis)
ReturnsHierarchy[]
used onaxis
.Hierarchy[]
CubeAccess. getNoAccessHierarchies()
Hierarchy[]
Schema. getSharedHierarchies()
Returns a list of shared dimensions in this schema.Hierarchy
Cube. lookupHierarchy(Id.NameSegment s, boolean unique)
Finds a hierarchy whose name (or unique name, ifunique
is true) equalss
.Hierarchy
CubeBase. lookupHierarchy(Id.NameSegment s, boolean unique)
Methods in mondrian.olap that return types with arguments of type Hierarchy Modifier and Type Method Description List<Hierarchy>
DelegatingSchemaReader. getDimensionHierarchies(Dimension dimension)
List<Hierarchy>
SchemaReader. getDimensionHierarchies(Dimension dimension)
Returns the accessible hierarchies of a dimension.List<Hierarchy>
CubeAccess. getNoAccessHierarchyList()
Methods in mondrian.olap with parameters of type Hierarchy Modifier and Type Method Description static Role.HierarchyAccess
RoleImpl. createAllAccess(Hierarchy hierarchy)
Creates an element which represents all access to a hierarchy.Access
DelegatingRole. getAccess(Hierarchy hierarchy)
Access
Role. getAccess(Hierarchy hierarchy)
Returns the access this role has to a given hierarchy.Access
RoleImpl. getAccess(Hierarchy hierarchy)
Role.HierarchyAccess
DelegatingRole. getAccessDetails(Hierarchy hierarchy)
Returns the details of this hierarchy's access, or null if the hierarchy has not been given explicit access.Role.HierarchyAccess
Role. getAccessDetails(Hierarchy hierarchy)
Returns the details of this hierarchy's access, or null if the hierarchy has not been given explicit access.Role.HierarchyAccess
RoleImpl. getAccessDetails(Hierarchy hierarchy)
List<Member>
DelegatingSchemaReader. getCalculatedMembers(Hierarchy hierarchy)
List<Member>
SchemaReader. getCalculatedMembers(Hierarchy hierarchy)
Returns a list of calculated members in a given hierarchy.Member
Evaluator. getContext(Hierarchy hierarchy)
Member
Cell. getContextMember(Hierarchy hierarchy)
Returns the context member for a particular dimension.Member
DelegatingSchemaReader. getHierarchyDefaultMember(Hierarchy hierarchy)
Member
SchemaReader. getHierarchyDefaultMember(Hierarchy hierarchy)
Returns the default member of a hierarchy.List<Level>
DelegatingSchemaReader. getHierarchyLevels(Hierarchy hierarchy)
List<Level>
SchemaReader. getHierarchyLevels(Hierarchy hierarchy)
Returns the accessible levels of a hierarchy.List<Member>
DelegatingSchemaReader. getHierarchyRootMembers(Hierarchy hierarchy)
List<Member>
SchemaReader. getHierarchyRootMembers(Hierarchy hierarchy)
Returns an array of the root members ofhierarchy
.Member
CubeAccess. getLimitedMemberForHierarchy(Hierarchy mdxHierarchy)
Member
ResultBase. getMember(int[] pos, Hierarchy hierarchy)
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.Member
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.Constructors in mondrian.olap with parameters of type Hierarchy Constructor Description LevelBase(Hierarchy hierarchy, String name, String caption, boolean visible, String description, int depth, LevelType levelType)
-
Uses of Hierarchy in mondrian.olap.fun
Methods in mondrian.olap.fun that return Hierarchy Modifier and Type Method Description Hierarchy
LevelHierarchyFunDef.CalcImpl. evaluateHierarchy(Evaluator evaluator)
Hierarchy
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.Methods in mondrian.olap.fun with parameters of type Hierarchy Modifier and Type Method Description boolean
AggregateFunDef.AggregateCalc. dependsOn(Hierarchy hierarchy)
boolean
HierarchyCurrentMemberFunDef.CalcImpl. dependsOn(Hierarchy hierarchy)
boolean
HierarchyCurrentMemberFunDef.FixedCalcImpl. dependsOn(Hierarchy hierarchy)
Constructors in mondrian.olap.fun with parameters of type Hierarchy Constructor Description FixedCalcImpl(Exp exp, Hierarchy hierarchy)
-
Uses of Hierarchy in mondrian.olap.type
Methods in mondrian.olap.type that return Hierarchy Modifier and Type Method Description Hierarchy
CubeType. getHierarchy()
Hierarchy
DimensionType. getHierarchy()
Hierarchy
HierarchyType. getHierarchy()
Hierarchy
LevelType. getHierarchy()
Hierarchy
MemberType. getHierarchy()
Hierarchy
ScalarType. getHierarchy()
Hierarchy
SetType. getHierarchy()
Hierarchy
TupleType. getHierarchy()
Hierarchy
Type. getHierarchy()
Returns the Hierarchy of this Type, or null if not known.Methods in mondrian.olap.type that return types with arguments of type Hierarchy Modifier and Type Method Description List<Hierarchy>
TupleType. getHierarchies()
static List<Hierarchy>
TypeUtil. getHierarchies(Type type)
Returns the hierarchies in a set, member, or tuple type.Methods in mondrian.olap.type with parameters of type Hierarchy Modifier and Type Method Description static 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.Constructors in mondrian.olap.type with parameters of type Hierarchy Constructor Description HierarchyType(Dimension dimension, Hierarchy hierarchy)
Creates a type representing a hierarchy.LevelType(Dimension dimension, Hierarchy hierarchy, Level level)
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.rolap
Classes in mondrian.rolap that implement Hierarchy Modifier and Type Class Description class
RolapCubeHierarchy
Hierarchy that is associated with a specific Cube.class
RolapHierarchy
RolapHierarchy
implementsHierarchy
for a ROLAP database.Methods in mondrian.rolap that return Hierarchy Modifier and Type Method Description Hierarchy
RolapCube. getMeasuresHierarchy()
Returns the the measures hierarchy.Hierarchy[]
RolapSchema. getSharedHierarchies()
Methods in mondrian.rolap that return types with arguments of type Hierarchy Modifier and Type Method Description List<Hierarchy>
RolapSchemaReader. getDimensionHierarchies(Dimension dimension)
Map<Hierarchy,Set<Member>>
RolapEvaluator. getSlicerMembersByHierarchy()
Methods in mondrian.rolap with parameters of type Hierarchy Modifier and Type Method Description Object
RolapDependencyTestingEvaluator. evaluate(Calc calc, Hierarchy[] independentHierarchies, String mdxString)
static List<List<Member>>
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.List<Member>
RolapSchemaReader. getCalculatedMembers(Hierarchy hierarchy)
RolapMember
RolapEvaluator. getContext(Hierarchy hierarchy)
Member
RolapCell. getContextMember(Hierarchy hierarchy)
static int
RolapMemberBase. getHierarchyCardinality(SchemaReader schemaReader, Hierarchy hierarchy)
Member
RolapSchemaReader. getHierarchyDefaultMember(Hierarchy hierarchy)
List<Level>
RolapSchemaReader. getHierarchyLevels(Hierarchy hierarchy)
List<Member>
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)
Member
RolapEvaluator. getPreviousContext(Hierarchy hierarchy)
HierarchyUsage[]
RolapCube. getUsages(Hierarchy hierarchy)
A Hierarchy may have one or more HierarchyUsages.static boolean
ScenarioImpl. isScenario(Hierarchy hierarchy)
Returns whether a hierarchy is the [Scenario] hierarchy.Method parameters in mondrian.rolap with type arguments of type Hierarchy Modifier and Type Method Description void
RolapEvaluator. setSlicerContext(List<Member> members, Map<Hierarchy,Set<Member>> membersByHierarchy)
Adds a slicer member to the evaluator context, and remember it as part of the slicer. -
Uses of Hierarchy in mondrian.util
Fields in mondrian.util with type parameters of type Hierarchy Modifier and Type Field Description protected List<Hierarchy>
IdentifierParser.BuilderImpl. hierarchyList
Methods in mondrian.util with parameters of type Hierarchy Modifier and Type Method Description protected Member
IdentifierParser.BuilderImpl. resolveMember(Hierarchy expectedHierarchy)
Constructors in mondrian.util with parameters of type Hierarchy Constructor Description MemberListBuilder(SchemaReader schemaReader, Cube cube, Hierarchy hierarchy)
Constructor parameters in mondrian.util with type arguments of type Hierarchy Constructor Description TupleBuilder(SchemaReader schemaReader, Cube cube, List<Hierarchy> hierarchyList)
TupleListBuilder(SchemaReader schemaReader, Cube cube, List<Hierarchy> hierarchyList)
-