Package | Description |
---|---|
mondrian.rolap |
Implements the data access layer for the olap package.
|
mondrian.rolap.agg |
Manages a cache of aggregates containing cell values.
|
mondrian.rolap.aggmatcher |
Defines a 'matcher' which scans the schema to find candidate aggregate tables.
|
Modifier and Type | Class and Description |
---|---|
static class |
RolapStar.Measure
Definition of a measure in a star schema.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<RolapStar.Column> |
RolapStar.Column.COMPARATOR |
Modifier and Type | Method and Description |
---|---|
RolapStar.Column |
RolapCubeLevel.getBaseStarKeyColumn(RolapCube baseCube)
this method returns the RolapStar.Column if non-virtual,
if virtual, find the base cube level and return it's
column
|
RolapStar.Column |
RolapStar.getColumn(int bitPos)
Look up the column at the given bit position.
|
RolapStar.Column |
StarColumnPredicate.getConstrainedColumn()
Returns the column constrained by this predicate.
|
RolapStar.Column |
RolapStar.Column.getNameColumn() |
RolapStar.Column |
RolapStar.Column.getParentColumn() |
RolapStar.Column |
RolapCubeLevel.getStarKeyColumn()
This is the RolapStar.Column that is related to this RolapCubeLevel
|
RolapStar.Column |
RolapStar.Table.lookupColumn(String columnName) |
RolapStar.Column |
RolapStar.lookupColumn(String tableAlias,
String columnName)
This is used by TestAggregationManager only.
|
RolapStar.Column |
RolapStar.Table.lookupColumnByExpression(MondrianDef.Expression xmlExpr)
Given a MondrianDef.Expression return a column with that expression
or null.
|
RolapStar.Column[] |
RolapStar.Table.lookupColumns(String columnName)
Returns an array of all columns in this star with a given name.
|
RolapStar.Column[] |
RolapStar.lookupColumns(String tableAlias,
String columnName)
Retrieves a named column, returns null if not found.
|
protected RolapStar.Column |
RolapCube.makeColumns(RolapStar.Table table,
RolapCubeLevel level,
RolapStar.Column parentColumn,
String usagePrefix)
Adds a column to the appropriate table in the
RolapStar . |
Modifier and Type | Method and Description |
---|---|
List<RolapStar.Column> |
RolapStar.Table.getColumns()
Returns a list of this table's
RolapStar.Column s. |
List<RolapStar.Column> |
StarPredicate.getConstrainedColumnList()
Returns a list of constrained columns.
|
Modifier and Type | Method and Description |
---|---|
void |
RolapCacheRegion.addPredicate(RolapStar.Column column,
StarColumnPredicate predicate)
Adds a predicate which applies to a single column.
|
StarColumnPredicate |
StarColumnPredicate.cloneWithColumn(RolapStar.Column column)
This method is required because unfortunately some ColumnPredicate
objects are created without a column.
|
int |
RolapStar.ColumnComparator.compare(RolapStar.Column o1,
RolapStar.Column o2) |
boolean |
RolapStar.Table.containsColumn(RolapStar.Column column) |
static String |
SqlConstraintUtils.getColumnExpr(SqlQuery sqlQuery,
AggStar aggStar,
RolapStar.Column column)
Get the column expression from the AggStar if provided or the regular
table if not, and ensure table is in From
|
protected RolapStar.Column |
RolapCube.makeColumns(RolapStar.Table table,
RolapCubeLevel level,
RolapStar.Column parentColumn,
String usagePrefix)
Adds a column to the appropriate table in the
RolapStar . |
void |
RolapCubeLevel.setStarKeyColumn(RolapStar.Column column) |
Modifier and Type | Method and Description |
---|---|
static void |
RolapStar.collectColumns(Collection<RolapStar.Column> columnList,
RolapStar.Table table,
MondrianDef.Column joinColumn)
Collects all columns in this table and its children.
|
String |
RolapStar.generateSql(List<RolapStar.Column> columnList,
List<String> columnNameList)
Generates a SQL statement to read all instances of the given attributes.
|
Modifier and Type | Field and Description |
---|---|
protected RolapStar.Column[] |
Segment.columns
This is set in the load method and is used during
the processing of a particular aggregate load.
|
protected RolapStar.Column |
AbstractColumnPredicate.constrainedColumn |
Modifier and Type | Field and Description |
---|---|
protected List<RolapStar.Column> |
ListPredicate.columns |
Modifier and Type | Method and Description |
---|---|
RolapStar.Column[] |
Segment.getColumns()
Returns the constrained columns.
|
RolapStar.Column[] |
QuerySpec.getColumns() |
RolapStar.Column[] |
GroupingSet.getColumns() |
RolapStar.Column |
MinusStarPredicate.getConstrainedColumn() |
RolapStar.Column |
AbstractColumnPredicate.getConstrainedColumn() |
RolapStar.Column[] |
CellRequest.getConstrainedColumns() |
Modifier and Type | Method and Description |
---|---|
List<RolapStar.Column> |
MemberTuplePredicate.getConstrainedColumnList()
Returns a list of constrained columns.
|
List<RolapStar.Column> |
MemberColumnPredicate.getConstrainedColumnList() |
List<RolapStar.Column> |
AbstractColumnPredicate.getConstrainedColumnList() |
List<RolapStar.Column> |
ListPredicate.getConstrainedColumnList() |
Modifier and Type | Method and Description |
---|---|
void |
CellRequest.addConstrainedColumn(RolapStar.Column column,
StarColumnPredicate predicate)
Adds a constraint to this request.
|
void |
DrillThroughCellRequest.addDrillThroughColumn(RolapStar.Column column) |
protected static List<StarColumnPredicate> |
AbstractColumnPredicate.cloneListWithColumn(RolapStar.Column column,
List<StarColumnPredicate> list) |
StarColumnPredicate |
MemberColumnPredicate.cloneWithColumn(RolapStar.Column column) |
StarColumnPredicate |
ListColumnPredicate.cloneWithColumn(RolapStar.Column column) |
StarColumnPredicate |
ValueColumnPredicate.cloneWithColumn(RolapStar.Column column) |
StarColumnPredicate |
MinusStarPredicate.cloneWithColumn(RolapStar.Column column) |
StarColumnPredicate |
RangeColumnPredicate.cloneWithColumn(RolapStar.Column column) |
StarColumnPredicate |
LiteralStarPredicate.cloneWithColumn(RolapStar.Column column) |
static StarColumnPredicate |
AbstractColumnPredicate.Factory.equal(RolapStar.Column column,
Object value)
Returns a predicate which tests whether the column's
value is equal to a given constant.
|
boolean |
DrillThroughCellRequest.includeInSelect(RolapStar.Column column) |
protected boolean |
AbstractQuerySpec.isPartOfSelect(RolapStar.Column col)
Allows subclasses to specify if a given column must
be returned as part of the result set, in the select clause.
|
void |
Aggregation.load(SegmentCacheManager cacheMgr,
int cellRequestCount,
RolapStar.Column[] columns,
List<RolapStar.Measure> measures,
StarColumnPredicate[] predicates,
GroupingSetsCollector groupingSetsCollector,
List<Future<Map<Segment,SegmentWithData>>> segmentFutures)
Loads a set of segments into this aggregation, one per measure,
each constrained by the same set of column values, and each pinned
once.
|
static void |
AggregationManager.loadAggregation(SegmentCacheManager cacheMgr,
int cellRequestCount,
List<RolapStar.Measure> measures,
RolapStar.Column[] columns,
AggregationKey aggregationKey,
StarColumnPredicate[] predicates,
GroupingSetsCollector groupingSetsCollector,
List<Future<Map<Segment,SegmentWithData>>> segmentFutures)
Called by FastBatchingCellReader.load where the
RolapStar creates an Aggregation if needed.
|
StarColumnPredicate[] |
Aggregation.optimizePredicates(RolapStar.Column[] columns,
StarColumnPredicate[] predicates)
Drops predicates, where the list of values is close to the values which
would be returned anyway.
|
static StarColumnPredicate |
AbstractColumnPredicate.Factory.or(RolapStar.Column column,
List<StarColumnPredicate> list)
Returns predicate which is the OR of a list of predicates.
|
static Segment |
SegmentBuilder.toSegment(SegmentHeader header,
RolapStar star,
BitKey constrainedColumnsBitKey,
RolapStar.Column[] constrainedColumns,
RolapStar.Measure measure,
List<StarPredicate> compoundPredicates)
Creates a segment from a SegmentHeader.
|
Constructor and Description |
---|
AbstractColumnPredicate(RolapStar.Column constrainedColumn)
Creates an AbstractColumnPredicate.
|
GroupingSet(List<Segment> segments,
BitKey levelBitKey,
BitKey measureBitKey,
StarColumnPredicate[] predicates,
RolapStar.Column[] columns)
Creates a GroupingSet.
|
ListColumnPredicate(RolapStar.Column column,
List<StarColumnPredicate> list)
Creates a ListColumnPredicate
|
LiteralStarPredicate(RolapStar.Column column,
boolean value)
Creates a LiteralStarPredicate.
|
MemberColumnPredicate(RolapStar.Column column,
RolapMember member)
Creates a MemberColumnPredicate
|
RangeColumnPredicate(RolapStar.Column column,
boolean lowerInclusive,
ValueColumnPredicate lowerBound,
boolean upperInclusive,
ValueColumnPredicate upperBound)
Creates a RangeColumnPredicate.
|
Segment(RolapStar star,
BitKey constrainedColumnsBitKey,
RolapStar.Column[] columns,
RolapStar.Measure measure,
StarColumnPredicate[] predicates,
List<Segment.ExcludedRegion> excludedRegions,
List<StarPredicate> compoundPredicateList)
Creates a
Segment ; it's not loaded yet. |
ValueColumnPredicate(RolapStar.Column constrainedColumn,
Object value)
Creates a column constraint.
|
Modifier and Type | Field and Description |
---|---|
RolapStar.Column |
JdbcSchema.Table.Column.Usage.rColumn |
Modifier and Type | Method and Description |
---|---|
protected String |
AggGen.getRolapStarColumnName(RolapStar.Column rColumn) |
Constructor and Description |
---|
AggGen(String cubeName,
RolapStar star,
RolapStar.Column[] columns) |
Copyright © 2019 Hitachi Vantara. All rights reserved.