Class RexImpTable.IsXxxImplementor
- java.lang.Object
-
- org.apache.calcite.adapter.enumerable.RexImpTable.IsXxxImplementor
-
- All Implemented Interfaces:
CallImplementor
- Enclosing class:
- RexImpTable
private static class RexImpTable.IsXxxImplementor extends java.lang.Object implements CallImplementor
Implements "IS XXX" operations such as "IS NULL" or "IS NOT TRUE".What these operators have in common:
1. They return TRUE or FALSE, never NULL. 2. Of the 3 input values (TRUE, FALSE, NULL) they return TRUE for 1 or 2, FALSE for the other 2 or 1.
-
-
Constructor Summary
Constructors Constructor Description IsXxxImplementor(java.lang.Boolean seek, boolean negate)
-
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.
-
-
-
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
-
-