public enum NullConversion extends java.lang.Enum<NullConversion>
null values during dataset extraction
(SKIP, CONVERT_TO_NAN, CONVERT_TO_ZERO, THROW_EXCEPTION).| Enum Constant and Description |
|---|
CONVERT_TO_NAN
Convert the
null to Double.NaN. |
CONVERT_TO_ZERO
Convert the
null to zero. |
SKIP
Skip the item that contains the
null value. |
THROW_EXCEPTION
Throw a runtime exception.
|
| Modifier and Type | Method and Description |
|---|---|
static NullConversion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NullConversion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullConversion SKIP
null value.public static final NullConversion CONVERT_TO_NAN
null to Double.NaN.public static final NullConversion CONVERT_TO_ZERO
null to zero.public static final NullConversion THROW_EXCEPTION
public static NullConversion[] values()
for (NullConversion c : NullConversion.values()) System.out.println(c);
public static NullConversion 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 null