public enum ReplacePolicy extends Enum<ReplacePolicy>
Enum Constant and Description |
---|
FOLLOWING
The replacement value is the first non-null value following the null row.
|
PRECEDING
The replacement value is the first non-null value preceding the null row.
|
Modifier and Type | Method and Description |
---|---|
ReplacePolicyWithColumn |
onColumn(int columnNumber)
Indicate which column the replacement should happen on.
|
static ReplacePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplacePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplacePolicy PRECEDING
public static final ReplacePolicy FOLLOWING
public static ReplacePolicy[] values()
for (ReplacePolicy c : ReplacePolicy.values()) System.out.println(c);
public static ReplacePolicy 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 ReplacePolicyWithColumn onColumn(int columnNumber)
Copyright © 2024. All rights reserved.