Class RexImpTable.CaseImplementor
- java.lang.Object
-
- org.apache.calcite.adapter.enumerable.RexImpTable.CaseImplementor
-
- All Implemented Interfaces:
CallImplementor
- Enclosing class:
- RexImpTable
private static class RexImpTable.CaseImplementor extends java.lang.Object implements CallImplementor
Implementor for the SQLCASE
operator.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CaseImplementor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
implement(RexToLixTranslator translator, RexCall call, RexImpTable.NullAs nullAs)
Implements a call.private Expression
implementRecurse(RexToLixTranslator translator, RexCall call, RexImpTable.NullAs nullAs, int i)
-
-
-
Method Detail
-
implement
public Expression implement(RexToLixTranslator translator, RexCall call, RexImpTable.NullAs nullAs)
Description copied from interface:CallImplementor
Implements a call.- Specified by:
implement
in interfaceCallImplementor
- Parameters:
translator
- Translator for the callcall
- Call that should be implementednullAs
- The desired mode ofnull
translation- Returns:
- Translated call
-
implementRecurse
private Expression implementRecurse(RexToLixTranslator translator, RexCall call, RexImpTable.NullAs nullAs, int i)
-
-