Package org.apache.calcite.rel
Defines relational expressions.
Related packages and classes
- Package
org.apache.calcite.sql
is an object model for SQL expressions - Package
org.apache.calcite.rex
is an object model for relational row expressions - Package
org.apache.calcite.plan
provides an optimizer interface.
-
Interface Summary Interface Description RelCollation Description of the physical ordering of a relational expression.RelDistribution Description of the physical distribution of a relational expression.RelInput Context from which a relational expression can initialize itself, reading from a serialized form of the relational expression.RelNode ARelNode
is a relational expression.RelNode.Context Context of a relational expression, for purposes of checking validity.RelReferentialConstraint Interface for a referential constraint, i.e., Foreign-Key - Unique-Key relationship, between two tables.RelShuttle Visitor that has methods for the common logical relational expressions.RelWriter Callback for an expression to dump itself to. -
Class Summary Class Description AbstractRelNode Base class for every relational expression (RelNode
).BiRel Abstract base class for relational expressions with a two inputs.RelCollationImpl Simple implementation ofRelCollation
.RelCollations Utilities concerningRelCollation
andRelFieldCollation
.RelCollationTraitDef Definition of the ordering trait.RelDistributions Utilities concerningRelDistribution
.RelDistributions.RelDistributionImpl Implementation ofRelDistribution
.RelDistributionTraitDef Definition of the distribution trait.RelFieldCollation Definition of the ordering of one field of aRelNode
whose output is to be sorted.RelHomogeneousShuttle Visits all the relations in a homogeneous way: always redirects calls toaccept(RelNode)
.RelNodes Utilities concerning relational expressions.RelNodes.RelNodeComparator Arbitrary stable comparator forRelNode
s.RelReferentialConstraintImpl RelOptReferentialConstraint base implementation.RelRoot Root of a tree ofRelNode
.RelShuttleImpl Basic implementation ofRelShuttle
that callsRelNode.accept(RelShuttle)
on each child, andRelNode.copy(org.apache.calcite.plan.RelTraitSet, java.util.List)
if any children change.RelVisitor ARelVisitor
is a Visitor role in thevisitor pattern
and visitsRelNode
objects as the role of Element.SingleRel Abstract base class for relational expressions with a single input. -
Enum Summary Enum Description RelDistribution.Type Type of distribution.RelFieldCollation.Direction Direction that a field is ordered in.RelFieldCollation.NullDirection Ordering of nulls. -
Exception Summary Exception Description InvalidRelException Exception that indicates that a relational expression would be invalid with given parameters.