Package org.apache.calcite.interpreter
@DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class,locations=FIELD) @DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class,locations=PARAMETER) @DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class,locations=RETURN)
package org.apache.calcite.interpreter
Provides an implementation of relational expressions using an interpreter.
The implementation is not efficient compared to generated code, but preparation time is less, and so the total prepare + execute time is competitive for queries over small data sets.
-
ClassDescriptionInterpreter node that implements an
Aggregate.Implementation ofSUMover BigDecimal values as a user-defined aggregate.Implementation ofSUMover DOUBLE values as a user-defined aggregate.Implementation ofSUMover INTEGER values as a user-defined aggregate.Implementation ofSUMover BIGINT values as a user-defined aggregate.Implementation ofMAXfunction to calculate the maximum ofBigDecimalvalues as a user-defined aggregate.Implementation ofMAXfunction to calculate the maximum ofbooleanvalues as a user-defined aggregate.Implementation ofMAXfunction to calculate the maximum ofdoubleandrealvalues as a user-defined aggregate.Implementation ofMAXfunction to calculate the maximum offloatvalues as a user-defined aggregate.Implementation ofMAXfunction to calculate the maximum ofintegervalues as a user-defined aggregate.Implementation ofMAXfunction to calculate the maximum oflongvalues as a user-defined aggregate.Implementation ofMINfunction to calculate the minimum ofBigDecimalvalues as a user-defined aggregate.Implementation ofMINfunction to calculate the minimum ofbooleanvalues as a user-defined aggregate.Implementation ofMINfunction to calculate the minimum ofdoubleandrealvalues as a user-defined aggregate.Implementation ofMINfunction to calculate the minimum offloatvalues as a user-defined aggregate.Implementation ofMINfunction to calculate the minimum ofintegervalues as a user-defined aggregate.Implementation ofMINfunction to calculate the minimum oflongvalues as a user-defined aggregate.Common implementation of comparison aggregate methods over numeric values as a user-defined aggregate.Calling convention that returns results as anEnumerableof object arrays.Relational expression that can implement itself in Bindable convention.Utilities pertaining toBindableRelandBindableConvention.Implementation ofAggregatein bindable calling convention.Rule that converts anAggregateto bindable convention.Implementation ofFilterin bindable convention.Rule that converts aFilterto bindable convention.Implementation ofIntersectin bindable calling convention.Implementation ofJoinin bindable calling convention.Rule to convert aLogicalJointo aBindables.BindableJoin.Implementation ofMatchin bindable convention.Rule to convert aLogicalMatchto aBindables.BindableMatch.Implementation ofMinusin bindable calling convention.Implementation ofProjectin bindable calling convention.Rule to convert aLogicalProjectto aBindables.BindableProject.Rule to convert anSetOpto aBindables.BindableUnionorBindables.BindableIntersectorBindables.BindableMinus.Implementation ofSortbindable calling convention.Rule to convert anSortto aBindables.BindableSort.Scan of a table that implementsScannableTableand therefore can be converted into anEnumerable.Rule that converts aTableScanto bindable convention.Rule configuration.Implementation ofUnionin bindable calling convention.Implementation ofValuesin bindable calling convention.Rule that converts aValuesto bindable convention.Implementation ofWindowin bindable convention.Rule to convert aLogicalWindowto aBindables.BindableWindow.Interpreter node that implements aCollect.Context while converting a tree ofRelNodeto a program that can be run by anInterpreter.Context for executing a scalar expression in an interpreter.Interpreter node that implements aFilter.Calling convention that returns results as anEnumerableof object arrays.Relational expression that converts any relational expression input toInterpretableConvention, by wrapping it in an interpreter.Relational expression that can implement itself using an interpreter.Interpreter.Utilities relating toInterpreterandInterpretableConvention.Interpreter node that implements aJoin.Interpreter node that implements aMatch.Relational expression that can be executed using an interpreter.Helper methods forNodeand implementations for core relational expressions.Extension toInterpreter.CompilerImplthat knows how to handle the core logicalRelNodes.Rule to convert a relational expression fromConvention.NONEtoBindableConvention.Interpreter node that implements aProject.Row.Utility class to build row objects.Compiled scalar expression.Produces aScalarwhen a query is executed.Sink to which to send rows.Interpreter node that implements aSort.Source of rows.Interpreter node that implements aTableFunctionScan.Interpreter node that implements aTableScan.Interpreter node that implements aUncollect.Deprecated.Interpreter node that implements aValues.Interpreter node that implements aWindow.
SetOpNode