Uses of Interface
org.apache.calcite.plan.RelTrait
-
Packages that use RelTrait Package Description org.apache.calcite.adapter.elasticsearch Query provider based on an Elasticsearch2 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.adapter.mongodb Query provider based on a MongoDB database.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.plan.hep Provides a heuristic planner implementation for the interfaces inorg.apache.calcite.plan
.org.apache.calcite.rel Defines relational expressions.org.apache.calcite.rel.convert Defines relational expressions and rules for converting between calling conventions. -
-
Uses of RelTrait in org.apache.calcite.adapter.elasticsearch
Constructors in org.apache.calcite.adapter.elasticsearch with parameters of type RelTrait Constructor Description ElasticsearchConverterRule(java.lang.Class<? extends RelNode> clazz, RelTrait in, Convention out, java.lang.String description)
-
Uses of RelTrait in org.apache.calcite.adapter.enumerable
Classes in org.apache.calcite.adapter.enumerable that implement RelTrait Modifier and Type Class Description class
EnumerableConvention
Family of calling conventions that return results as anEnumerable
.Methods in org.apache.calcite.adapter.enumerable with parameters of type RelTrait Modifier and Type Method Description boolean
EnumerableConvention. satisfies(RelTrait trait)
-
Uses of RelTrait in org.apache.calcite.adapter.jdbc
Classes in org.apache.calcite.adapter.jdbc that implement RelTrait Modifier and Type Class Description class
JdbcConvention
Calling convention for relational operations that occur in a JDBC database.Constructors in org.apache.calcite.adapter.jdbc with parameters of type RelTrait Constructor Description JdbcConverterRule(java.lang.Class<? extends RelNode> clazz, RelTrait in, JdbcConvention out, java.lang.String description)
Deprecated.JdbcConverterRule(java.lang.Class<R> clazz, com.google.common.base.Predicate<? super R> predicate, RelTrait in, JdbcConvention out, RelBuilderFactory relBuilderFactory, java.lang.String description)
Deprecated.JdbcConverterRule(java.lang.Class<R> clazz, java.util.function.Predicate<? super R> predicate, RelTrait in, JdbcConvention out, RelBuilderFactory relBuilderFactory, java.lang.String description)
-
Uses of RelTrait in org.apache.calcite.adapter.mongodb
Constructors in org.apache.calcite.adapter.mongodb with parameters of type RelTrait Constructor Description MongoConverterRule(java.lang.Class<? extends RelNode> clazz, RelTrait in, Convention out, java.lang.String description)
-
Uses of RelTrait in org.apache.calcite.interpreter
Classes in org.apache.calcite.interpreter that implement RelTrait Modifier and Type Class Description class
BindableConvention
Calling convention that returns results as anEnumerable
of object arrays.class
InterpretableConvention
Calling convention that returns results as anEnumerable
of object arrays.Methods in org.apache.calcite.interpreter with parameters of type RelTrait Modifier and Type Method Description boolean
BindableConvention. satisfies(RelTrait trait)
boolean
InterpretableConvention. satisfies(RelTrait trait)
-
Uses of RelTrait in org.apache.calcite.plan
Classes in org.apache.calcite.plan with type parameters of type RelTrait Modifier and Type Class Description class
RelTraitDef<T extends RelTrait>
RelTraitDef represents a class ofRelTrait
s.Subinterfaces of RelTrait in org.apache.calcite.plan Modifier and Type Interface Description interface
Convention
Calling convention trait.interface
RelMultipleTrait
Trait for which a given relational expression can have multiple values.Classes in org.apache.calcite.plan that implement RelTrait Modifier and Type Class Description static class
Convention.Impl
Default implementation.(package private) class
RelCompositeTrait<T extends RelMultipleTrait>
A trait that consists of a list of traits, all of the same type.Fields in org.apache.calcite.plan declared as RelTrait Modifier and Type Field Description private static RelTrait[]
RelTraitSet. EMPTY_TRAITS
private RelTrait
RelOptRuleOperand. trait
private RelTrait[]
RelTraitSet. traits
Fields in org.apache.calcite.plan with type parameters of type RelTrait Modifier and Type Field Description (package private) java.util.Map<java.util.List<RelTrait>,RelTraitSet>
RelTraitSet.Cache. map
private java.util.Set<RelTrait>
AbstractRelOptPlanner. traits
Methods in org.apache.calcite.plan with type parameters of type RelTrait Modifier and Type Method Description <T extends RelTrait>
TRelTraitSet. canonize(T trait)
Converts a trait to canonical form.<T extends RelTrait>
TRelTraitSet. getTrait(RelTraitDef<T> traitDef)
Retrieves a RelTrait of the given type from the set.<T extends RelTrait>
booleanRelTraitSet. isEnabled(RelTraitDef<T> traitDef)
Returns whether a given kind of trait is enabled.<T extends RelTrait>
RelTraitSetRelTraitSet. replaceIf(RelTraitDef<T> def, java.util.function.Supplier<T> traitSupplier)
If a given trait is enabled, replaces it by calling the given function.Methods in org.apache.calcite.plan that return RelTrait Modifier and Type Method 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.(package private) static <T extends RelMultipleTrait>
RelTraitRelCompositeTrait. of(RelTraitDef def, java.util.List<T> traitList)
Creates a RelCompositeTrait.Methods in org.apache.calcite.plan that return types with arguments of type RelTrait Modifier and Type Method Description com.google.common.collect.ImmutableList<RelTrait>
RelTraitSet. difference(RelTraitSet traitSet)
Returns a list of traits that are intraitSet
but not in this RelTraitSet.Methods in org.apache.calcite.plan with parameters of type RelTrait Modifier and Type Method Description static <T extends RelNode>
TRelOptUtil. 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 itsRelTraitDef
is not enabled.private static <T> boolean
RelTraitSet. containsShallow(T[] ts, RelTrait seek)
Returns whether an element occurs within an array.static RelNode
RelOptRule. convert(RelNode rel, RelTrait toTrait)
Converts one trait of a relational expression, if it does not already have that trait.protected static java.util.List<RelNode>
RelOptRule. convertList(java.util.List<RelNode> rels, RelTrait trait)
Converts a list of relational expressions.protected static <R extends RelNode>
RelOptRule.ConverterRelOptRuleOperandRelOptRule. convertOperand(java.lang.Class<R> clazz, com.google.common.base.Predicate<? super R> predicate, RelTrait trait)
Deprecated.protected static <R extends RelNode>
RelOptRule.ConverterRelOptRuleOperandRelOptRule. convertOperand(java.lang.Class<R> clazz, java.util.function.Predicate<? super R> predicate, RelTrait trait)
Creates an operand for a converter rule.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelTrait trait, com.google.common.base.Predicate<? super R> predicate, RelOptRuleOperandChildren operandList)
static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelTrait trait, com.google.common.base.Predicate<? super R> predicate, RelOptRuleOperand first, RelOptRuleOperand... rest)
Deprecated.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelTrait trait, RelOptRuleOperandChildren operandList)
Creates an operand that matches a relational expression that has no children.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operandJ(java.lang.Class<R> clazz, RelTrait trait, java.util.function.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>
RelOptRuleOperandRelOptRule. operandJ(java.lang.Class<R> clazz, RelTrait trait, java.util.function.Predicate<? super R> predicate, RelOptRuleOperand first, RelOptRuleOperand... rest)
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
RelCompositeTrait. satisfies(RelTrait trait)
boolean
RelTrait. satisfies(RelTrait trait)
Returns whether this trait satisfies a given trait.RelTraitSet
RelOptCluster. traitSetOf(RelTrait trait)
RelTraitSet
RelOptCluster. traitSetOf(RelTrait... traits)
Deprecated.FortraitSetOf(t1, t2)
, useRelOptCluster.traitSet()
().replace(t1).replace(t2).Method parameters in org.apache.calcite.plan with type arguments of type RelTrait Modifier and Type Method Description (package private) RelTraitSet
RelTraitSet.Cache. getOrAdd(java.util.List<RelTrait> traits)
Constructors in org.apache.calcite.plan with parameters of type RelTrait Constructor Description ConverterRelOptRuleOperand(java.lang.Class<R> clazz, RelTrait in, java.util.function.Predicate<? super R> predicate)
RelOptRuleOperand(java.lang.Class<R> clazz, RelTrait trait, java.util.function.Predicate<? super R> predicate, RelOptRuleOperandChildPolicy childPolicy, com.google.common.collect.ImmutableList<RelOptRuleOperand> children)
Private constructor.RelOptRuleOperand(java.lang.Class<R> clazz, RelTrait trait, java.util.function.Predicate<? super R> predicate, RelOptRuleOperandChildren children)
Deprecated.UseRelOptRule.operand(Class, RelOptRuleOperandChildren)
or one of its overloaded methods.RelTraitSet(RelTraitSet.Cache cache, RelTrait[] traits)
Constructs a RelTraitSet with the given set of RelTraits. -
Uses of RelTrait in org.apache.calcite.plan.hep
Methods in org.apache.calcite.plan.hep with parameters of type RelTrait Modifier and Type Method Description private HepRelVertex
HepPlanner. applyTransformationResults(HepRelVertex vertex, HepRuleCall call, RelTrait parentTrait)
-
Uses of RelTrait in org.apache.calcite.rel
Subinterfaces of RelTrait in org.apache.calcite.rel Modifier and Type Interface Description interface
RelCollation
Description of the physical ordering of a relational expression.interface
RelDistribution
Description of the physical distribution of a relational expression.Classes in org.apache.calcite.rel that implement RelTrait Modifier and Type Class Description class
RelCollationImpl
Simple implementation ofRelCollation
.private static class
RelDistributions.RelDistributionImpl
Implementation ofRelDistribution
.Methods in org.apache.calcite.rel with parameters of type RelTrait Modifier and Type Method Description boolean
RelCollationImpl. satisfies(RelTrait trait)
boolean
RelDistributions.RelDistributionImpl. satisfies(RelTrait trait)
-
Uses of RelTrait in org.apache.calcite.rel.convert
Fields in org.apache.calcite.rel.convert declared as RelTrait Modifier and Type Field Description private RelTrait
ConverterRule. inTrait
private RelTrait
ConverterRule. outTrait
Methods in org.apache.calcite.rel.convert that return RelTrait Modifier and Type Method Description RelTrait
ConverterRule. getInTrait()
RelTrait
ConverterRule. getOutTrait()
Constructors in org.apache.calcite.rel.convert with parameters of type RelTrait Constructor Description ConverterRule(java.lang.Class<? extends RelNode> clazz, RelTrait in, RelTrait out, java.lang.String description)
Creates aConverterRule
.ConverterRule(java.lang.Class<R> clazz, com.google.common.base.Predicate<? super R> predicate, RelTrait in, RelTrait out, java.lang.String description)
Deprecated.ConverterRule(java.lang.Class<R> clazz, com.google.common.base.Predicate<? super R> predicate, RelTrait in, RelTrait out, RelBuilderFactory relBuilderFactory, java.lang.String description)
Deprecated.ConverterRule(java.lang.Class<R> clazz, java.util.function.Predicate<? super R> predicate, RelTrait in, RelTrait out, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates aConverterRule
with a predicate.
-