Uses of Interface
mondrian.olap.SchemaReader
Packages that use SchemaReader
Package
Description
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.
Implements the data access layer for the olap package.
Augments the Mondrian engine with server functionality.
Mondrian utilities.
-
Uses of SchemaReader in mondrian.olap
Classes in mondrian.olap that implement SchemaReaderModifier and TypeClassDescriptionclassDelegatingSchemaReaderimplementsSchemaReaderby delegating all methods to an underlyingSchemaReader.Fields in mondrian.olap declared as SchemaReaderModifier and TypeFieldDescriptionprotected final SchemaReaderDelegatingSchemaReader.schemaReaderMethods in mondrian.olap that return SchemaReaderModifier and TypeMethodDescriptionConnection.getSchemaReader()Returns a schema reader with access control appropriate to the current role.Cube.getSchemaReader(Role role) Returns aSchemaReaderfor which this cube is the context for lookup up members.Evaluator.getSchemaReader()Returns aSchemaReaderappropriate for the current access-control context.Query.getSchemaReader(boolean accessControlled) Returns a schema reader.Schema.getSchemaReader()Creates aSchemaReaderwithout any access control.Validator.getSchemaReader()Returns the schema reader with which to resolve names of MDX objects (dimensions, hierarchies, levels, members, named sets).DelegatingSchemaReader.withLocus()SchemaReader.withLocus()Returns a schema reader that automatically assigns a locus to each operation.DelegatingSchemaReader.withoutAccessControl()SchemaReader.withoutAccessControl()Returns a similar schema reader that has no access control.Methods in mondrian.olap with parameters of type SchemaReaderModifier and TypeMethodDescriptionUtil.addLevelCalculatedMembers(SchemaReader reader, Level level, List<Member> members) static MemberUtil.getFirstDescendantOnLevel(SchemaReader reader, Member parent, Level level) returns the first descendant on the level underneath parent.static intUtil.getMemberOrdinalInParent(SchemaReader reader, Member member) Finds the zero based ordinal of a Member among its siblings.static ExpUtil.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.CubeBase.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) DimensionBase.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) HierarchyBase.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) LevelBase.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) MemberBase.lookupChild(SchemaReader schemaReader, Id.Segment childName, MatchType matchType) OlapElement.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) Looks up a child element, returning null if it does not exist.Query.ScopedNamedSet.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) SetBase.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) static OlapElementUtil.lookupCompound(SchemaReader schemaReader, OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category) static OlapElementUtil.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 MemberUtil.lookupHierarchyRootMember(SchemaReader reader, Hierarchy hierarchy, Id.NameSegment memberName) static MemberUtil.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 SchemaReaderModifierConstructorDescriptionprotectedDelegatingSchemaReader(SchemaReader schemaReader) Creates a DelegatingSchemaReader. -
Uses of SchemaReader in mondrian.olap.fun
Methods in mondrian.olap.fun with parameters of type SchemaReaderModifier and TypeMethodDescriptionstatic TupleListAggregateFunDef.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.rolapModifier and TypeInterfaceDescriptionstatic interfaceClasses in mondrian.rolap that implement SchemaReaderModifier and TypeClassDescriptionclassARolapSchemaReaderallows you to read schema objects while observing the access-control profile specified by a given role.Methods in mondrian.rolap that return SchemaReaderModifier and TypeMethodDescriptionRolapConnection.getSchemaReader()RolapCube.getSchemaReader()Returns the schema reader which enforces the appropriate access-control context.RolapCube.getSchemaReader(Role role) final SchemaReaderRolapEvaluator.getSchemaReader()RolapSchema.getSchemaReader()static SchemaReaderRolapUtil.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.RolapSchemaReader.withLocus()RolapSchemaReader.withoutAccessControl()Methods in mondrian.rolap with parameters of type SchemaReaderModifier and TypeMethodDescriptionRolapMemberBase.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 intRolapMemberBase.getHierarchyCardinality(SchemaReader schemaReader, Hierarchy hierarchy) static Map<Level,List<RolapMember>> SqlConstraintUtils.getRoleConstraintMembers(SchemaReader schemaReader, Member[] members) static SchemaReaderRolapUtil.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.DelegatingRolapMember.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) RolapCube.lookupChild(SchemaReader schemaReader, Id.Segment s) RolapCube.lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType) RolapCubeMember.lookupChild(SchemaReader schemaReader, Id.Segment childName, MatchType matchType) RolapLevel.lookupChild(SchemaReader schemaReader, Id.Segment name) RolapLevel.lookupChild(SchemaReader schemaReader, Id.Segment name, MatchType matchType) static voidRolapMemberBase.setOrdinals(SchemaReader schemaReader, Member seedMember) Sets member ordinal values using a Bottom-up/Top-down algorithm.Constructors in mondrian.rolap with parameters of type SchemaReaderModifierConstructorDescriptionSetEvaluator(CrossJoinArg[] args, SchemaReader schemaReader, TupleConstraint constraint) -
Uses of SchemaReader in mondrian.server
Methods in mondrian.server that return SchemaReaderModifier and TypeMethodDescriptionStatement.getSchemaReader()Returns this statement's schema reader.StatementImpl.getSchemaReader() -
Uses of SchemaReader in mondrian.util
Constructors in mondrian.util with parameters of type SchemaReaderModifierConstructorDescriptionMemberListBuilder(SchemaReader schemaReader, Cube cube, Hierarchy hierarchy) TupleBuilder(SchemaReader schemaReader, Cube cube, List<Hierarchy> hierarchyList) TupleListBuilder(SchemaReader schemaReader, Cube cube, List<Hierarchy> hierarchyList)