public final class FlinkRexBuilder
extends org.apache.calcite.rex.RexBuilder
RexBuilder
. See the overridden methods for more explanation.Constructor and Description |
---|
FlinkRexBuilder(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rex.RexNode |
makeFieldAccess(org.apache.calcite.rex.RexNode expr,
int i)
Compared to the original method we adjust the nullability of the nested column based on the
nullability of the enclosing type.
|
org.apache.calcite.rex.RexNode |
makeFieldAccess(org.apache.calcite.rex.RexNode expr,
String fieldName,
boolean caseSensitive)
Compared to the original method we adjust the nullability of the nested column based on the
nullability of the enclosing type.
|
addAggCall, addAggCall, baseUnit, constantNull, copy, decodeIntervalOrDecimal, deriveReturnType, encodeIntervalOrDecimal, ensureType, getOpTab, getTypeFactory, identityProjects, makeAbstractCast, makeApproxLiteral, makeApproxLiteral, makeBetween, makeBigintLiteral, makeBinaryLiteral, makeCall, makeCall, makeCall, makeCast, makeCast, makeCharLiteral, makeCorrel, makeDateLiteral, makeDateLiteral, makeDynamicParam, makeExactLiteral, makeExactLiteral, makeFlag, makeIn, makeInputRef, makeInputRef, makeIntervalLiteral, makeIntervalLiteral, makeLiteral, makeLiteral, makeLiteral, makeLiteral, makeLiteral, makeLocalRef, makeNewInvocation, makeNotNull, makeNullLiteral, makeNullLiteral, makeNullLiteral, makeOver, makeOver, makePatternFieldRef, makePreciseStringLiteral, makePreciseStringLiteral, makeRangeReference, makeRangeReference, makeReinterpretCast, makeSearchArgumentLiteral, makeTimeLiteral, makeTimeLiteral, makeTimestampLiteral, makeTimestampLiteral, makeTimestampWithLocalTimeZoneLiteral, makeTimeWithLocalTimeZoneLiteral, makeWindow, makeZeroLiteral, matchNullability, multiplyDivide
public FlinkRexBuilder(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
public org.apache.calcite.rex.RexNode makeFieldAccess(org.apache.calcite.rex.RexNode expr, String fieldName, boolean caseSensitive)
If the fields type is NOT NULL, but the enclosing ROW is nullable we still can produce nulls.
makeFieldAccess
in class org.apache.calcite.rex.RexBuilder
public org.apache.calcite.rex.RexNode makeFieldAccess(org.apache.calcite.rex.RexNode expr, int i)
If the fields type is NOT NULL, but the enclosing ROW is nullable we still can produce nulls.
makeFieldAccess
in class org.apache.calcite.rex.RexBuilder
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.