public class RexProgramExtractor$ extends Object
Modifier and Type | Field and Description |
---|---|
static RexProgramExtractor$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
RexProgramExtractor$() |
Modifier and Type | Method and Description |
---|---|
scala.Tuple2<Expression[],org.apache.calcite.rex.RexNode[]> |
extractConjunctiveConditions(org.apache.calcite.rex.RexProgram rexProgram,
org.apache.calcite.rex.RexBuilder rexBuilder,
FunctionCatalog catalog)
Extract condition from RexProgram and convert it into independent CNF expressions.
|
int[] |
extractRefInputFields(org.apache.calcite.rex.RexProgram rexProgram)
Extracts the indices of input fields which accessed by the RexProgram.
|
String[][] |
extractRefNestedInputFields(org.apache.calcite.rex.RexProgram rexProgram,
int[] usedFields)
Extracts the name of nested input fields accessed by the RexProgram and returns the
prefix of the accesses.
|
public static final RexProgramExtractor$ MODULE$
public int[] extractRefInputFields(org.apache.calcite.rex.RexProgram rexProgram)
rexProgram
- The RexProgram to analyzepublic scala.Tuple2<Expression[],org.apache.calcite.rex.RexNode[]> extractConjunctiveConditions(org.apache.calcite.rex.RexProgram rexProgram, org.apache.calcite.rex.RexBuilder rexBuilder, FunctionCatalog catalog)
rexProgram
- The RexProgram to analyzerexBuilder
- (undocumented)catalog
- (undocumented)public String[][] extractRefNestedInputFields(org.apache.calcite.rex.RexProgram rexProgram, int[] usedFields)
rexProgram
- The RexProgram to analyzeusedFields
- (undocumented)Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.