public static enum ReplaceSpecification.Action extends Enum<ReplaceSpecification.Action>
Enum Constant and Description |
---|
NONE
No action required.
|
REPLACE_CONSTANT
Replace the missing value with a constant value.
|
REPLACE_MAX
Replace the missing value with the maximum value found for this field in the data.
|
REPLACE_MEAN
Replace the missing value with the mean value calculated for this field in the data.
|
REPLACE_MEDIAN
Replace the missing value with the median value calculated for this field in the data.
|
REPLACE_MIN
Replace the missing value with the minimum value found for this field in the data.
|
REPLACE_MOST_FREQ
Replace the missing value with the most frequent value found for this field in the data.
|
SKIP_RECORD
Skip the record.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTypeSupported(ScalarTokenType type)
Returns whether this action supports the given field type
|
static ReplaceSpecification.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplaceSpecification.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplaceSpecification.Action NONE
public static final ReplaceSpecification.Action SKIP_RECORD
public static final ReplaceSpecification.Action REPLACE_MAX
public static final ReplaceSpecification.Action REPLACE_MIN
public static final ReplaceSpecification.Action REPLACE_MEDIAN
public static final ReplaceSpecification.Action REPLACE_MEAN
public static final ReplaceSpecification.Action REPLACE_MOST_FREQ
public static final ReplaceSpecification.Action REPLACE_CONSTANT
public static ReplaceSpecification.Action[] values()
for (ReplaceSpecification.Action c : ReplaceSpecification.Action.values()) System.out.println(c);
public static ReplaceSpecification.Action 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 boolean isTypeSupported(ScalarTokenType type)
type
- token type to test for compatibilityCopyright © 2021 Actian Corporation. All rights reserved.