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.materialize |
Management of materialized query results.
|
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.logical |
Defines logical relational expressions.
|
org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
org.apache.calcite.rel.mutable |
Defines mutable relational expressions.
|
org.apache.calcite.rel.rel2sql |
Translates a relational expression to SQL parse tree.
|
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.sql2rel |
Translates a SQL parse tree to relational expression.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumerableTableScan
Implementation of
TableScan in
enumerable calling convention . |
Modifier and Type | Class and Description |
---|---|
class |
JdbcTableScan
Relational expression representing a scan of a table in a JDBC data source.
|
Modifier and Type | Class and Description |
---|---|
static class |
Bindables.BindableTableScan
Scan of a table that implements
ScannableTable and therefore can
be converted into an Enumerable . |
Modifier and Type | Method and Description |
---|---|
(package private) static TableScanNode |
TableScanNode.create(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects)
Creates a TableScanNode.
|
private static TableScanNode |
TableScanNode.createEnumerable(Compiler compiler,
TableScan rel,
Enumerable<Row> enumerable,
ImmutableIntList acceptedProjects,
java.util.List<RexNode> rejectedFilters,
ImmutableIntList rejectedProjects) |
private static TableScanNode |
TableScanNode.createFilterable(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects,
FilterableTable filterableTable) |
private static TableScanNode |
TableScanNode.createProjectableFilterable(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects,
ProjectableFilterableTable pfTable) |
private static TableScanNode |
TableScanNode.createQueryable(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects,
QueryableTable queryableTable) |
private static TableScanNode |
TableScanNode.createScannable(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects,
ScannableTable scannableTable) |
void |
Nodes.CoreCompiler.visit(TableScan scan) |
Constructor and Description |
---|
TableScanNode(Compiler compiler,
TableScan rel,
Enumerable<Row> enumerable) |
Modifier and Type | Method and Description |
---|---|
(package private) LatticeSuggester.TableRef |
LatticeSuggester.Query.tableRef(TableScan scan) |
Modifier and Type | Field and Description |
---|---|
(package private) TableScan |
RelOptMaterialization.ProjectFilterTable.scan |
Constructor and Description |
---|
ProjectFilterTable(RexNode condition,
Mappings.TargetMapping mapping,
TableScan scan) |
Modifier and Type | Method and Description |
---|---|
RelNode |
CalciteMaterializer.RelNullShuttle.visit(TableScan scan) |
Modifier and Type | Method and Description |
---|---|
RelNode |
RelShuttle.visit(TableScan scan) |
RelNode |
RelShuttleImpl.visit(TableScan scan) |
RelNode |
RelHomogeneousShuttle.visit(TableScan scan) |
Modifier and Type | Class and Description |
---|---|
class |
LogicalTableScan
A
LogicalTableScan reads all the rows from a
RelOptTable . |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
RelMdColumnUniqueness.areColumnsUnique(TableScan rel,
RelMetadataQuery mq,
ImmutableBitSet columns,
boolean ignoreNulls) |
java.util.List<java.lang.Double> |
RelMdSize.averageColumnSizes(TableScan rel,
RelMetadataQuery mq) |
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(TableScan scan,
RelMetadataQuery mq) |
RelDistribution |
RelMdDistribution.distribution(TableScan scan,
RelMetadataQuery mq) |
RelOptPredicateList |
RelMdAllPredicates.getAllPredicates(TableScan table,
RelMetadataQuery mq)
Extract predicates for a table scan.
|
java.util.Set<RexNode> |
RelMdExpressionLineage.getExpressionLineage(TableScan rel,
RelMetadataQuery mq,
RexNode outputExpression)
Expression lineage from
TableScan . |
java.lang.Double |
RelMdMaxRowCount.getMaxRowCount(TableScan rel,
RelMetadataQuery mq) |
java.lang.Double |
RelMdMinRowCount.getMinRowCount(TableScan rel,
RelMetadataQuery mq) |
com.google.common.collect.Multimap<java.lang.Class<? extends RelNode>,RelNode> |
RelMdNodeTypes.getNodeTypes(TableScan rel,
RelMetadataQuery mq) |
RelOptPredicateList |
RelMdPredicates.getPredicates(TableScan table,
RelMetadataQuery mq)
Infers predicates for a table scan.
|
java.lang.Double |
RelMdRowCount.getRowCount(TableScan rel,
RelMetadataQuery mq) |
java.util.Set<RexTableInputRef.RelTableRef> |
RelMdTableReferences.getTableReferences(TableScan rel,
RelMetadataQuery mq)
TableScan table reference.
|
java.lang.Boolean |
RelMdParallelism.isPhaseTransition(TableScan rel,
RelMetadataQuery mq) |
Modifier and Type | Method and Description |
---|---|
static MutableScan |
MutableScan.of(TableScan scan)
Creates a MutableScan.
|
Constructor and Description |
---|
MutableScan(TableScan rel) |
Modifier and Type | Method and Description |
---|---|
SqlImplementor.Result |
RelToSqlConverter.visit(TableScan e) |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<TableScan> |
FilterTableScanRule.PREDICATE
Deprecated.
|
static com.google.common.base.Predicate<TableScan> |
ProjectTableScanRule.PREDICATE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MaterializedViewFilterScanRule.apply(RelOptRuleCall call,
Filter filter,
TableScan scan) |
protected void |
FilterTableScanRule.apply(RelOptRuleCall call,
Filter filter,
TableScan scan) |
protected void |
ProjectTableScanRule.apply(RelOptRuleCall call,
Project project,
TableScan scan) |
static boolean |
FilterTableScanRule.test(TableScan scan) |
protected static boolean |
ProjectTableScanRule.test(TableScan scan) |
Modifier and Type | Class and Description |
---|---|
static class |
StarTable.StarTableScan
Relational expression that scans a
StarTable . |
Modifier and Type | Method and Description |
---|---|
void |
RelStructuredTypeFlattener.rewriteRel(TableScan rel) |
RelFieldTrimmer.TrimResult |
RelFieldTrimmer.trimFields(TableScan tableAccessRel,
ImmutableBitSet fieldsUsed,
java.util.Set<RelDataTypeField> extraFields)
|
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.