Package org.apache.calcite.linq4j.tree
package org.apache.calcite.linq4j.tree
Object model for Java expressions.
This object model is used when the linq4j system is analyzing
queries that have been submitted using methods on the
Queryable
interface. The system attempts
to understand the intent of the query and reorganize it for
efficiency; for example, it may attempt to push down filters to the
source SQL system.
-
ClassDescriptionAbstract implementation of
Node
.Length field of a RecordType.Represents an expression that has a binary operator.Builder forBlockStatement
.Helper methods concerningBlockStatement
s.Represents a block that contains a sequence of expressions where variables can be defined.Creates aDynamicExpression
that represents a dynamic operation bound by the providedCallSiteBinder
.Represents a catch statement in a try block.Declaration of a class.Entry point for optimizers that factor out deterministic expressions to final static fields.Represents an expression that has a conditional operator.Represents an expression that has a conditional operator.Represents an expression that has a constant value.Represents a constant null of unknown type Java allows type inference for such nulls, thus "null" cannot always be replaced to (Object)null and vise versa.Declaration of a constructor.Expression that declares and optionally initializes a variable.Represents the default value of a type or an empty expression.Factors out deterministic expressions to final static fields.Represents a dynamic operation.Represents an initializer for a single element of anEnumerable
collection.Analogous to LINQ's System.Linq.Expression.Utility methods for expressions, including a lot of factory methods.Fluent list.Analogous to LINQ's System.Linq.Expressions.ExpressionType.Represents a visitor or rewriter for expression trees.Declaration of a field.Represents a "for-each" loop, "for (T v : iterable) { f(v); }".Represents an infinite loop.FunctionExpression<F extends Function<?>>Represents a strongly typed lambda expression as a data structure in the form of an expression tree.Function that can be invoked with a variable number of arguments.Specifies what kind of jump aGotoStatement
represents.Represents an unconditional jump.Represents indexing a property or array.Represents an expression that applies a delegate or lambda expression to a list of argument expressions.Represents a label, which can be put in anyExpression
context.Used to represent the target of aGotoStatement
.Describes a lambda expression.Represents a constructor call that has a collection initializer.Represents assignment operation for a field or property of an object.Provides the base class from which the classes that represent bindings that are used to initialize members of a newly created object derive.Declaration of a member of a class.Represents accessing a field or property.Represents calling a constructor and initializing one or more members of the new object.Represents initializing the elements of a collection member of a newly created object.Represents initializing members of a member of a newly created object.Represents a call to either a static or an instance method.Declaration of a method.Represents creating a new array and possibly initializing the elements of the new array.Represents a constructor call.Parse tree node.Shuttle that optimizes expressions.Represents a named parameter expression.Enumeration of Java's primitive types.Whether a type is primitive (e.g.A place to send a value.A place from which to read a value.Contains the parts of theField
class needed for code generation, but might be implemented differently.Represents a PseudoField that is implemented via a Java reflectionField
.Extension toVisitor
that returns a mutated tree.Statement.Represents one case of aSwitchStatement
.Represents a control expression that handles multiple selections by passing control toSwitchCase
.Factory for creating table expressions that may be used in generated code for accessing table data.Represents an expression that has a ternary operator.Represents athrow
statement.Represents atry ... catch ... finally
block.Represents an operation between an expression and a type.Array type.Map type.Field that belongs to a record.Base class for record-like types that do not mapped to (currently loaded) JavaClass
objects.Represents an expression that has a unary operator.Visitor<R>Node visitor.VisitorImpl<R>Default implementation ofVisitor
, which traverses a tree but does nothing.Represents a "while" statement.