public static enum SchemaUtil.CoercionOptions extends java.lang.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(java.util.Collection<SchemaUtil.CoercionOptions> options) |
boolean |
canTransformsCaptures() |
static SchemaUtil.CoercionOptions |
findCaptureOption(java.util.Collection<SchemaUtil.CoercionOptions> options) |
abstract SchemaUtil.CoercionOptions |
getInverse() |
static java.util.Set<SchemaUtil.CoercionOptions> |
invert(java.util.Collection<SchemaUtil.CoercionOptions> options) |
static SchemaUtil.CoercionOptions |
valueOf(java.lang.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(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 nullpublic boolean canChangeFieldCount()
public boolean canTransformsCaptures()
public static boolean canTransformCaptures(java.util.Collection<SchemaUtil.CoercionOptions> options)
public static SchemaUtil.CoercionOptions findCaptureOption(java.util.Collection<SchemaUtil.CoercionOptions> options)
public abstract SchemaUtil.CoercionOptions getInverse()
public static java.util.Set<SchemaUtil.CoercionOptions> invert(java.util.Collection<SchemaUtil.CoercionOptions> options)