public class RexImpTable extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RexImpTable.LagImplementor
Implementor for the
LAG windowed aggregate function. |
static class |
RexImpTable.LeadImplementor
Implementor for the
LEAD windowed aggregate function. |
static class |
RexImpTable.NullAs
Strategy what an operator should return if one of its
arguments is null.
|
static interface |
RexImpTable.RexCallImplementor
Null-safe implementor of
RexCalls. |
static class |
RexImpTable.UserDefinedAggReflectiveImplementor
Implementor for user-defined aggregate functions.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.calcite.linq4j.tree.MemberExpression |
BOXED_FALSE_EXPR |
static org.apache.calcite.linq4j.tree.MemberExpression |
BOXED_TRUE_EXPR |
static org.apache.calcite.linq4j.tree.ConstantExpression |
COMMA_EXPR |
static org.apache.calcite.linq4j.tree.ConstantExpression |
FALSE_EXPR |
static RexImpTable |
INSTANCE |
static org.apache.calcite.linq4j.tree.ConstantExpression |
NULL_EXPR |
static org.apache.calcite.linq4j.tree.ConstantExpression |
TRUE_EXPR |
| Modifier and Type | Method and Description |
|---|---|
static CallImplementor |
createImplementor(NotNullImplementor implementor,
NullPolicy nullPolicy,
boolean harmonize) |
@Nullable AggImplementor |
get(SqlAggFunction aggregation,
boolean forWindowAggregate) |
MatchImplementor |
get(SqlMatchFunction function) |
@Nullable RexImpTable.RexCallImplementor |
get(SqlOperator operator) |
TableFunctionCallImplementor |
get(SqlWindowTableFunction operator) |
static org.apache.calcite.linq4j.tree.Expression |
multiplyDivide(org.apache.calcite.linq4j.tree.Expression e,
BigDecimal multiplier,
BigDecimal divider)
Multiplies an expression by a constant and divides by another constant,
optimizing appropriately.
|
public static final RexImpTable INSTANCE
public static final org.apache.calcite.linq4j.tree.ConstantExpression NULL_EXPR
public static final org.apache.calcite.linq4j.tree.ConstantExpression FALSE_EXPR
public static final org.apache.calcite.linq4j.tree.ConstantExpression TRUE_EXPR
public static final org.apache.calcite.linq4j.tree.ConstantExpression COMMA_EXPR
public static final org.apache.calcite.linq4j.tree.MemberExpression BOXED_FALSE_EXPR
public static final org.apache.calcite.linq4j.tree.MemberExpression BOXED_TRUE_EXPR
public static CallImplementor createImplementor(NotNullImplementor implementor, NullPolicy nullPolicy, boolean harmonize)
public @Nullable RexImpTable.RexCallImplementor get(SqlOperator operator)
public @Nullable AggImplementor get(SqlAggFunction aggregation, boolean forWindowAggregate)
public MatchImplementor get(SqlMatchFunction function)
public TableFunctionCallImplementor get(SqlWindowTableFunction operator)
public static org.apache.calcite.linq4j.tree.Expression multiplyDivide(org.apache.calcite.linq4j.tree.Expression e,
BigDecimal multiplier,
BigDecimal divider)
For example, multiplyDivide(e, 10, 1000) returns
e / 100.
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.