| 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 |
Defines relational expressions.
|
| org.apache.calcite.rel.convert |
Defines relational expressions and rules for converting between calling
conventions.
|
| 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.satisfies(RelTrait trait) |
| 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.satisfies(RelTrait trait) |
boolean |
BindableConvention.satisfies(RelTrait trait) |
| Modifier and Type | Class and Description |
|---|---|
class |
RelTraitDef<T extends RelTrait>
RelTraitDef represents a class of
RelTraits. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Convention
Calling convention trait.
|
interface |
RelMultipleTrait
Trait for which a given relational expression can have multiple values.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Convention.Impl
Default implementation.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends RelTrait> |
RelTraitSet.canonize(T trait)
Converts a trait to canonical form.
|
<T extends RelTrait> |
RelTraitSet.getTrait(RelTraitDef<T> traitDef)
Retrieves a RelTrait of the given type from the set.
|
<T extends RelTrait> |
RelTraitSet.isEnabled(RelTraitDef<T> traitDef)
Returns whether a given kind of trait is enabled.
|
<T extends RelTrait> |
RelTraitSet.replaceIf(RelTraitDef<T> def,
com.google.common.base.Supplier<T> traitSupplier)
If a given trait is enabled, replaces it by calling the given function.
|
| Modifier and Type | Method and Description |
|---|---|
RelTrait |
RelTraitSet.get(int index) |
RelTrait |
RelOptRule.getOutTrait()
Returns the trait which will be modified as a result of firing this rule,
or null if the rule is not a converter rule.
|
RelTrait |
RelTraitSet.getTrait(int index)
Retrieves a RelTrait from the set.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<RelTrait> |
RelTraitSet.difference(RelTraitSet traitSet)
Returns a list of traits that are in
traitSet but not in this
RelTraitSet. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends RelNode> |
RelOptUtil.addTrait(T rel,
RelTrait trait) |
boolean |
RelTraitSet.comprises(RelTrait... relTraits)
Returns whether this trait set comprises precisely the list of given
traits.
|
boolean |
RelTraitSet.contains(RelTrait trait)
Returns whether this trait set contains a given trait.
|
boolean |
RelTraitSet.containsIfApplicable(RelTrait trait)
Returns whether this trait set contains the given trait, or whether the
trait is not present because its
RelTraitDef is not enabled. |
static RelNode |
RelOptRule.convert(RelNode rel,
RelTrait toTrait)
Converts one trait of a relational expression, if it does not
already have that trait.
|
static List<RelNode> |
RelOptRule.convertList(List<RelNode> rels,
RelTrait trait)
Converts a list of relational expressions.
|
static <R extends RelNode> |
RelOptRule.operand(Class<R> clazz,
RelTrait trait,
com.google.common.base.Predicate<? super R> predicate,
RelOptRuleOperandChildren operandList)
Creates an operand that matches a relational expression that has a
particular trait and predicate.
|
static <R extends RelNode> |
RelOptRule.operand(Class<R> clazz,
RelTrait trait,
com.google.common.base.Predicate<? super R> predicate,
RelOptRuleOperand first,
RelOptRuleOperand... rest)
Creates an operand that matches a relational expression that has no
children.
|
static <R extends RelNode> |
RelOptRule.operand(Class<R> clazz,
RelTrait trait,
RelOptRuleOperandChildren operandList)
Creates an operand that matches a relational expression that has no
children.
|
RelTraitSet |
RelTraitSet.plus(RelTrait trait)
Returns this trait set with a given trait added or overridden.
|
RelTraitSet |
RelTraitSet.plusAll(RelTrait[] traits) |
RelTraitSet |
RelTraitSet.replace(int index,
RelTrait trait)
Replaces an existing RelTrait in the set.
|
RelTraitSet |
RelTraitSet.replace(RelTrait trait)
Returns a trait set consisting of the current set plus a new trait.
|
boolean |
Convention.Impl.satisfies(RelTrait trait) |
boolean |
RelTrait.satisfies(RelTrait trait)
Returns whether this trait satisfies a given trait.
|
RelTraitSet |
RelOptCluster.traitSetOf(RelTrait... traits)
Deprecated.
For
traitSetOf(t1, t2),
use RelOptCluster.traitSet()().replace(t1).replace(t2). |
RelTraitSet |
RelOptCluster.traitSetOf(RelTrait trait) |
| Constructor and Description |
|---|
RelOptRuleOperand(Class<R> clazz,
RelTrait trait,
com.google.common.base.Predicate<? super R> predicate,
RelOptRuleOperandChildren children)
Creates an operand.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RelCollation
Description of the physical ordering of a relational expression.
|
interface |
RelDistribution
Description of the physical distribution of a relational expression.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RelCollationImpl
Simple implementation of
RelCollation. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RelCollationImpl.satisfies(RelTrait trait) |
| Modifier and Type | Method and Description |
|---|---|
RelTrait |
ConverterRule.getInTrait() |
RelTrait |
ConverterRule.getOutTrait() |
| Constructor and Description |
|---|
ConverterRule(Class<? extends RelNode> clazz,
RelTrait in,
RelTrait out,
String description)
Creates a
ConverterRule. |
ConverterRule(Class<R> clazz,
com.google.common.base.Predicate<? super R> predicate,
RelTrait in,
RelTrait out,
String description)
Creates a
ConverterRule with a predicate. |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.