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.
|
Modifier and Type | Method and Description |
---|---|
Hierarchy |
HierarchyCalc.evaluateHierarchy(Evaluator evaluator)
Evaluates this expression to yield a hierarchy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Calc.dependsOn(Hierarchy hierarchy)
Returns whether this expression depends upon a given hierarchy.
|
Modifier and Type | Method and Description |
---|---|
Hierarchy |
GenericCalc.evaluateHierarchy(Evaluator evaluator) |
Modifier and Type | Method and 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 |
MemberArrayValueCalc.dependsOn(Hierarchy hierarchy) |
boolean |
TupleValueCalc.dependsOn(Hierarchy hierarchy) |
boolean |
ValueCalc.dependsOn(Hierarchy hierarchy) |
boolean |
MemberValueCalc.dependsOn(Hierarchy hierarchy) |
boolean |
AbstractCalc.dependsOn(Hierarchy hierarchy) |
boolean |
ConstantCalc.dependsOn(Hierarchy hierarchy) |
Modifier and Type | Method and Description |
---|---|
Hierarchy |
HierarchyExpr.getHierarchy()
Returns the hierarchy.
|
Constructor and Description |
---|
HierarchyExpr(Hierarchy hierarchy)
Creates a hierarchy expression.
|
Modifier and Type | Class and Description |
---|---|
class |
HierarchyBase
Skeleton implementation for
Hierarchy . |
Modifier and Type | Field and Description |
---|---|
protected Hierarchy[] |
DimensionBase.hierarchies |
protected Hierarchy |
LevelBase.hierarchy |
Modifier and Type | Method and Description |
---|---|
Hierarchy[] |
DimensionBase.getHierarchies() |
Hierarchy[] |
Dimension.getHierarchies()
Returns an array of the hierarchies which belong to this dimension.
|
Hierarchy |
MemberBase.getHierarchy() |
Hierarchy |
Level.getHierarchy() |
Hierarchy |
DimensionBase.getHierarchy() |
Hierarchy |
SetBase.getHierarchy() |
Hierarchy |
HierarchyBase.getHierarchy() |
Hierarchy |
Query.ScopedNamedSet.getHierarchy() |
Hierarchy |
LevelBase.getHierarchy() |
Hierarchy |
OlapElement.getHierarchy() |
Hierarchy |
Member.getHierarchy() |
Hierarchy |
CubeBase.getHierarchy() |
Hierarchy[] |
Query.getMdxHierarchiesOnAxis(AxisOrdinal axis)
Returns
Hierarchy[] used on axis . |
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, if
unique is
true) equals s . |
Hierarchy |
CubeBase.lookupHierarchy(Id.NameSegment s,
boolean unique) |
Modifier and Type | Method and Description |
---|---|
List<Hierarchy> |
SchemaReader.getDimensionHierarchies(Dimension dimension)
Returns the accessible hierarchies of a dimension.
|
List<Hierarchy> |
DelegatingSchemaReader.getDimensionHierarchies(Dimension dimension) |
static Map<Hierarchy,Set<Member>> |
Util.getMembersToHierarchyMap(List<Member> members) |
List<Hierarchy> |
CubeAccess.getNoAccessHierarchyList() |
Modifier and Type | Method and Description |
---|---|
static Role.HierarchyAccess |
RoleImpl.createAllAccess(Hierarchy hierarchy)
Creates an element which represents all access to a hierarchy.
|
Access |
DelegatingRole.getAccess(Hierarchy hierarchy) |
Access |
RoleImpl.getAccess(Hierarchy hierarchy) |
Access |
Role.getAccess(Hierarchy hierarchy)
Returns the access this role has to a given 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 |
RoleImpl.getAccessDetails(Hierarchy hierarchy) |
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.
|
List<Member> |
SchemaReader.getCalculatedMembers(Hierarchy hierarchy)
Returns a list of calculated members in a given hierarchy.
|
List<Member> |
DelegatingSchemaReader.getCalculatedMembers(Hierarchy hierarchy) |
Member |
Evaluator.getContext(Hierarchy hierarchy) |
Member |
Cell.getContextMember(Hierarchy hierarchy)
Returns the context member for a particular dimension.
|
Member |
SchemaReader.getHierarchyDefaultMember(Hierarchy hierarchy)
Returns the default member of a hierarchy.
|
Member |
DelegatingSchemaReader.getHierarchyDefaultMember(Hierarchy hierarchy) |
List<Level> |
SchemaReader.getHierarchyLevels(Hierarchy hierarchy)
Returns the accessible levels of a hierarchy.
|
List<Level> |
DelegatingSchemaReader.getHierarchyLevels(Hierarchy hierarchy) |
List<Member> |
SchemaReader.getHierarchyRootMembers(Hierarchy hierarchy)
Returns an array of the root members of
hierarchy . |
List<Member> |
DelegatingSchemaReader.getHierarchyRootMembers(Hierarchy hierarchy) |
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 |
SchemaReader.getParentChildContributingChildren(Member dataMember,
Hierarchy hierarchy,
List<Member> list)
Returns a list of contributing children of a member of a parent-child
hierarchy.
|
void |
DelegatingSchemaReader.getParentChildContributingChildren(Member dataMember,
Hierarchy hierarchy,
List<Member> list) |
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.
|
Constructor and Description |
---|
LevelBase(Hierarchy hierarchy,
String name,
String caption,
boolean visible,
String description,
int depth,
LevelType levelType) |
Modifier and Type | Method and Description |
---|---|
Hierarchy |
MemberHierarchyFunDef.CalcImpl.evaluateHierarchy(Evaluator evaluator) |
Hierarchy |
LevelHierarchyFunDef.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 Type | Method and Description |
---|---|
boolean |
AggregateFunDef.AggregateCalc.dependsOn(Hierarchy hierarchy) |
boolean |
HierarchyCurrentMemberFunDef.CalcImpl.dependsOn(Hierarchy hierarchy) |
boolean |
HierarchyCurrentMemberFunDef.FixedCalcImpl.dependsOn(Hierarchy hierarchy) |
Constructor and Description |
---|
FixedCalcImpl(Exp exp,
Hierarchy hierarchy) |
Modifier and Type | Method and Description |
---|---|
Hierarchy |
LevelType.getHierarchy() |
Hierarchy |
HierarchyType.getHierarchy() |
Hierarchy |
CubeType.getHierarchy() |
Hierarchy |
ScalarType.getHierarchy() |
Hierarchy |
Type.getHierarchy()
Returns the Hierarchy of this Type, or null if not known.
|
Hierarchy |
TupleType.getHierarchy() |
Hierarchy |
MemberType.getHierarchy() |
Hierarchy |
SetType.getHierarchy() |
Hierarchy |
DimensionType.getHierarchy() |
Modifier and Type | Method and Description |
---|---|
List<Hierarchy> |
TupleType.getHierarchies() |
static List<Hierarchy> |
TypeUtil.getHierarchies(Type type)
Returns the hierarchies in a set, member, or tuple type.
|
Modifier and Type | Method and Description |
---|---|
static HierarchyType |
HierarchyType.forHierarchy(Hierarchy hierarchy) |
static MemberType |
MemberType.forHierarchy(Hierarchy hierarchy) |
boolean |
LevelType.usesHierarchy(Hierarchy hierarchy,
boolean definitely) |
boolean |
HierarchyType.usesHierarchy(Hierarchy hierarchy,
boolean definitely) |
boolean |
CubeType.usesHierarchy(Hierarchy hierarchy,
boolean definitely) |
boolean |
ScalarType.usesHierarchy(Hierarchy hierarchy,
boolean definitely) |
boolean |
Type.usesHierarchy(Hierarchy hierarchy,
boolean definitely)
Returns whether this type contains a given hierarchy.
For example:
HierarchyType([Customer].[Gender]) uses only the
[Customer].[Gender] hierarchy.
TupleType(MemberType([Customer].[Gender]),
MemberType([Store].[Store]))
uses [Gender] and [Store]
dimensions.
The definitely parameter comes into play when the
dimensional information is incomplete. |
boolean |
TupleType.usesHierarchy(Hierarchy hierarchy,
boolean definitely) |
boolean |
MemberType.usesHierarchy(Hierarchy hierarchy,
boolean definitely) |
boolean |
SetType.usesHierarchy(Hierarchy hierarchy,
boolean definitely) |
boolean |
DimensionType.usesHierarchy(Hierarchy hierarchy,
boolean definitely) |
Constructor and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
RolapCubeHierarchy
Hierarchy that is associated with a specific Cube.
|
class |
RolapHierarchy
RolapHierarchy implements Hierarchy for a ROLAP database. |
Modifier and Type | Method and Description |
---|---|
Hierarchy |
RolapCube.getMeasuresHierarchy()
Returns the the measures hierarchy.
|
Hierarchy[] |
RolapSchema.getSharedHierarchies() |
Modifier and Type | Method and Description |
---|---|
List<Hierarchy> |
RolapSchemaReader.getDimensionHierarchies(Dimension dimension) |
Modifier and Type | Method and 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 |
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.
|
mondrian.rolap.MemberReader |
RolapNativeSet.SchemaReaderWithMemberReaderAvailable.getMemberReader(Hierarchy hierarchy) |
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.
|
Modifier and Type | Field and Description |
---|---|
protected List<Hierarchy> |
IdentifierParser.BuilderImpl.hierarchyList |
Modifier and Type | Method and Description |
---|---|
protected Member |
IdentifierParser.BuilderImpl.resolveMember(Hierarchy expectedHierarchy) |
Constructor and Description |
---|
MemberListBuilder(SchemaReader schemaReader,
Cube cube,
Hierarchy hierarchy) |
Constructor and Description |
---|
TupleBuilder(SchemaReader schemaReader,
Cube cube,
List<Hierarchy> hierarchyList) |
TupleListBuilder(SchemaReader schemaReader,
Cube cube,
List<Hierarchy> hierarchyList) |
Copyright © 2018 Hitachi Vantara. All rights reserved.