public static enum RexImpTable.NullAs extends java.lang.Enum<RexImpTable.NullAs>
Enum Constant and Description |
---|
FALSE
If one of the arguments is null, the function returns
false.
|
IS_NOT_NULL
Return true if result is not null, false if result is null.
|
IS_NULL
Return false if result is not null, true if result is null.
|
NOT_POSSIBLE
It is not possible for any of the arguments to be null.
|
NULL
The most common policy among the SQL built-in operators.
|
TRUE
If one of the arguments is null, the function returns
true.
|
Modifier and Type | Method and Description |
---|---|
Expression |
handle(Expression x)
Adapts an expression with "normal" result to one that adheres to
this particular policy.
|
static RexImpTable.NullAs |
of(boolean nullable) |
static RexImpTable.NullAs |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RexImpTable.NullAs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RexImpTable.NullAs NULL
public static final RexImpTable.NullAs FALSE
IS NOT NULL
.public static final RexImpTable.NullAs TRUE
IS NULL
.public static final RexImpTable.NullAs NOT_POSSIBLE
public static final RexImpTable.NullAs IS_NULL
public static final RexImpTable.NullAs IS_NOT_NULL
public static RexImpTable.NullAs[] values()
for (RexImpTable.NullAs c : RexImpTable.NullAs.values()) System.out.println(c);
public static RexImpTable.NullAs valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RexImpTable.NullAs of(boolean nullable)
public Expression handle(Expression x)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.