| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.adapter.jdbc |
Query provider based on a JDBC data source.
|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.logical |
Defines logical relational expressions.
|
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EnumerableAggregate
Implementation of
Aggregate in
enumerable calling convention. |
| Modifier and Type | Class and Description |
|---|---|
static class |
JdbcRules.JdbcAggregate
Aggregate operator implemented in JDBC convention.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Bindables.BindableAggregate
Implementation of
Aggregate
in bindable calling convention. |
| Modifier and Type | Method and Description |
|---|---|
void |
Nodes.CoreCompiler.visit(Aggregate agg) |
| Constructor and Description |
|---|
AggregateNode(Interpreter interpreter,
Aggregate rel) |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<Aggregate> |
Aggregate.IS_SIMPLE |
| Modifier and Type | Method and Description |
|---|---|
abstract Aggregate |
Aggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates a copy of this aggregate.
|
| Modifier and Type | Method and Description |
|---|---|
Aggregate.AggCallBinding |
AggregateCall.createBinding(Aggregate aggregateRelBase)
Creates a binding of this call in the context of an
LogicalAggregate,
which can then be used to infer the return type. |
| Modifier and Type | Class and Description |
|---|---|
class |
LogicalAggregate
LogicalAggregate is a relational operator which eliminates
duplicates and computes totals. |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
RelMdColumnUniqueness.areColumnsUnique(Aggregate rel,
ImmutableBitSet columns,
boolean ignoreNulls) |
List<Double> |
RelMdSize.averageColumnSizes(Aggregate rel) |
Set<RelColumnOrigin> |
RelMdColumnOrigins.getColumnOrigins(Aggregate rel,
int iOutputColumn) |
Double |
RelMdDistinctRowCount.getDistinctRowCount(Aggregate rel,
ImmutableBitSet groupKey,
RexNode predicate) |
Double |
RelMdPercentageOriginalRows.getPercentageOriginalRows(Aggregate rel) |
Double |
RelMdPopulationSize.getPopulationSize(Aggregate rel,
ImmutableBitSet groupKey) |
RelOptPredicateList |
RelMdPredicates.getPredicates(Aggregate agg)
Infers predicates for an Aggregate.
|
Double |
RelMdRowCount.getRowCount(Aggregate rel) |
Double |
RelMdSelectivity.getSelectivity(Aggregate rel,
RexNode predicate) |
Set<ImmutableBitSet> |
RelMdUniqueKeys.getUniqueKeys(Aggregate rel,
boolean ignoreNulls) |
static void |
RelMdUtil.setAggChildKeys(ImmutableBitSet groupKey,
Aggregate aggRel,
ImmutableBitSet.Builder childKey)
Takes a bitmap representing a set of input references and extracts the
ones that reference the group by columns in an aggregate.
|
| Modifier and Type | Method and Description |
|---|---|
protected Aggregate |
AggregateReduceFunctionsRule.newAggregateRel(Aggregate oldAggregate,
RelNode input,
List<AggregateCall> newCalls)
Do a shallow clone of oldAggRel and update aggCalls.
|
| Modifier and Type | Method and Description |
|---|---|
static RelNode |
AggregateProjectMergeRule.apply(Aggregate aggregate,
Project project) |
protected void |
AggregateStarTableRule.apply(RelOptRuleCall call,
Project postProject,
Aggregate aggregate,
StarTable.StarTableScan scan) |
protected Aggregate |
AggregateReduceFunctionsRule.newAggregateRel(Aggregate oldAggregate,
RelNode input,
List<AggregateCall> newCalls)
Do a shallow clone of oldAggRel and update aggCalls.
|
| Constructor and Description |
|---|
AggregateJoinTransposeRule(Class<? extends Aggregate> aggregateClass,
RelFactories.AggregateFactory aggregateFactory,
Class<? extends Join> joinClass,
RelFactories.JoinFactory joinFactory)
Creates an AggregateJoinTransposeRule.
|
AggregateUnionAggregateRule(Class<? extends Aggregate> aggregateClass,
RelFactories.AggregateFactory aggregateFactory,
Class<? extends Union> unionClass,
RelFactories.SetOpFactory setOpFactory)
Creates a AggregateUnionAggregateRule.
|
AggregateUnionTransposeRule(Class<? extends Aggregate> aggregateClass,
RelFactories.AggregateFactory aggregateFactory,
Class<? extends Union> unionClass,
RelFactories.SetOpFactory setOpFactory)
Constructor.
|
FilterAggregateTransposeRule(Class<? extends Filter> filterClass,
RelFactories.FilterFactory filterFactory,
Class<? extends Aggregate> aggregateClass)
Creates a PushFilterPastAggRule.
|
| Modifier and Type | Method and Description |
|---|---|
RelFieldTrimmer.TrimResult |
RelFieldTrimmer.trimFields(Aggregate aggregate,
ImmutableBitSet fieldsUsed,
Set<RelDataTypeField> extraFields)
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.