Package org.apache.calcite.tools
Provides utility classes.
-
Interface Summary Interface Description FrameworkConfig Interface that describes how to configure planning sessions generated using the Frameworks tools.Frameworks.PlannerAction<R> Piece of code to be run in a context where a planner is available.PigRelBuilder.Partitioner Partitioner for group and joinPlanner A façade that covers Calcite's query planning process: parse SQL, validate the parse tree, convert the parse tree to a relational expression, and optimize the relational expression.Program Program that transforms a relational expression into another relational expression.RelBuilder.AggCall Information necessary to create a call to an aggregate function.RelBuilder.GroupKey Information necessary to create the GROUP BY clause of an Aggregate.RelBuilderFactory A partially-created RelBuilder.RelRunner Runs a relational expression.RuleSet A set rules associated with a particular type of invocation of thePlanner
. -
Class Summary Class Description Frameworks Tools for invoking Calcite functionality without initializing a container / server first.Frameworks.ConfigBuilder A builder to help you build aFrameworkConfig
using defaults where values aren't required.Frameworks.PrepareAction<R> Piece of code to be run in a context where a planner and statement are available.Frameworks.StdFrameworkConfig An implementation ofFrameworkConfig
that uses standard Calcite classes to provide basic planner functionality.PigRelBuilder Extension toRelBuilder
for Pig relational operators.Programs Utilities for creatingProgram
s.Programs.DecorrelateProgram Program that de-correlates a query.Programs.RuleSetProgram Program backed by aRuleSet
.Programs.SequenceProgram Program that runs sub-programs, sending the output of the previous as input to the next.Programs.TrimFieldsProgram Program that trims fields.RelBuilder Builder for relational expressions.RelBuilder.AggCallImpl2 Implementation ofRelBuilder.AggCall
that wraps anAggregateCall
.RelBuilder.Field A field that belongs to a stackRelBuilder.Frame
.RelBuilder.Frame Builder stack frame.RelBuilder.GroupKeyImpl Implementation ofRelBuilder.GroupKey
.RelBuilder.Registrar Collects the extra expressions needed forRelBuilder.aggregate(org.apache.calcite.tools.RelBuilder.GroupKey, org.apache.calcite.tools.RelBuilder.AggCall...)
.RelRunners Implementations ofRelRunner
.RuleSets Utilities for creating and composing rule sets.RuleSets.ListRuleSet Rule set that consists of a list of rules. -
Enum Summary Enum Description PigRelBuilder.GroupOption Option for performing group efficiently if data set is already sorted -
Exception Summary Exception Description RelConversionException An Exception thrown when attempting conversion to a set ofRelNode
s.ValidationException An Exception thrown when attempting to validate a SQL parse tree.