public enum SqlNullSemantics extends Enum<SqlNullSemantics>
| Enum Constant and Description |
|---|
NULL_MATCHES_ANYTHING
Wildcard semantics: logically, this is not present in any SQL construct.
|
NULL_MATCHES_NOTHING
Predicate semantics: e.g. in the expression (WHERE X=5), if X is NULL,
the comparison result is unknown, and so a filter used to evaluate the
WHERE clause rejects the row.
|
NULL_MATCHES_NULL
GROUP BY key semantics: e.g. in the expression (GROUP BY A,B), the key
(null,5) is treated as equal to another key (null,5).
|
| Modifier and Type | Method and Description |
|---|---|
static SqlNullSemantics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlNullSemantics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlNullSemantics NULL_MATCHES_NOTHING
public static final SqlNullSemantics NULL_MATCHES_NULL
public static final SqlNullSemantics NULL_MATCHES_ANYTHING
public static SqlNullSemantics[] values()
for (SqlNullSemantics c : SqlNullSemantics.values()) System.out.println(c);
public static SqlNullSemantics valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2020 Apache Software Foundation. All Rights Reserved.