public enum NullPrecedence extends Enum<NullPrecedence>
ORDER BY
clause.Enum Constant and Description |
---|
FIRST
Null values appear at the beginning of the sorted collection.
|
LAST
Null values appear at the end of the sorted collection.
|
NONE
Null precedence not specified.
|
Modifier and Type | Method and Description |
---|---|
static NullPrecedence |
parse(String type) |
static NullPrecedence |
parse(String type,
NullPrecedence defaultValue) |
static NullPrecedence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullPrecedence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullPrecedence NONE
public static final NullPrecedence FIRST
public static final NullPrecedence LAST
public static NullPrecedence[] values()
for (NullPrecedence c : NullPrecedence.values()) System.out.println(c);
public static NullPrecedence 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 nullpublic static NullPrecedence parse(String type)
public static NullPrecedence parse(String type, NullPrecedence defaultValue)
Copyright © 2018 JBoss by Red Hat. All rights reserved.