java.io.Serializable, java.lang.Comparable<NullHandling>public enum NullHandling extends java.lang.Enum<NullHandling>
Order expressions.
See Spring Data Commons, but more flat design and independent of Spring libraries.| Enum Constant | 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 | Description |
|---|---|---|
static NullHandling |
valueOf(java.lang.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(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 nullCopyright © 2018. All rights reserved.