public enum SchemaAcquisitionMode extends Enum<SchemaAcquisitionMode>
Enum Constant and Description |
---|
DYNAMIC
Represents a mode where the schema is determined dynamically based on the data.
|
SPECIFIED
Represents a mode where the schema is specified explicitly.
|
Modifier and Type | Method and Description |
---|---|
static SchemaAcquisitionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaAcquisitionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaAcquisitionMode SPECIFIED
public static final SchemaAcquisitionMode DYNAMIC
public static SchemaAcquisitionMode[] values()
for (SchemaAcquisitionMode c : SchemaAcquisitionMode.values()) System.out.println(c);
public static SchemaAcquisitionMode 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 © 2023–2024 The Apache Software Foundation. All rights reserved.