public class RexExecutorImpl extends Object implements RelOptPlanner.Executor
RexNode expression.| Constructor and Description |
|---|
RexExecutorImpl(DataContext dataContext) |
| Modifier and Type | Method and Description |
|---|---|
RexExecutable |
getExecutable(RexBuilder rexBuilder,
List<RexNode> exps,
RelDataType rowType)
Creates an
RexExecutable that allows to apply the
generated code during query processing (filter, projection). |
void |
reduce(RexBuilder rexBuilder,
List<RexNode> constExps,
List<RexNode> reducedValues)
Do constant reduction using generated code.
|
public RexExecutorImpl(DataContext dataContext)
public RexExecutable getExecutable(RexBuilder rexBuilder, List<RexNode> exps, RelDataType rowType)
RexExecutable that allows to apply the
generated code during query processing (filter, projection).rexBuilder - Rex builderexps - ExpressionsrowType - describes the structure of the input row.public void reduce(RexBuilder rexBuilder, List<RexNode> constExps, List<RexNode> reducedValues)
reduce in interface RelOptPlanner.ExecutorCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.