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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 |
SchemaReader.getElementChild(OlapElement parent,
Id.Segment name)
Looks up the child of
parent name , returning
null if no element is found. |
OlapElement |
DelegatingSchemaReader.getElementChild(OlapElement parent,
Id.Segment name,
MatchType matchType) |
OlapElement |
SchemaReader.getElementChild(OlapElement parent,
Id.Segment name,
MatchType matchType)
Looks up the child of
parent called name , or
an approximation according to matchType , returning
null if no element is found. |
OlapElement |
MemberBase.lookupChild(SchemaReader schemaReader,
Id.Segment childName,
MatchType matchType) |
OlapElement |
DimensionBase.lookupChild(SchemaReader schemaReader,
Id.Segment s,
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 |
LevelBase.lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType) |
OlapElement |
Query.ScopedNamedSet.lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType) |
OlapElement |
CubeBase.lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType) |
OlapElement |
SetBase.lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType) |
OlapElement |
HierarchyBase.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) |
Modifier and Type | Method and 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 |
SchemaReader.getMemberByUniqueName(List<Id.Segment> uniqueNameParts,
boolean failIfNotFound)
Finds a member based upon its unique name, requiring an exact match.
|
Member |
DelegatingSchemaReader.getMemberByUniqueName(List<Id.Segment> uniqueNameParts,
boolean failIfNotFound,
MatchType matchType) |
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 |
SchemaReader.lookupCompound(OlapElement parent,
List<Id.Segment> names,
boolean failIfNotFound,
int category)
Looks up an MDX object by name.
|
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,
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) |
Constructor and Description |
---|
Id(Id.Segment segment)
Creates an identifier containing a single part.
|
Constructor and Description |
---|
CellProperty(List<Id.Segment> segments) |
Id(List<Id.Segment> segments) |
Modifier and Type | Method and Description |
---|---|
Id.Segment |
MdxParserImpl.identifier() |
Modifier and Type | Method and 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 |
RolapCube.lookupChild(SchemaReader schemaReader,
Id.Segment s) |
OlapElement |
RolapLevel.lookupChild(SchemaReader schemaReader,
Id.Segment name) |
OlapElement |
RolapCube.lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType) |
OlapElement |
DelegatingRolapMember.lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType) |
OlapElement |
RolapLevel.lookupChild(SchemaReader schemaReader,
Id.Segment name,
MatchType matchType) |
OlapElement |
RolapCubeMember.lookupChild(SchemaReader schemaReader,
Id.Segment childName,
MatchType matchType) |
Member |
RolapSchemaReader.lookupMemberChildByName(Member parent,
Id.Segment childName,
MatchType matchType) |
Modifier and Type | Method and 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 |
SubstitutingMemberReader.lookupMember(List<Id.Segment> uniqueNameParts,
boolean failIfNotFound) |
RolapMember |
SmartMemberReader.lookupMember(List<Id.Segment> uniqueNameParts,
boolean failIfNotFound) |
RolapMember |
NoCacheMemberReader.lookupMember(List<Id.Segment> uniqueNameParts,
boolean failIfNotFound) |
RolapMember |
MemberSource.lookupMember(List<Id.Segment> uniqueNameParts,
boolean failIfNotFound)
Finds a member based upon its unique name.
|
Copyright © 2020 Hitachi Vantara. All rights reserved.