| Package | Description | 
|---|---|
| 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.rolap | 
 Implements the data access layer for the olap package. 
 | 
| mondrian.server | 
 Augments the Mondrian engine with server functionality. 
 | 
| mondrian.util | 
 Mondrian utilities. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DelegatingSchemaReader
DelegatingSchemaReader implements SchemaReader by
 delegating all methods to an underlying SchemaReader. | 
| Modifier and Type | Field and Description | 
|---|---|
protected SchemaReader | 
DelegatingSchemaReader.schemaReader  | 
| Modifier and Type | Method and Description | 
|---|---|
SchemaReader | 
Evaluator.getSchemaReader()
Returns a  
SchemaReader appropriate for the current
 access-control context. | 
SchemaReader | 
Validator.getSchemaReader()
Returns the schema reader with which to resolve names of MDX objects
 (dimensions, hierarchies, levels, members, named sets). 
 | 
SchemaReader | 
Connection.getSchemaReader()
Returns a schema reader with access control appropriate to the current
 role. 
 | 
SchemaReader | 
Schema.getSchemaReader()
Creates a  
SchemaReader without any access control. | 
SchemaReader | 
Query.getSchemaReader(boolean accessControlled)
Returns a schema reader. 
 | 
SchemaReader | 
Cube.getSchemaReader(Role role)
Returns a  
SchemaReader for which this cube is the context for
 lookup up members. | 
SchemaReader | 
DelegatingSchemaReader.withLocus()  | 
SchemaReader | 
SchemaReader.withLocus()
Returns a schema reader that automatically assigns a locus to each
 operation. 
 | 
SchemaReader | 
DelegatingSchemaReader.withoutAccessControl()  | 
SchemaReader | 
SchemaReader.withoutAccessControl()
Returns a similar schema reader that has no access control. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static List<Member> | 
Util.addLevelCalculatedMembers(SchemaReader reader,
                         Level level,
                         List<Member> members)  | 
static Member | 
Util.getFirstDescendantOnLevel(SchemaReader reader,
                         Member parent,
                         Level level)
returns the first descendant on the level underneath parent. 
 | 
static int | 
Util.getMemberOrdinalInParent(SchemaReader reader,
                        Member member)
Finds the zero based ordinal of a Member among its siblings. 
 | 
static Exp | 
Util.lookup(Query q,
      SchemaReader schemaReader,
      List<Id.Segment> segments,
      boolean allowProp)
Converts an identifier into an expression by resolving its parts into
 an OLAP object (dimension, hierarchy, level or member) within the
 context of a query. 
 | 
OlapElement | 
Query.ScopedNamedSet.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)  | 
OlapElement | 
DimensionBase.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)  | 
OlapElement | 
SetBase.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)  | 
OlapElement | 
MemberBase.lookupChild(SchemaReader schemaReader,
           Id.Segment childName,
           MatchType matchType)  | 
OlapElement | 
CubeBase.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)  | 
OlapElement | 
LevelBase.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)  | 
OlapElement | 
HierarchyBase.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)  | 
OlapElement | 
OlapElement.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)
Looks up a child element, returning null if it does not exist. 
 | 
static OlapElement | 
Util.lookupCompound(SchemaReader schemaReader,
              OlapElement parent,
              List<Id.Segment> names,
              boolean failIfNotFound,
              int category)  | 
static OlapElement | 
Util.lookupCompound(SchemaReader schemaReader,
              OlapElement parent,
              List<Id.Segment> names,
              boolean failIfNotFound,
              int category,
              MatchType matchType)
Resolves a name such as
 '[Products].[Product Department].[Produce]' by resolving the
 components ('Products', and so forth) one at a time. 
 | 
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 | 
|---|
DelegatingSchemaReader(SchemaReader schemaReader)
Creates a DelegatingSchemaReader. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static TupleList | 
AggregateFunDef.AggregateCalc.optimizeChildren(TupleList tuples,
                SchemaReader reader,
                Cube baseCubeForMeasure)
In distinct Count aggregation, if tuple list is a result
 m.children * n.children then it can be optimized to m * n 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
RolapNativeSet.SchemaReaderWithMemberReaderAvailable  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
RolapSchemaReader
A  
RolapSchemaReader allows you to read schema objects while
 observing the access-control profile specified by a given role. | 
| Modifier and Type | Method and Description | 
|---|---|
SchemaReader | 
RolapSchema.getSchemaReader()  | 
SchemaReader | 
RolapCube.getSchemaReader()
Returns the schema reader which enforces the appropriate access-control
 context. 
 | 
SchemaReader | 
RolapEvaluator.getSchemaReader()  | 
SchemaReader | 
RolapConnection.getSchemaReader()  | 
SchemaReader | 
RolapCube.getSchemaReader(Role role)  | 
static SchemaReader | 
RolapUtil.locusSchemaReader(RolapConnection connection,
                 SchemaReader schemaReader)
Wraps a schema reader in a proxy so that each call to schema reader
 has a locus for profiling purposes. 
 | 
SchemaReader | 
RolapSchemaReader.withLocus()  | 
SchemaReader | 
RolapSchemaReader.withoutAccessControl()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
static int | 
RolapMemberBase.getHierarchyCardinality(SchemaReader schemaReader,
                       Hierarchy hierarchy)  | 
static Map<Level,List<RolapMember>> | 
SqlConstraintUtils.getRoleConstraintMembers(SchemaReader schemaReader,
                        Member[] members)  | 
static SchemaReader | 
RolapUtil.locusSchemaReader(RolapConnection connection,
                 SchemaReader schemaReader)
Wraps a schema reader in a proxy so that each call to schema reader
 has a locus for profiling purposes. 
 | 
OlapElement | 
RolapCube.lookupChild(SchemaReader schemaReader,
           Id.Segment s)  | 
OlapElement | 
RolapLevel.lookupChild(SchemaReader schemaReader,
           Id.Segment name)  | 
OlapElement | 
DelegatingRolapMember.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)  | 
OlapElement | 
RolapCubeMember.lookupChild(SchemaReader schemaReader,
           Id.Segment childName,
           MatchType matchType)  | 
OlapElement | 
RolapCube.lookupChild(SchemaReader schemaReader,
           Id.Segment s,
           MatchType matchType)  | 
OlapElement | 
RolapLevel.lookupChild(SchemaReader schemaReader,
           Id.Segment name,
           MatchType matchType)  | 
static void | 
RolapMemberBase.setOrdinals(SchemaReader schemaReader,
           Member seedMember)
Sets member ordinal values using a Bottom-up/Top-down algorithm. 
 | 
| Constructor and Description | 
|---|
SetEvaluator(CrossJoinArg[] args,
            SchemaReader schemaReader,
            TupleConstraint constraint)  | 
| Modifier and Type | Method and Description | 
|---|---|
SchemaReader | 
StatementImpl.getSchemaReader()  | 
SchemaReader | 
Statement.getSchemaReader()
Returns this statement's schema reader. 
 | 
| Constructor and Description | 
|---|
MemberListBuilder(SchemaReader schemaReader,
                 Cube cube,
                 Hierarchy hierarchy)  | 
TupleBuilder(SchemaReader schemaReader,
            Cube cube,
            List<Hierarchy> hierarchyList)  | 
TupleListBuilder(SchemaReader schemaReader,
                Cube cube,
                List<Hierarchy> hierarchyList)  | 
Copyright © 2017 Hitachi Vantara. All rights reserved.