public enum NullHandling extends Enum<NullHandling>
Order expressions.
See Spring Data Commons, but more flat design and independent of Spring libraries.| Enum Constant and Description |
|---|
NATIVE
Lets the data store decide what to do with nulls.
|
NULLS_FIRST
A hint to the used data store to order entries with null values before non null entries.
|
NULLS_LAST
A hint to the used data store to order entries with null values after non null entries.
|
| 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 NATIVE
public static final NullHandling NULLS_FIRST
public static final NullHandling NULLS_LAST
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 © 2018. All rights reserved.