Skip navigation links
Apache Calcite

@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.rex

Provides a language for representing row-expressions.

See: Description

Package org.apache.calcite.rex Description

Provides a language for representing row-expressions.

Life-cycle

A SqlToRelConverter converts a SQL parse tree consisting of SqlNode objects into a relational expression (RelNode). Several kinds of nodes in this tree have row expressions (RexNode).

After the relational expression has been optimized, a JavaRelImplementor converts it into to a plan. If the plan is a Java parse tree, row-expressions are translated into equivalent Java expressions.

Expressions

Every row-expression has a type. (Compare with SqlNode, which is created before validation, and therefore types may not be available.)

Every node in the parse tree is a RexNode. Sub-types are:

Expressions are generally created using a RexBuilder factory.

Related packages

Skip navigation links
Apache Calcite

Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.