| Package | Description |
|---|---|
| org.apache.calcite.adapter.clone |
Provides utility classes.
|
| org.apache.calcite.adapter.elasticsearch |
Base classes for a query provider based on an Elasticsearch DB.
|
| org.apache.calcite.adapter.java |
Query provider based on Java in-memory data
structures.
|
| org.apache.calcite.adapter.jdbc |
Query provider based on a JDBC data source.
|
| org.apache.calcite.jdbc |
JDBC driver for Calcite.
|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.schema.impl |
Utilities to help implement Calcite's SPIs.
|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ArrayTable
Implementation of table that reads rows from column stores, one per column.
|
(package private) class |
ListTable
Implementation of table that reads rows from a read-only list and returns
an enumerator of rows.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractElasticsearchTable
Table based on an Elasticsearch type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractQueryableTable
Abstract base class for implementing
Table. |
private static class |
ReflectiveSchema.FieldTable<T>
Table based on a Java field.
|
private static class |
ReflectiveSchema.ReflectiveTable
Table that is implemented by reading from a Java object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JdbcTable
Queryable that gets its data from a table within a JDBC connection.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
CalciteMetaImpl.MetadataTable<E>
Table whose contents are metadata.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Context
Provides library users a way to store data within the planner session and
access it within rules.
|
interface |
RelOptTable
Represents a relational dataset in a
RelOptSchema. |
| 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.
|
class |
RelOptAbstractTable
Partial implementation of
RelOptTable. |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Prepare.CatalogReader
Interface by which validator and planner can read table metadata.
|
static interface |
Prepare.PreparingTable
Definition of a table, for the purposes of the validator and planner.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CalciteCatalogReader
Implementation of
Prepare.CatalogReader
and also SqlOperatorTable based on tables and
functions defined schemas. |
static class |
Prepare.AbstractPreparingTable
Abstract implementation of
Prepare.PreparingTable with an implementation
for Prepare.AbstractPreparingTable.columnHasDefaultValue(org.apache.calcite.rel.type.RelDataType, int, org.apache.calcite.sql2rel.InitializerContext). |
class |
RelOptTableImpl
Implementation of
RelOptTable. |
| Modifier and Type | Class and Description |
|---|---|
private static class |
LoptSemiJoinOptimizer.LcsTable
Dummy class to allow code to compile.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTable
Abstract base class for implementing
Table. |
class |
MaterializedViewTable
Table that is a materialized view.
|
class |
ModifiableViewTable
Extension to
ViewTable that is modifiable. |
class |
StarTable
Virtual table that is composed of two or more tables joined together.
|
class |
ViewTable
Table whose contents are defined using an SQL statement.
|
| 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 | Interface and Description |
|---|---|
interface |
SqlValidatorCatalogReader
Supplies catalog information for
SqlValidator. |
interface |
SqlValidatorTable
Supplies a
SqlValidator with the metadata for a table. |
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingSqlValidatorCatalogReader
Implementation of
SqlValidatorCatalogReader that passes
all calls to a parent catalog reader. |
class |
DelegatingSqlValidatorTable
Implements
SqlValidatorTable by
delegating to a parent table. |
class |
SqlUserDefinedAggFunction
User-defined aggregate function.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.