| 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.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| 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 |
EnumerableJoin
Implementation of
Join in
enumerable calling convention. |
class |
EnumerableMergeJoin
Implementation of
Join in
enumerable calling convention using
a merge algorithm. |
class |
EnumerableSemiJoin
Implementation of
SemiJoin in
enumerable calling convention. |
class |
EnumerableThetaJoin
Implementation of
Join in
enumerable calling convention
that allows conditions that are not just = (equals). |
| Modifier and Type | Class and Description |
|---|---|
static class |
JdbcRules.JdbcJoin
Join operator implemented in JDBC convention.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Bindables.BindableJoin
Implementation of
Join in
bindable calling convention. |
| Modifier and Type | Method and Description |
|---|---|
void |
Nodes.CoreCompiler.visit(Join join) |
| Constructor and Description |
|---|
JoinNode(Interpreter interpreter,
Join rel) |
| Modifier and Type | Method and Description |
|---|---|
static List<RexNode> |
RelOptUtil.createSwappedJoinExprs(RelNode newJoin,
Join origJoin,
boolean origOrder)
Creates projection expressions reflecting the swapping of a join's input.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EquiJoin
Base class for any join whose condition is based on column equality.
|
class |
SemiJoin
Relational expression that joins two relational expressions according to some
condition, but outputs only columns from the left input, and eliminates
duplicates.
|
| Modifier and Type | Method and Description |
|---|---|
Join |
Join.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
abstract Join |
Join.copy(RelTraitSet traitSet,
RexNode conditionExpr,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone)
Creates a copy of this join, overriding condition, system fields and
inputs.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
Join.estimateJoinedRows(Join joinRel,
RexNode condition) |
| Modifier and Type | Class and Description |
|---|---|
class |
LogicalJoin
Sub-class of
Join
not targeted at any particular engine or calling convention. |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
RelMdColumnUniqueness.areColumnsUnique(Join rel,
ImmutableBitSet columns,
boolean ignoreNulls) |
List<Double> |
RelMdSize.averageColumnSizes(Join rel) |
Set<RelColumnOrigin> |
RelMdColumnOrigins.getColumnOrigins(Join rel,
int iOutputColumn) |
Double |
RelMdDistinctRowCount.getDistinctRowCount(Join rel,
ImmutableBitSet groupKey,
RexNode predicate) |
Double |
RelMdPercentageOriginalRows.getPercentageOriginalRows(Join rel) |
Double |
RelMdPopulationSize.getPopulationSize(Join rel,
ImmutableBitSet groupKey) |
RelOptPredicateList |
RelMdPredicates.getPredicates(Join join)
Infers predicates for a
Join. |
Set<ImmutableBitSet> |
RelMdUniqueKeys.getUniqueKeys(Join rel,
boolean ignoreNulls) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FilterJoinRule.Predicate.apply(Join join,
JoinRelType joinType,
RexNode exp) |
static boolean |
LoptOptimizeJoinRule.isRemovableSelfJoin(Join joinRel)
Determines whether a join is a removable self-join.
|
protected void |
FilterJoinRule.perform(RelOptRuleCall call,
Filter filter,
Join join) |
static RelNode |
JoinCommuteRule.swap(Join join)
Returns a relational expression with the inputs switched round.
|
static RelNode |
JoinCommuteRule.swap(Join join,
boolean swapOuterJoins) |
protected void |
FilterJoinRule.validateJoinFilters(List<RexNode> aboveFilters,
List<RexNode> joinFilters,
Join join,
JoinRelType joinType)
Validates that target execution framework can satisfy join filters.
|
| Constructor and Description |
|---|
AggregateJoinTransposeRule(Class<? extends Aggregate> aggregateClass,
RelFactories.AggregateFactory aggregateFactory,
Class<? extends Join> joinClass,
RelFactories.JoinFactory joinFactory)
Creates an AggregateJoinTransposeRule.
|
JoinCommuteRule(Class<? extends Join> clazz,
RelFactories.ProjectFactory projectFactory) |
JoinExtractFilterRule(Class<? extends Join> clazz)
Creates an JoinExtractFilterRule.
|
JoinPushThroughJoinRule(String description,
boolean right,
Class<? extends Join> clazz,
RelFactories.ProjectFactory projectFactory)
Creates a JoinPushThroughJoinRule.
|
JoinPushTransitivePredicatesRule(Class<? extends Join> clazz,
RelFactories.FilterFactory filterFactory) |
JoinToMultiJoinRule(Class<? extends Join> clazz)
Creates a JoinToMultiJoinRule.
|
| Modifier and Type | Method and Description |
|---|---|
RelFieldTrimmer.TrimResult |
RelFieldTrimmer.trimFields(Join join,
ImmutableBitSet fieldsUsed,
Set<RelDataTypeField> extraFields)
Variant of
RelFieldTrimmer.trimFields(RelNode, ImmutableBitSet, Set) for
LogicalJoin. |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.