Uses of Class
mondrian.olap.Id.Segment
Package
Description
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
Implements the data access layer for the olap package.
-
Uses of Id.Segment in mondrian.olap
Modifier and TypeClassDescriptionstatic class
Identifier segment representing a key, possibly composite.static class
Component in a compound identifier that describes the name of an object.Modifier and TypeMethodDescriptionstatic Id.Segment
Util.convert
(org.olap4j.mdx.IdentifierSegment olap4jSegment) Converts an olap4j-style segment to a mondrian-style segment.Id.getElement
(int i) Modifier and TypeMethodDescriptionstatic List<Id.Segment>
Converts a list of olap4j-style segments to a list of mondrian-style segments.Id.getSegments()
static List<Id.Segment>
Util.parseIdentifier
(String s) Parses an MDX identifier such as[Foo].[Bar].Baz.&Key&Key2
and returns the result as a list of segments.static List<Id.Segment>
Converts an array of names to a list of segments.Modifier and TypeMethodDescriptionId.append
(Id.Segment segment) Returns a new Identifier consisting of this one with another segment appended.DelegatingSchemaReader.getElementChild
(OlapElement parent, Id.Segment name) DelegatingSchemaReader.getElementChild
(OlapElement parent, Id.Segment name, MatchType matchType) SchemaReader.getElementChild
(OlapElement parent, Id.Segment name) Looks up the child ofparent
name
, returning null if no element is found.SchemaReader.getElementChild
(OlapElement parent, Id.Segment name, MatchType matchType) Looks up the child ofparent
calledname
, or an approximation according tomatchType
, returning null if no element is found.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) CubeBase.lookupDimension
(Id.Segment s) Looks up a dimension in this cube based on a component of its name.DelegatingSchemaReader.lookupMemberChildByName
(Member member, Id.Segment memberName, MatchType matchType) SchemaReader.lookupMemberChildByName
(Member parent, Id.Segment childName, MatchType matchType) Finds a child of a member with a given name.static org.olap4j.mdx.IdentifierSegment
Util.toOlap4j
(Id.Segment segment) Modifier and TypeMethodDescriptionDelegatingSchemaReader.getCalculatedMember
(List<Id.Segment> nameParts) SchemaReader.getCalculatedMember
(List<Id.Segment> nameParts) Looks up a calculated member by name.final Member
DelegatingSchemaReader.getMemberByUniqueName
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound) DelegatingSchemaReader.getMemberByUniqueName
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound, MatchType matchType) SchemaReader.getMemberByUniqueName
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound) Finds a member based upon its unique name, requiring an exact match.SchemaReader.getMemberByUniqueName
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound, MatchType matchType) Finds a member based upon its unique name.DelegatingSchemaReader.getNamedSet
(List<Id.Segment> nameParts) SchemaReader.getNamedSet
(List<Id.Segment> nameParts) Looks up a set by name.static String
Util.implode
(List<Id.Segment> names) Converts an array of name parts {"part1", "part2"} into a single string "[part1].[part2]".static OlapElement
Util.lookup
(Query q, List<Id.Segment> nameParts) static Exp
Util.lookup
(Query q, List<Id.Segment> nameParts, 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.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.final OlapElement
DelegatingSchemaReader.lookupCompound
(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category) final OlapElement
DelegatingSchemaReader.lookupCompound
(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category, MatchType matchType) SchemaReader.lookupCompound
(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category) Looks up an MDX object by name.SchemaReader.lookupCompound
(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category, MatchType matchType) Looks up an MDX object by name, specifying how to match if no object exactly matches the name.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.DelegatingSchemaReader.lookupCompoundInternal
(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category, MatchType matchType) static boolean
Util.matches
(Member member, List<Id.Segment> nameParts) static String
Util.quoteMdxIdentifier
(List<Id.Segment> ids) Return identifiers quoted in [...].[...].static void
Util.quoteMdxIdentifier
(List<Id.Segment> ids, StringBuilder sb) static List<org.olap4j.mdx.IdentifierSegment>
Util.toOlap4j
(List<Id.Segment> segments) ModifierConstructorDescriptionId
(Id.Segment segment) Creates an identifier containing a single part.ModifierConstructorDescriptionCellProperty
(List<Id.Segment> segments) Id
(List<Id.Segment> segments) -
Uses of Id.Segment in mondrian.parser
-
Uses of Id.Segment in mondrian.rolap
Modifier and TypeMethodDescriptionstatic Member
RolapUtil.findBestMemberMatch
(List<? extends Member> members, RolapMember parent, RolapLevel level, Id.Segment searchName, MatchType matchType) Locates a member specified by its member name, from an array of members.RolapSchemaReader.getElementChild
(OlapElement parent, Id.Segment name) RolapSchemaReader.getElementChild
(OlapElement parent, Id.Segment name, MatchType matchType) 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) RolapSchemaReader.lookupMemberChildByName
(Member parent, Id.Segment childName, MatchType matchType) Modifier and TypeMethodDescriptionRolapSchemaReader.getCalculatedMember
(List<Id.Segment> nameParts) final Member
RolapSchemaReader.getMemberByUniqueName
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound) RolapSchemaReader.getMemberByUniqueName
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound, MatchType matchType) RolapSchemaReader.getNamedSet
(List<Id.Segment> nameParts) RolapSchemaReader.lookupCompound
(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category) final OlapElement
RolapSchemaReader.lookupCompound
(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category, MatchType matchType) final OlapElement
RolapSchemaReader.lookupCompoundInternal
(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category, MatchType matchType) MemberSource.lookupMember
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound) Finds a member based upon its unique name.NoCacheMemberReader.lookupMember
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound) SmartMemberReader.lookupMember
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound) SubstitutingMemberReader.lookupMember
(List<Id.Segment> uniqueNameParts, boolean failIfNotFound)