public interface RexExecutor
Modifier and Type | Method and Description |
---|---|
void |
reduce(RexBuilder rexBuilder,
java.util.List<RexNode> constExps,
java.util.List<RexNode> reducedValues)
Reduces expressions, and writes their results into
reducedValues . |
void reduce(RexBuilder rexBuilder, java.util.List<RexNode> constExps, java.util.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–2019 The Apache Software Foundation. All rights reserved.