public class SqlIfNullOperatorRewriter extends java.lang.Object implements SqlOperatorRewriter
Turns IFNULL(expr, null_result) into: CASE
WHEN expr IS NULL THEN null_result
ELSE expr
END
| Constructor and Description |
|---|
SqlIfNullOperatorRewriter() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexNode |
apply(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder,
java.util.List<org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexNode> operands)
Create and return a new
RexNode that represents a call to this operator with the
specified operands. |
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexNode apply(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder,
java.util.List<org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexNode> operands)
SqlOperatorRewriterRexNode that represents a call to this operator with the
specified operands.apply in interface SqlOperatorRewriterrexBuilder - A RexBuilder instance to use for creating new RexNodesoperands - The original list of RexNode operands passed to this operator call