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 classDelegatingSchemaReaderDelegatingSchemaReaderimplementsSchemaReaderby delegating all methods to an underlyingSchemaReader.Fields in mondrian.olap declared as SchemaReader Modifier and Type Field Description protected SchemaReaderDelegatingSchemaReader. schemaReaderMethods in mondrian.olap that return SchemaReader Modifier and Type Method Description SchemaReaderConnection. getSchemaReader()Returns a schema reader with access control appropriate to the current role.SchemaReaderCube. getSchemaReader(Role role)Returns aSchemaReaderfor which this cube is the context for lookup up members.SchemaReaderEvaluator. getSchemaReader()Returns aSchemaReaderappropriate for the current access-control context.SchemaReaderQuery. getSchemaReader(boolean accessControlled)Returns a schema reader.SchemaReaderSchema. getSchemaReader()Creates aSchemaReaderwithout any access control.SchemaReaderValidator. getSchemaReader()Returns the schema reader with which to resolve names of MDX objects (dimensions, hierarchies, levels, members, named sets).SchemaReaderDelegatingSchemaReader. withLocus()SchemaReaderSchemaReader. withLocus()Returns a schema reader that automatically assigns a locus to each operation.SchemaReaderDelegatingSchemaReader. withoutAccessControl()SchemaReaderSchemaReader. 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 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.OlapElementCubeBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)OlapElementDimensionBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)OlapElementHierarchyBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)OlapElementLevelBase. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)OlapElementMemberBase. lookupChild(SchemaReader schemaReader, Id.Segment childName, MatchType matchType)OlapElementOlapElement. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)Looks up a child element, returning null if it does not exist.OlapElementQuery.ScopedNamedSet. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)OlapElementSetBase. 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 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 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.rolap Modifier and Type Interface Description static interfaceRolapNativeSet.SchemaReaderWithMemberReaderAvailableClasses in mondrian.rolap that implement SchemaReader Modifier and Type Class Description classRolapSchemaReaderARolapSchemaReaderallows 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 SchemaReaderRolapConnection. getSchemaReader()SchemaReaderRolapCube. getSchemaReader()Returns the schema reader which enforces the appropriate access-control context.SchemaReaderRolapCube. getSchemaReader(Role role)SchemaReaderRolapEvaluator. getSchemaReader()SchemaReaderRolapSchema. 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.SchemaReaderRolapSchemaReader. withLocus()SchemaReaderRolapSchemaReader. 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 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.OlapElementDelegatingRolapMember. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)OlapElementRolapCube. lookupChild(SchemaReader schemaReader, Id.Segment s)OlapElementRolapCube. lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)OlapElementRolapCubeMember. lookupChild(SchemaReader schemaReader, Id.Segment childName, MatchType matchType)OlapElementRolapLevel. lookupChild(SchemaReader schemaReader, Id.Segment name)OlapElementRolapLevel. 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 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 SchemaReaderStatement. getSchemaReader()Returns this statement's schema reader.SchemaReaderStatementImpl. 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)
-