public interface RexExecutor
| Modifier and Type | Method and Description |
|---|---|
void |
reduce(RexBuilder rexBuilder,
List<RexNode> constExps,
List<RexNode> reducedValues)
Reduces expressions, and writes their results into
reducedValues. |
void reduce(RexBuilder rexBuilder, List<RexNode> constExps, List<RexNode> reducedValues)
reducedValues.
If an expression cannot be reduced, writes the original expression.
For example, CAST('abc' AS INTEGER) gives an error when executed, so the executor
ignores the error and writes the original expression.
rexBuilder - Rex builderconstExps - Expressions to be reducedreducedValues - List to which reduced expressions are appendedCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.