| Package | Description |
|---|---|
| org.apache.calcite.adapter.elasticsearch |
Base classes for a query provider based on an Elasticsearch DB.
|
| 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.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 |
Defines relational expressions.
|
| org.apache.calcite.rel.convert |
Defines relational expressions and rules for converting between calling
conventions.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| Modifier and Type | Field and Description |
|---|---|
static Convention |
ElasticsearchRel.CONVENTION
Calling convention for relational operations that occur in Elasticsearch.
|
(package private) Convention |
ElasticsearchRules.ElasticsearchConverterRule.out |
| Constructor and Description |
|---|
ElasticsearchConverterRule(Class<? extends RelNode> clazz,
RelTrait in,
Convention out,
String description) |
| Modifier and Type | Class and Description |
|---|---|
class |
EnumerableConvention
Family of calling conventions that return results as an
Enumerable. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EnumerableConvention.canConvertConvention(Convention toConvention) |
| Modifier and Type | Class and Description |
|---|---|
class |
JdbcConvention
Calling convention for relational operations that occur in a JDBC
database.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BindableConvention
Calling convention that returns results as an
Enumerable of object arrays. |
class |
InterpretableConvention
Calling convention that returns results as an
Enumerable of object arrays. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
InterpretableConvention.canConvertConvention(Convention toConvention) |
boolean |
BindableConvention.canConvertConvention(Convention toConvention) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Convention.Impl
Default implementation.
|
| Modifier and Type | Field and Description |
|---|---|
static Convention |
Convention.NONE
Convention that for a relational expression that does not support any
convention.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) DirectedGraph<Convention,DefaultEdge> |
ConventionTraitDef.ConversionData.conversionGraph |
(package private) com.google.common.collect.Multimap<Pair<Convention,Convention>,ConverterRule> |
ConventionTraitDef.ConversionData.mapArcToConverterRule
For a given source/target convention, there may be several possible
conversion rules.
|
(package private) com.google.common.collect.Multimap<Pair<Convention,Convention>,ConverterRule> |
ConventionTraitDef.ConversionData.mapArcToConverterRule
For a given source/target convention, there may be several possible
conversion rules.
|
private Graphs.FrozenGraph<Convention,DefaultEdge> |
ConventionTraitDef.ConversionData.pathMap |
| Modifier and Type | Method and Description |
|---|---|
Convention |
ConventionTraitDef.getDefault() |
Convention |
RelOptRule.getOutConvention()
Returns the convention of the result of firing this rule, null if
not known.
|
| Modifier and Type | Method and Description |
|---|---|
private Graphs.FrozenGraph<Convention,DefaultEdge> |
ConventionTraitDef.ConversionData.getPathMap() |
List<List<Convention>> |
ConventionTraitDef.ConversionData.getPaths(Convention fromConvention,
Convention toConvention) |
List<Convention> |
ConventionTraitDef.ConversionData.getShortestPath(Convention fromConvention,
Convention toConvention) |
Class<Convention> |
ConventionTraitDef.getTraitClass() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConventionTraitDef.canConvert(RelOptPlanner planner,
Convention fromConvention,
Convention toConvention) |
boolean |
Convention.canConvertConvention(Convention toConvention)
Returns whether we should convert from this convention to
toConvention. |
boolean |
Convention.Impl.canConvertConvention(Convention toConvention) |
private RelNode |
ConventionTraitDef.changeConvention(RelNode rel,
Convention source,
Convention target,
com.google.common.collect.Multimap<Pair<Convention,Convention>,ConverterRule> mapArcToConverterRule)
Tries to convert a relational expression to the target convention of an
arc.
|
RelNode |
ConventionTraitDef.convert(RelOptPlanner planner,
RelNode rel,
Convention toConvention,
boolean allowInfiniteCostConverters) |
List<List<Convention>> |
ConventionTraitDef.ConversionData.getPaths(Convention fromConvention,
Convention toConvention) |
List<Convention> |
ConventionTraitDef.ConversionData.getShortestPath(Convention fromConvention,
Convention toConvention) |
| Modifier and Type | Method and Description |
|---|---|
private RelNode |
ConventionTraitDef.changeConvention(RelNode rel,
Convention source,
Convention target,
com.google.common.collect.Multimap<Pair<Convention,Convention>,ConverterRule> mapArcToConverterRule)
Tries to convert a relational expression to the target convention of an
arc.
|
private RelNode |
ConventionTraitDef.changeConvention(RelNode rel,
Convention source,
Convention target,
com.google.common.collect.Multimap<Pair<Convention,Convention>,ConverterRule> mapArcToConverterRule)
Tries to convert a relational expression to the target convention of an
arc.
|
| Modifier and Type | Field and Description |
|---|---|
protected Convention |
Prepare.resultConvention
Convention via which results should be returned by execution.
|
| Constructor and Description |
|---|
CalcitePreparingStmt(CalcitePrepareImpl prepare,
CalcitePrepare.Context context,
Prepare.CatalogReader catalogReader,
RelDataTypeFactory typeFactory,
CalciteSchema schema,
EnumerableRel.Prefer prefer,
RelOptPlanner planner,
Convention resultConvention,
SqlRexConvertletTable convertletTable) |
Prepare(CalcitePrepare.Context context,
Prepare.CatalogReader catalogReader,
Convention resultConvention) |
| Modifier and Type | Method and Description |
|---|---|
Convention |
AbstractRelNode.getConvention() |
Convention |
RelNode.getConvention()
Return the CallingConvention trait from this RelNode's
trait set. |
| Modifier and Type | Method and Description |
|---|---|
Convention |
TraitMatchingRule.getOutConvention() |
Convention |
ConverterRule.getOutConvention() |
| Modifier and Type | Method and Description |
|---|---|
Convention |
ReduceDecimalsRule.getOutConvention() |
Convention |
CoerceInputsRule.getOutConvention() |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.