Uses of Class
mondrian.olap.Id.Segment
-
Packages that use Id.Segment Package Description mondrian.olap Mondrian's core package, this defines connections and the catalog metamodel, and allows you to execute queries.mondrian.parser mondrian.rolap Implements the data access layer for the olap package. -
-
Uses of Id.Segment in mondrian.olap
Subclasses of Id.Segment in mondrian.olap Modifier and Type Class Description static class
Id.KeySegment
Identifier segment representing a key, possibly composite.static class
Id.NameSegment
Component in a compound identifier that describes the name of an object.Methods in mondrian.olap that return Id.Segment Modifier and Type Method Description static Id.Segment
Util. convert(org.olap4j.mdx.IdentifierSegment olap4jSegment)
Converts an olap4j-style segment to a mondrian-style segment.Id.Segment
Id. getElement(int i)
Methods in mondrian.olap that return types with arguments of type Id.Segment Modifier and Type Method Description static List<Id.Segment>
Util. convert(List<org.olap4j.mdx.IdentifierSegment> olap4jSegmentList)
Converts a list of olap4j-style segments to a list of mondrian-style segments.List<Id.Segment>
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>
Id.Segment. toList(String... nameParts)
Converts an array of names to a list of segments.Methods in mondrian.olap with parameters of type Id.Segment Modifier and Type Method Description Id
Id. append(Id.Segment segment)
Returns a new Identifier consisting of this one with another segment appended.OlapElement
DelegatingSchemaReader. getElementChild(OlapElement parent, Id.Segment name)
OlapElement
DelegatingSchemaReader. getElementChild(OlapElement parent, Id.Segment name, MatchType matchType)
OlapElement
SchemaReader. getElementChild(OlapElement parent, Id.Segment name)
Looks up the child ofparent
name
, returning null if no element is found.OlapElement
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.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)
Dimension
CubeBase. lookupDimension(Id.Segment s)
Looks up a dimension in this cube based on a component of its name.Member
DelegatingSchemaReader. lookupMemberChildByName(Member member, Id.Segment memberName, MatchType matchType)
Member
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)
Method parameters in mondrian.olap with type arguments of type Id.Segment Modifier and Type Method Description Member
DelegatingSchemaReader. getCalculatedMember(List<Id.Segment> nameParts)
Member
SchemaReader. getCalculatedMember(List<Id.Segment> nameParts)
Looks up a calculated member by name.Member
DelegatingSchemaReader. getMemberByUniqueName(List<Id.Segment> uniqueNameParts, boolean failIfNotFound)
Member
DelegatingSchemaReader. getMemberByUniqueName(List<Id.Segment> uniqueNameParts, boolean failIfNotFound, MatchType matchType)
Member
SchemaReader. getMemberByUniqueName(List<Id.Segment> uniqueNameParts, boolean failIfNotFound)
Finds a member based upon its unique name, requiring an exact match.Member
SchemaReader. getMemberByUniqueName(List<Id.Segment> uniqueNameParts, boolean failIfNotFound, MatchType matchType)
Finds a member based upon its unique name.NamedSet
DelegatingSchemaReader. getNamedSet(List<Id.Segment> nameParts)
NamedSet
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.OlapElement
DelegatingSchemaReader. lookupCompound(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category)
OlapElement
DelegatingSchemaReader. lookupCompound(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category, MatchType matchType)
OlapElement
SchemaReader. lookupCompound(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category)
Looks up an MDX object by name.OlapElement
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.OlapElement
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)
Constructors in mondrian.olap with parameters of type Id.Segment Constructor Description Id(Id.Segment segment)
Creates an identifier containing a single part.Constructor parameters in mondrian.olap with type arguments of type Id.Segment Constructor Description CellProperty(List<Id.Segment> segments)
Id(List<Id.Segment> segments)
-
Uses of Id.Segment in mondrian.parser
Methods in mondrian.parser that return Id.Segment Modifier and Type Method Description Id.Segment
MdxParserImpl. identifier()
-
Uses of Id.Segment in mondrian.rolap
Methods in mondrian.rolap with parameters of type Id.Segment Modifier and Type Method Description static 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.OlapElement
RolapSchemaReader. getElementChild(OlapElement parent, Id.Segment name)
OlapElement
RolapSchemaReader. getElementChild(OlapElement parent, Id.Segment name, MatchType matchType)
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)
Member
RolapSchemaReader. lookupMemberChildByName(Member parent, Id.Segment childName, MatchType matchType)
Method parameters in mondrian.rolap with type arguments of type Id.Segment Modifier and Type Method Description Member
RolapSchemaReader. getCalculatedMember(List<Id.Segment> nameParts)
Member
RolapSchemaReader. getMemberByUniqueName(List<Id.Segment> uniqueNameParts, boolean failIfNotFound)
Member
RolapSchemaReader. getMemberByUniqueName(List<Id.Segment> uniqueNameParts, boolean failIfNotFound, MatchType matchType)
NamedSet
RolapSchemaReader. getNamedSet(List<Id.Segment> nameParts)
OlapElement
RolapSchemaReader. lookupCompound(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category)
OlapElement
RolapSchemaReader. lookupCompound(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category, MatchType matchType)
OlapElement
RolapSchemaReader. lookupCompoundInternal(OlapElement parent, List<Id.Segment> names, boolean failIfNotFound, int category, MatchType matchType)
RolapMember
MemberSource. lookupMember(List<Id.Segment> uniqueNameParts, boolean failIfNotFound)
Finds a member based upon its unique name.RolapMember
NoCacheMemberReader. lookupMember(List<Id.Segment> uniqueNameParts, boolean failIfNotFound)
RolapMember
SmartMemberReader. lookupMember(List<Id.Segment> uniqueNameParts, boolean failIfNotFound)
RolapMember
SubstitutingMemberReader. lookupMember(List<Id.Segment> uniqueNameParts, boolean failIfNotFound)
-