| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.plan.hep |
Provides a heuristic planner implementation for the interfaces in
org.apache.calcite.plan. |
| org.apache.calcite.plan.volcano |
Optimizes relational expressions.
|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.fun |
Defines the set of standard SQL row-level functions and
operators.
|
| org.apache.calcite.sql.validate |
SQL validation.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
Contexts.ChainContext
Context that wraps a chain of contexts.
|
(package private) static class |
Contexts.EmptyContext
Empty context.
|
private static class |
Contexts.WrapContext
Context that wraps an object.
|
| Modifier and Type | Field and Description |
|---|---|
protected Context |
AbstractRelOptPlanner.context
External context.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) com.google.common.collect.ImmutableList<Context> |
Contexts.ChainContext.contexts |
| Modifier and Type | Method and Description |
|---|---|
static Context |
Contexts.chain(Context... contexts)
Returns a context that wraps a list of contexts.
|
private static Context |
Contexts.chain(Iterable<? extends Context> contexts) |
static Context |
Contexts.empty()
Returns a context that returns null for all inquiries.
|
Context |
RelOptPlanner.getContext()
Provides the Context created when this planner was constructed.
|
Context |
AbstractRelOptPlanner.getContext() |
static Context |
Contexts.of(Object... os)
Returns a context that wraps an array of objects, ignoring any nulls.
|
static Context |
Contexts.of(Object o)
Returns a context that wraps an object.
|
static Context |
Contexts.withConfig(CalciteConnectionConfig config)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
Contexts.build(List<Context> list,
Context context)
Recursively populates a list of contexts.
|
static Context |
Contexts.chain(Context... contexts)
Returns a context that wraps a list of contexts.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
Contexts.build(List<Context> list,
Context context)
Recursively populates a list of contexts.
|
private static Context |
Contexts.chain(Iterable<? extends Context> contexts) |
| Constructor and Description |
|---|
AbstractRelOptPlanner(RelOptCostFactory costFactory,
Context context)
Creates an AbstractRelOptPlanner.
|
| Constructor and Description |
|---|
ChainContext(com.google.common.collect.ImmutableList<Context> contexts) |
| Constructor and Description |
|---|
HepPlanner(HepProgram program,
Context context)
Creates a new HepPlanner that allows DAG.
|
HepPlanner(HepProgram program,
Context context,
boolean noDAG,
Function2<RelNode,RelNode,Void> onCopyHook,
RelOptCostFactory costFactory)
Creates a new HepPlanner with the option to keep the graph a
tree(noDAG=true) or allow DAG(noDAG=false).
|
| Constructor and Description |
|---|
VolcanoPlanner(Context externalContext)
Creates a uninitialized
VolcanoPlanner. |
VolcanoPlanner(RelOptCostFactory costFactory,
Context externalContext)
Creates a
VolcanoPlanner with a given cost factory. |
| Modifier and Type | Method and Description |
|---|---|
protected RelOptPlanner |
CalcitePrepareImpl.createPlanner(CalcitePrepare.Context prepareContext,
Context externalContext,
RelOptCostFactory costFactory)
Creates a query planner and initializes it with a default set of
rules.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlAggFunction
Abstract base class for the definition of an aggregate function: an operator
which aggregates sets of values into a result.
|
class |
SqlRankFunction
Operator which aggregates sets of values into a result.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlAbstractGroupFunction
Base class for grouping functions
GROUP_ID, GROUPING_ID,
GROUPING. |
class |
SqlAvgAggFunction
Avg is an aggregator which returns the average of the values
which go into it. |
class |
SqlCountAggFunction
Definition of the SQL
COUNT aggregation function. |
class |
SqlCovarAggFunction
Covar is an aggregator which returns the Covariance of the
values which go into it. |
class |
SqlFirstLastValueAggFunction
FIRST_VALUE and LAST_VALUE aggregate functions
return the first or the last value in a list of values that are input to the
function. |
(package private) class |
SqlGroupIdFunction
The
GROUP_ID() function. |
(package private) class |
SqlGroupingFunction
The
GROUPING function. |
(package private) class |
SqlGroupingIdFunction
Deprecated.
Now that
GROUPING has the same functionality,
this function is deprecated. |
class |
SqlHistogramAggFunction
HISTOGRAM is the base operator that supports the Histogram
MIN/MAX aggregate functions. |
class |
SqlLeadLagAggFunction
LEAD and LAG aggregate functions
return the value of given expression evaluated at given offset. |
class |
SqlMinMaxAggFunction
Definition of the
MIN and MAX aggregate functions,
returning the returns the smallest/largest of the values which go into it. |
class |
SqlNtileAggFunction
NTILE aggregate function
return the value of given expression evaluated at given offset. |
class |
SqlSingleValueAggFunction
SINGLE_VALUE aggregate function returns the input value if there
is only one value in the input; Otherwise it triggers a run-time error. |
class |
SqlSumAggFunction
Sum is an aggregator which returns the sum of the values which
go into it. |
class |
SqlSumEmptyIsZeroAggFunction
Sum0 is an aggregator which returns the sum of the values which
go into it like Sum. |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlUserDefinedAggFunction
User-defined aggregate function.
|
| Modifier and Type | Field and Description |
|---|---|
private Context |
RelDecorrelator.context |
| Constructor and Description |
|---|
RelDecorrelator(RelOptCluster cluster,
RelDecorrelator.CorelMap cm,
Context context) |
| Modifier and Type | Field and Description |
|---|---|
private Context |
Frameworks.ConfigBuilder.context |
private Context |
Frameworks.StdFrameworkConfig.context |
| Modifier and Type | Method and Description |
|---|---|
Context |
Frameworks.StdFrameworkConfig.getContext() |
Context |
FrameworkConfig.getContext()
Returns the PlannerContext that should be made available during planning by
calling
RelOptPlanner.getContext(). |
| Modifier and Type | Method and Description |
|---|---|
Frameworks.ConfigBuilder |
Frameworks.ConfigBuilder.context(Context c) |
static RelBuilderFactory |
RelBuilder.proto(Context context)
Creates a
RelBuilderFactory, a partially-created RelBuilder. |
| Constructor and Description |
|---|
PigRelBuilder(Context context,
RelOptCluster cluster,
RelOptSchema relOptSchema) |
RelBuilder(Context context,
RelOptCluster cluster,
RelOptSchema relOptSchema) |
StdFrameworkConfig(Context context,
SqlRexConvertletTable convertletTable,
SqlOperatorTable operatorTable,
com.google.common.collect.ImmutableList<Program> programs,
com.google.common.collect.ImmutableList<RelTraitDef> traitDefs,
SqlParser.Config parserConfig,
SqlToRelConverter.Config sqlToRelConverterConfig,
SchemaPlus defaultSchema,
RelOptCostFactory costFactory,
RelDataTypeSystem typeSystem,
RexExecutor executor) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.