public static enum SchemaUtil.CoercionOptions extends Enum<SchemaUtil.CoercionOptions>
Enum Constant and Description |
---|
CAPTURE_FLAT_TO_RAW |
CAPTURE_NEST_TO_RAW |
CAPTURE_RAW_TO_FLAT |
CAPTURE_RAW_TO_NEST |
ERROR_ON_MISS_IN_SCHEMA_CALC |
IGNORE_METADATA_FIELDS_FOR_CAPTURE |
NOTHING |
STRICT_SUPERSET |
SUBSET |
SUPERSET |
Modifier and Type | Method and Description |
---|---|
boolean |
canChangeFieldCount() |
static boolean |
canTransformCaptures(Collection<SchemaUtil.CoercionOptions> options) |
boolean |
canTransformsCaptures() |
static SchemaUtil.CoercionOptions |
findCaptureOption(Collection<SchemaUtil.CoercionOptions> options) |
abstract SchemaUtil.CoercionOptions |
getInverse() |
static Set<SchemaUtil.CoercionOptions> |
invert(Collection<SchemaUtil.CoercionOptions> options) |
static SchemaUtil.CoercionOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaUtil.CoercionOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaUtil.CoercionOptions SUBSET
public static final SchemaUtil.CoercionOptions SUPERSET
public static final SchemaUtil.CoercionOptions STRICT_SUPERSET
public static final SchemaUtil.CoercionOptions CAPTURE_FLAT_TO_RAW
public static final SchemaUtil.CoercionOptions CAPTURE_RAW_TO_NEST
public static final SchemaUtil.CoercionOptions CAPTURE_RAW_TO_FLAT
public static final SchemaUtil.CoercionOptions CAPTURE_NEST_TO_RAW
public static final SchemaUtil.CoercionOptions ERROR_ON_MISS_IN_SCHEMA_CALC
public static final SchemaUtil.CoercionOptions IGNORE_METADATA_FIELDS_FOR_CAPTURE
public static final SchemaUtil.CoercionOptions NOTHING
public static SchemaUtil.CoercionOptions[] values()
for (SchemaUtil.CoercionOptions c : SchemaUtil.CoercionOptions.values()) System.out.println(c);
public static SchemaUtil.CoercionOptions 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 canChangeFieldCount()
public boolean canTransformsCaptures()
public static boolean canTransformCaptures(Collection<SchemaUtil.CoercionOptions> options)
public static SchemaUtil.CoercionOptions findCaptureOption(Collection<SchemaUtil.CoercionOptions> options)
public abstract SchemaUtil.CoercionOptions getInverse()
public static Set<SchemaUtil.CoercionOptions> invert(Collection<SchemaUtil.CoercionOptions> options)