public class RexProgramRewriter$ extends Object
Modifier and Type | Field and Description |
---|---|
static RexProgramRewriter$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
RexProgramRewriter$() |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rex.RexProgram |
rewriteWithFieldProjection(org.apache.calcite.rex.RexProgram rexProgram,
org.apache.calcite.rel.type.RelDataType inputRowType,
org.apache.calcite.rex.RexBuilder rexBuilder,
int[] usedFields)
Generates a new RexProgram with used input fields.
|
public static final RexProgramRewriter$ MODULE$
public org.apache.calcite.rex.RexProgram rewriteWithFieldProjection(org.apache.calcite.rex.RexProgram rexProgram, org.apache.calcite.rel.type.RelDataType inputRowType, org.apache.calcite.rex.RexBuilder rexBuilder, int[] usedFields)
rexProgram
- original RexPrograminputRowType
- input row typerexBuilder
- builder for Rex expressionsusedFields
- indices of used input fieldsCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.