Class RexToLixTranslator.AlwaysNull
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.calcite.util.ControlFlowException
-
- org.apache.calcite.adapter.enumerable.RexToLixTranslator.AlwaysNull
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- RexToLixTranslator
static class RexToLixTranslator.AlwaysNull extends ControlFlowException
Thrown in the unusual (but not erroneous) situation where the expression we are translating is the null literal but we have already checked that it is not null. It is easier to throw (and caller will always handle) than to check exhaustively beforehand.
-
-
Field Summary
Fields Modifier and Type Field Description static RexToLixTranslator.AlwaysNull
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
AlwaysNull()
-
Method Summary
-
Methods inherited from class org.apache.calcite.util.ControlFlowException
fillInStackTrace
-
-
-
-
Field Detail
-
INSTANCE
public static final RexToLixTranslator.AlwaysNull INSTANCE
-
-