public enum NullHandling extends Enum<NullHandling>
| Enum Constant and Description |
|---|
DEFAULT
Pick one of the above as per the specifications of the underlying data store.
|
NULLS_FIRST
The null values should come before non-null values.
|
NULLS_LAST
The null values should appear last when compared to non-null values.
|
| Modifier and Type | Method and Description |
|---|---|
static NullHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullHandling NULLS_FIRST
public static final NullHandling NULLS_LAST
public static final NullHandling DEFAULT
public static NullHandling[] values()
for (NullHandling c : NullHandling.values()) System.out.println(c);
public static NullHandling 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 © 2014–2016. All rights reserved.