| Package | Description |
|---|---|
| org.apache.calcite.linq4j.tree |
Object model for Java expressions.
|
| Modifier and Type | Field and Description |
|---|---|
ExpressionType |
AbstractNode.nodeType |
| Modifier and Type | Field and Description |
|---|---|
private static Map<ExpressionType,ExpressionType> |
OptimizeShuttle.NOT_BINARY_COMPLEMENT |
private static Map<ExpressionType,ExpressionType> |
OptimizeShuttle.NOT_BINARY_COMPLEMENT |
| Modifier and Type | Method and Description |
|---|---|
ExpressionType |
AbstractNode.getNodeType()
Gets the node type of this Expression.
|
static ExpressionType |
ExpressionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpressionType[] |
ExpressionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
OptimizeShuttle.addComplement(ExpressionType eq,
ExpressionType ne) |
static BinaryExpression |
Expressions.makeBinary(ExpressionType binaryType,
Expression left,
Expression right)
Creates a BinaryExpression, given the left and right operands,
by calling an appropriate factory method.
|
static BinaryExpression |
Expressions.makeBinary(ExpressionType binaryType,
Expression left,
Expression right,
boolean liftToNull,
Method method)
Creates a BinaryExpression, given the left operand, right
operand and implementing method, by calling the appropriate
factory method.
|
static BinaryExpression |
Expressions.makeBinary(ExpressionType binaryType,
Expression left,
Expression right,
boolean liftToNull,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression, given the left operand, right
operand, implementing method and type conversion function, by
calling the appropriate factory method.
|
static TernaryExpression |
Expressions.makeTernary(ExpressionType ternaryType,
Expression e0,
Expression e1,
Expression e2)
Creates a TernaryExpression, given the left and right operands,
by calling an appropriate factory method.
|
static UnaryExpression |
Expressions.makeUnary(ExpressionType expressionType,
Expression expression)
Creates a UnaryExpression, given an operand, by calling the
appropriate factory method.
|
static UnaryExpression |
Expressions.makeUnary(ExpressionType expressionType,
Expression expression,
Type type,
Method method)
Creates a UnaryExpression, given an operand and implementing
method, by calling the appropriate factory method.
|
| Constructor and Description |
|---|
AbstractNode(ExpressionType nodeType,
Type type) |
BinaryExpression(ExpressionType nodeType,
Type type,
Expression expression0,
Expression expression1) |
Expression(ExpressionType nodeType,
Type type)
Creates an Expression.
|
InvocationExpression(ExpressionType nodeType,
Class type) |
LabelStatement(Expression defaultValue,
ExpressionType nodeType) |
LambdaExpression(ExpressionType nodeType,
Class type) |
ListInitExpression(ExpressionType nodeType,
Class type) |
Statement(ExpressionType nodeType,
Type type) |
SwitchStatement(ExpressionType nodeType) |
TernaryExpression(ExpressionType nodeType,
Type type,
Expression expression0,
Expression expression1,
Expression expression2) |
TypeBinaryExpression(ExpressionType nodeType,
Expression expression,
Type type) |
UnaryExpression(ExpressionType nodeType,
Type type,
Expression expression) |
Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.