@PublicEvolving public enum ExtractionVersion extends Enum<ExtractionVersion>
This enumeration is meant for future backward compatibility. Whenever the extraction logic is changed, old function and structured type classes should still return the same data type as before when versioned accordingly.
Enum Constant and Description |
---|
UNKNOWN
Default if no version is specified.
|
V1
Initial reflection-based extraction logic according to FLIP-65.
|
Modifier and Type | Method and Description |
---|---|
static ExtractionVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtractionVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtractionVersion UNKNOWN
public static final ExtractionVersion V1
public static ExtractionVersion[] values()
for (ExtractionVersion c : ExtractionVersion.values()) System.out.println(c);
public static ExtractionVersion 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 nullCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.