| Package | Description |
|---|---|
| org.pentaho.aggdes.algorithm.impl |
Provides a default implementation of the Aggregate Design algorithm,
which is specified in the
org.pentaho.aggdes.algorithm package. |
| Modifier and Type | Field and Description |
|---|---|
protected List<AggregateImpl> |
LatticeImpl.materializedAggregates
List of all materialized tables.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateImpl |
Lattice.chooseAggregate(double maxCost,
double minCostBenefitRatio,
Cost cost)
Chooses the next un-materialized aggregate with the highest
incremental benefit.
|
AggregateImpl |
MonteCarloLatticeImpl.chooseAggregate(double maxCost,
double minCostBenefitRatio,
Cost cost) |
protected AggregateImpl |
LatticeImpl.findNearestMaterializedDescendant(AggregateImpl aggregate)
Finds the aggregate which is materialized, is a descendant of
aggregate (that is, it has a superset of its
attributes), and has the fewest rows among such aggregates. |
protected AggregateImpl |
LatticeImpl.getAggregate(BitSetPlus bits) |
| Modifier and Type | Method and Description |
|---|---|
protected List<AggregateImpl> |
LatticeImpl.findMaterializedDirectAscendants(AggregateImpl aggregate)
Returns a list of aggregates that are materialized, are an ascendant
of
aggregate (that is, a strict subset of its attributes),
and there is no intervening materialized aggregate. |
protected List<AggregateImpl> |
LatticeImpl.findMaterializedDirectDescendants(AggregateImpl aggregate)
Returns a list of aggregates that are materialized, are a descendant
of
aggregate (that is, a strict superset of its attributes),
and there is no intervening materialized aggregate. |
protected List<AggregateImpl> |
LatticeImpl.getChildren(AggregateImpl aggregate)
Returns a list of aggregates which can be computed from a given
aggregate by dropping one attribute.
|
List<AggregateImpl> |
LatticeImpl.getMaterializedAggregates() |
List<AggregateImpl> |
Lattice.getMaterializedAggregates() |
protected List<AggregateImpl> |
LatticeImpl.getParents(AggregateImpl aggregate)
Returns a list of aggregates which can be computed from a given
aggregate by adding one attribute.
|
protected List<AggregateImpl> |
LatticeImpl.nonMaterializedDescendants(AggregateImpl aggregate,
boolean includeSelf)
Returns a list of the non-materialized descendants of an aggregate.
|
| Modifier and Type | Method and Description |
|---|---|
Algorithm.CostBenefit |
Lattice.costBenefitOf(AggregateImpl aggregate)
Returns an object representing the cost of the given aggregate, and
benefit of adding it to the current lattice.
|
Algorithm.CostBenefit |
MonteCarloLatticeImpl.costBenefitOf(AggregateImpl aggregate) |
protected List<AggregateImpl> |
LatticeImpl.findMaterializedDirectAscendants(AggregateImpl aggregate)
Returns a list of aggregates that are materialized, are an ascendant
of
aggregate (that is, a strict subset of its attributes),
and there is no intervening materialized aggregate. |
protected List<AggregateImpl> |
LatticeImpl.findMaterializedDirectDescendants(AggregateImpl aggregate)
Returns a list of aggregates that are materialized, are a descendant
of
aggregate (that is, a strict superset of its attributes),
and there is no intervening materialized aggregate. |
protected AggregateImpl |
LatticeImpl.findNearestMaterializedDescendant(AggregateImpl aggregate)
Finds the aggregate which is materialized, is a descendant of
aggregate (that is, it has a superset of its
attributes), and has the fewest rows among such aggregates. |
protected double |
LatticeImpl.getBenefit(AggregateImpl aggregate,
int[] benefitCount0)
Returns the benefit of materializing an aggregate.
|
protected List<AggregateImpl> |
LatticeImpl.getChildren(AggregateImpl aggregate)
Returns a list of aggregates which can be computed from a given
aggregate by dropping one attribute.
|
protected List<AggregateImpl> |
LatticeImpl.getParents(AggregateImpl aggregate)
Returns a list of aggregates which can be computed from a given
aggregate by adding one attribute.
|
void |
LatticeImpl.materialize(AggregateImpl aggregate) |
void |
Lattice.materialize(AggregateImpl aggregate)
Materializes an aggregate.
|
void |
MonteCarloLatticeImpl.materialize(AggregateImpl aggregate) |
protected List<AggregateImpl> |
LatticeImpl.nonMaterializedDescendants(AggregateImpl aggregate,
boolean includeSelf)
Returns a list of the non-materialized descendants of an aggregate.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Algorithm.CostBenefit> |
LatticeImpl.computeAggregateCosts(Lattice lattice,
List<AggregateImpl> aggregateList) |
List<Algorithm.CostBenefit> |
LatticeImpl.computeAggregateCosts(List<AggregateImpl> aggregateList)
|
Copyright © 2006–2016 Julian Hyde. All rights reserved.