public static enum Catalog.Type extends java.lang.Enum<Catalog.Type>
| Enum Constant and Description |
|---|
FILESET
Catalog Type for Fileset System (including HDFS, S3, etc.), like path/to/file
|
MESSAGING
Catalog Type for Message Queue, like Kafka://topic
|
RELATIONAL
Catalog Type for Relational Data Structure, like db.table, catalog.db.table.
|
UNSUPPORTED
Catalog Type for test only.
|
| Modifier and Type | Method and Description |
|---|---|
static Catalog.Type |
fromString(java.lang.String type)
Convert the string (case-insensitive) to the catalog type.
|
static Catalog.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Catalog.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Catalog.Type RELATIONAL
public static final Catalog.Type FILESET
public static final Catalog.Type MESSAGING
public static final Catalog.Type UNSUPPORTED
public static Catalog.Type[] values()
for (Catalog.Type c : Catalog.Type.values()) System.out.println(c);
public static Catalog.Type 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 static Catalog.Type fromString(java.lang.String type)
type - The string to convert