public enum TableType extends Enum<TableType>
Modifier and Type | Method and Description |
---|---|
byte |
getId() |
static TableType |
valueOf(byte id) |
static TableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableType SOURCE
public static final TableType SINK
public static TableType[] values()
for (TableType c : TableType.values()) System.out.println(c);
public static TableType 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 byte getId()
public static TableType valueOf(byte id)
Copyright © 2016 The Apache Software Foundation. All rights reserved.