Uses of Interface
mondrian.olap.SchemaReader
-
Packages that use SchemaReader 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. -
-
Uses of SchemaReader in mondrian.olap
Classes in mondrian.olap that implement SchemaReader Modifier and Type Class Description class
DelegatingSchemaReader
DelegatingSchemaReader
implementsSchemaReader
by delegating all methods to an underlyingSchemaReader
.Fields in mondrian.olap declared as SchemaReader Modifier and Type Field Description protected SchemaReader
DelegatingSchemaReader. schemaReader
Methods in mondrian.olap that return SchemaReader Modifier and Type Method Description SchemaReader
Connection. getSchemaReader()
Returns a schema reader with access control appropriate to the current role.SchemaReader
Cube. getSchemaReader(Role role)
Returns aSchemaReader
for which this cube is the context for lookup up members.SchemaReader
Evaluator. getSchemaReader()
Returns aSchemaReader
appropriate for the current access-control context.SchemaReader
Query. getSchemaReader(boolean accessControlled)
Returns a schema reader.SchemaReader
Schema. getSchemaReader()
Creates aSchemaReader
without any access control.SchemaReader
Validator. getSchemaReader()
Returns the schema reader with which to resolve names of MDX objects (dimensions, hierarchies, levels, members, named sets).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.Methods in mondrian.olap with parameters of type SchemaReader Modifier and Type Method 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
CubeBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
OlapElement
DimensionBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
OlapElement
HierarchyBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
OlapElement
LevelBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
OlapElement
MemberBase. lookupChild(SchemaReader schemaReader, Id.Segment childName, MatchType matchType)
OlapElement
OlapElement. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
Looks up a child element, returning null if it does not exist.OlapElement
Query.ScopedNamedSet. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
OlapElement
SetBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
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.Constructors in mondrian.olap with parameters of type SchemaReader Constructor Description DelegatingSchemaReader(SchemaReader schemaReader)
Creates a DelegatingSchemaReader. -
Uses of SchemaReader in mondrian.olap.fun
Methods in mondrian.olap.fun with parameters of type SchemaReader Modifier and Type Method 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 -
Uses of SchemaReader in mondrian.rolap
Subinterfaces of SchemaReader in mondrian.rolap Modifier and Type Interface Description static interface
RolapNativeSet.SchemaReaderWithMemberReaderAvailable
Classes in mondrian.rolap that implement SchemaReader Modifier and Type Class Description class
RolapSchemaReader
ARolapSchemaReader
allows you to read schema objects while observing the access-control profile specified by a given role.Methods in mondrian.rolap that return SchemaReader Modifier and Type Method Description SchemaReader
RolapConnection. getSchemaReader()
SchemaReader
RolapCube. getSchemaReader()
Returns the schema reader which enforces the appropriate access-control context.SchemaReader
RolapCube. getSchemaReader(Role role)
SchemaReader
RolapEvaluator. getSchemaReader()
SchemaReader
RolapSchema. getSchemaReader()
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()
Methods in mondrian.rolap with parameters of type SchemaReader Modifier and Type Method 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
DelegatingRolapMember. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
OlapElement
RolapCube. lookupChild(SchemaReader schemaReader, Id.Segment s)
OlapElement
RolapCube. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
OlapElement
RolapCubeMember. lookupChild(SchemaReader schemaReader, Id.Segment childName, MatchType matchType)
OlapElement
RolapLevel. lookupChild(SchemaReader schemaReader, Id.Segment name)
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.Constructors in mondrian.rolap with parameters of type SchemaReader Constructor Description SetEvaluator(CrossJoinArg[] args, SchemaReader schemaReader, TupleConstraint constraint)
-
Uses of SchemaReader in mondrian.server
Methods in mondrian.server that return SchemaReader Modifier and Type Method Description SchemaReader
Statement. getSchemaReader()
Returns this statement's schema reader.SchemaReader
StatementImpl. getSchemaReader()
-
Uses of SchemaReader in mondrian.util
Constructors in mondrian.util with parameters of type SchemaReader Constructor Description MemberListBuilder(SchemaReader schemaReader, Cube cube, Hierarchy hierarchy)
TupleBuilder(SchemaReader schemaReader, Cube cube, List<Hierarchy> hierarchyList)
TupleListBuilder(SchemaReader schemaReader, Cube cube, List<Hierarchy> hierarchyList)
-