Package org.apache.calcite.adapter.enumerable
package org.apache.calcite.adapter.enumerable
Query optimizer rules for Java calling convention.
-
ClassDescriptionInformation for a call to
AggImplementor.implementAdd(AggContext, AggAddContext).Information on the aggregate calculation context.Implements an aggregate function by generating expressions to initialize, add to, and get a result from, an accumulator.Represents internal state when implementing aggregate functions.AggregateLambdaFactory<TSource,TOrigAccumulate, TAccumulate, TResult, TKey> Generates lambda functions used inEnumerableAggregate.Information for a call toAggImplementor.implementReset(AggContext, AggResetContext).Information for a call toAggImplementor.implementResult(AggContext, AggResultContext)BasicAggregateLambdaFactory<TSource,TAccumulate, TResult, TKey> Implementation ofAggregateLambdaFactorythat applies a sequence of accumulator adders to input source.BasicLazyAccumulator<TAccumulate,TSource> Performs accumulation against a pre-collected list of input sources, used withLazyAggregateLambdaFactory.Implements a call via given translator.Implementation ofAggregateinenumerable calling convention.Base class for EnumerableAggregate and EnumerableSortedAggregate.Implementation ofLogicalAsofJoininenumerable calling convention.Implementation of batch nested loop join inenumerable calling convention.Rule to convert aLogicalJointo anEnumerableBatchNestedLoopJoin.Rule configuration.Relational expression that converts an enumerable input to interpretable calling convention.Rule that converts any enumerable relational expression to bindable.Implementation ofCalcinenumerable calling convention.Implementation ofCollectinenumerable calling convention.Family of calling conventions that return results as anEnumerable.Implementation ofCorrelateinenumerable calling convention.Implementation of nested loops over enumerable inputs.Implementation ofFilterinenumerable calling convention.Variant ofFilterToCalcRuleforenumerable calling convention.Rule configuration.Implementation ofJoininenumerable calling convention.Relational expression that converts an enumerable input to interpretable calling convention.Relational expression that executes its children using an interpreter.Implementation ofIntersectinenumerable calling convention.Relational expression that applies a limit and/or offset to its input.Rule to convert anSortthat hasoffsetorfetchset to anEnumerableLimiton top of a "pure"Sortthat has no offset or fetch.Rule configuration.Implementation ofSortinenumerable calling convention.Rule configuration.Implementation ofMatchinenumerable calling convention.Rule to convert aLogicalMatchto anEnumerableMatch.Implementation ofJoininenumerable calling conventionusing a merge algorithm.Implementation ofUnioninenumerable calling convention.Rule configuration.Implementation ofMinusinenumerable calling convention.Implementation ofJoininenumerable calling conventionthat allows conditions that are not just=(equals).Implementation ofProjectinenumerable calling convention.Variant ofProjectToCalcRuleforenumerable calling convention.Rule configuration.A relational expression of one of theEnumerableConventioncalling conventions.Preferred physical type.Result of implementing an enumerable relational expression by generating Java code.Contains factory interface and default implementation for creating various rel nodes.Subclass ofRelImplementorfor relational operators ofEnumerableConventioncalling convention.Implementation ofRepeatUnioninenumerable calling convention.Rule to convert aLogicalRepeatUnioninto anEnumerableRepeatUnion.Rules and relational operators for theenumerable calling convention.Implementation ofSortinenumerable calling convention.Sort based physical implementation ofAggregateinenumerable calling convention.Implementation ofTableFunctionScaninenumerable calling convention.Rule to convert aLogicalTableFunctionScanto anEnumerableTableFunctionScan.Implementation ofTableModifyinenumerable calling convention.Planner rule that converts aLogicalTableModifyto anEnumerableTableModify.Implementation ofTableScaninenumerable calling convention.Planner rule that converts aLogicalTableScanto anEnumerableTableScan.Implementation ofTableSpoolinenumerable calling conventionthat writes into aModifiableTable(which must exist in the current schema).Rule to convert aLogicalTableSpoolinto anEnumerableTableSpool.Implementation ofUncollectinenumerable calling convention.Implementation ofUnioninenumerable calling convention.Implementation ofValuesinenumerable calling convention.Planner rule that converts aLogicalValuesto anEnumerableValues.Implementation ofWindowinenumerable calling convention.Utilities for generating programs in the Enumerable (functional) style.Abstract base class for implementations ofRelImplementorthat generate java code.How a row is represented as a Java value.LazyAggregateLambdaFactory<TSource,TKey, TOrigAccumulate, TResult> Generate aggregate lambdas that preserve the input source before calling each aggregate adder, this implementation is generally used when we need to sort the input before performing aggregation.LazyAggregateLambdaFactory.LazyAccumulator<TOrigAccumulate,TSource> Accumulate on the cached input sources.Cache the input sources.Implementor of Functions used in MATCH_RECOGNIZE Context.Class with static Helpers for MATCH_RECOGNIZE.Allows to build nested code blocks with tracking of current context.Allows to build nested code blocks with tracking of current context.Simplified version ofCallImplementorthat does not know about null semantics.Describes when a function/operator will return null.Physical type of a row.Implementation ofPhysType.Implementation ofNotNullImplementorthat calls a givenMethod.Contains implementations of Rex operators as Java code.Implementor for theLAGwindowed aggregate function.Implementor for theLEADwindowed aggregate function.Strategy what an operator should return if one of its arguments is null.Null-safe implementor ofRexCalls.Implementor for user-defined aggregate functions.TranslatesREX expressionstolinq4j expressions.Translates a field of an input to an expression.Implementation ofRexToLixTranslator.InputGetterthat callsPhysType.fieldReference(org.apache.calcite.linq4j.tree.Expression, int).Result of translating aRexNode.SourceSorter<TAccumulate,TSource, TSortKey> Helper that combines the sorting process and accumulating process against the aggregate execution, used withLazyAggregateLambdaFactory.The base implementation of strict aggregate function.The base implementation of strict window aggregate function.Implements a table-valued function call.Information for a call toAggImplementor.implementAdd(AggContext, AggAddContext).Marker interface to allowAggImplementorto tell if it is used in regular or windowed context.Provides information on the current window.Provides information on the current window when computing the result of the aggregation.Implements a windowed aggregate function by generating expressions to initialize, add to, and get a result from, an accumulator.Allows to access rows in window partition relative to first/last and current row.Information for a call toAggImplementor.implementReset(AggContext, AggResetContext).Information for a call toAggImplementor.implementResult(AggContext, AggResultContext).