Uses of Class
org.apache.calcite.plan.RelTraitDef
-
Packages that use RelTraitDef Package Description org.apache.calcite.adapter.enumerable Query optimizer rules for Java calling convention.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.volcano Optimizes 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.tools Provides utility classes. -
-
Uses of RelTraitDef in org.apache.calcite.adapter.enumerable
Methods in org.apache.calcite.adapter.enumerable that return RelTraitDef Modifier and Type Method Description RelTraitDef
EnumerableConvention. getTraitDef()
-
Uses of RelTraitDef in org.apache.calcite.interpreter
Methods in org.apache.calcite.interpreter that return RelTraitDef Modifier and Type Method Description RelTraitDef
BindableConvention. getTraitDef()
RelTraitDef
InterpretableConvention. getTraitDef()
-
Uses of RelTraitDef in org.apache.calcite.plan
Subclasses of RelTraitDef in org.apache.calcite.plan Modifier and Type Class Description class
ConventionTraitDef
Definition of the the convention trait.Fields in org.apache.calcite.plan declared as RelTraitDef Modifier and Type Field Description private RelTraitDef
RelCompositeTrait. traitDef
Methods in org.apache.calcite.plan that return RelTraitDef Modifier and Type Method Description RelTraitDef
Convention.Impl. getTraitDef()
RelTraitDef
RelCompositeTrait. getTraitDef()
RelTraitDef
RelTrait. getTraitDef()
Returns the RelTraitDef that defines this RelTrait.Methods in org.apache.calcite.plan that return types with arguments of type RelTraitDef Modifier and Type Method Description java.util.List<RelTraitDef>
AbstractRelOptPlanner. getRelTraitDefs()
java.util.List<RelTraitDef>
RelOptPlanner. getRelTraitDefs()
Returns the list of active trait types.Methods in org.apache.calcite.plan with parameters of type RelTraitDef Modifier and Type Method Description boolean
AbstractRelOptPlanner. addRelTraitDef(RelTraitDef relTraitDef)
boolean
RelOptPlanner. addRelTraitDef(RelTraitDef relTraitDef)
Registers a rel trait definition.private int
RelTraitSet. findIndex(RelTraitDef traitDef)
Finds the index of a trait of a given type in this set.<T extends RelTrait>
TRelTraitSet. getTrait(RelTraitDef<T> traitDef)
Retrieves a RelTrait of the given type from the set.<T extends RelMultipleTrait>
java.util.List<T>RelTraitSet. getTraits(RelTraitDef<T> traitDef)
Retrieves a list of traits of the given type from the set.<T extends RelTrait>
booleanRelTraitSet. isEnabled(RelTraitDef<T> traitDef)
Returns whether a given kind of trait is enabled.(package private) static <T extends RelMultipleTrait>
RelTraitRelCompositeTrait. of(RelTraitDef def, java.util.List<T> traitList)
Creates a RelCompositeTrait.<T extends RelMultipleTrait>
RelTraitSetRelTraitSet. replace(RelTraitDef<T> def, java.util.List<T> traits)
Replaces the trait(s) of a given type with a list of traits of the same type.<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.<T extends RelMultipleTrait>
RelTraitSetRelTraitSet. replaceIfs(RelTraitDef<T> def, java.util.function.Supplier<java.util.List<T>> traitSupplier)
If a given multiple trait is enabled, replaces it by calling the given function.Constructors in org.apache.calcite.plan with parameters of type RelTraitDef Constructor Description RelCompositeTrait(RelTraitDef traitDef, T[] traits)
Creates a RelCompositeTrait. -
Uses of RelTraitDef in org.apache.calcite.plan.volcano
Fields in org.apache.calcite.plan.volcano with type parameters of type RelTraitDef Modifier and Type Field Description private java.util.List<RelTraitDef>
VolcanoPlanner. traitDefs
Holds the currently registered RelTraitDefs.Methods in org.apache.calcite.plan.volcano that return types with arguments of type RelTraitDef Modifier and Type Method Description java.util.List<RelTraitDef>
VolcanoPlanner. getRelTraitDefs()
Methods in org.apache.calcite.plan.volcano with parameters of type RelTraitDef Modifier and Type Method Description boolean
VolcanoPlanner. addRelTraitDef(RelTraitDef relTraitDef)
Method parameters in org.apache.calcite.plan.volcano with type arguments of type RelTraitDef Modifier and Type Method Description private RelNode
VolcanoPlanner. completeConversion(RelNode rel, boolean allowInfiniteCostConverters, RelTraitSet toTraits, Expressions.FluentList<RelTraitDef> usedTraits)
Converts traits using well-founded induction.Constructors in org.apache.calcite.plan.volcano with parameters of type RelTraitDef Constructor Description AbstractConverter(RelOptCluster cluster, RelSubset rel, RelTraitDef traitDef, RelTraitSet traits)
-
Uses of RelTraitDef in org.apache.calcite.prepare
Fields in org.apache.calcite.prepare with type parameters of type RelTraitDef Modifier and Type Field Description private com.google.common.collect.ImmutableList<RelTraitDef>
PlannerImpl. traitDefs
Holds the trait definitions to be registered with planner. -
Uses of RelTraitDef in org.apache.calcite.rel
Subclasses of RelTraitDef in org.apache.calcite.rel Modifier and Type Class Description class
RelCollationTraitDef
Definition of the ordering trait.class
RelDistributionTraitDef
Definition of the distribution trait.Methods in org.apache.calcite.rel that return RelTraitDef Modifier and Type Method Description RelTraitDef
RelCollationImpl. getTraitDef()
-
Uses of RelTraitDef in org.apache.calcite.rel.convert
Fields in org.apache.calcite.rel.convert declared as RelTraitDef Modifier and Type Field Description protected RelTraitDef
ConverterImpl. traitDef
Methods in org.apache.calcite.rel.convert that return RelTraitDef Modifier and Type Method Description RelTraitDef
Converter. getTraitDef()
Returns the definition of trait which this converter works on.RelTraitDef
ConverterImpl. getTraitDef()
RelTraitDef
ConverterRule. getTraitDef()
Constructors in org.apache.calcite.rel.convert with parameters of type RelTraitDef Constructor Description ConverterImpl(RelOptCluster cluster, RelTraitDef traitDef, RelTraitSet traits, RelNode child)
Creates a ConverterImpl. -
Uses of RelTraitDef in org.apache.calcite.tools
Fields in org.apache.calcite.tools with type parameters of type RelTraitDef Modifier and Type Field Description private com.google.common.collect.ImmutableList<RelTraitDef>
Frameworks.ConfigBuilder. traitDefs
private com.google.common.collect.ImmutableList<RelTraitDef>
Frameworks.StdFrameworkConfig. traitDefs
Methods in org.apache.calcite.tools that return types with arguments of type RelTraitDef Modifier and Type Method Description com.google.common.collect.ImmutableList<RelTraitDef>
FrameworkConfig. getTraitDefs()
Returns a list of trait definitions.com.google.common.collect.ImmutableList<RelTraitDef>
Frameworks.StdFrameworkConfig. getTraitDefs()
Methods in org.apache.calcite.tools with parameters of type RelTraitDef Modifier and Type Method Description Frameworks.ConfigBuilder
Frameworks.ConfigBuilder. traitDefs(RelTraitDef... traitDefs)
Method parameters in org.apache.calcite.tools with type arguments of type RelTraitDef Modifier and Type Method Description Frameworks.ConfigBuilder
Frameworks.ConfigBuilder. traitDefs(java.util.List<RelTraitDef> traitDefs)
-