Enum AddColumnEvent.ColumnPosition
- java.lang.Object
-
- java.lang.Enum<AddColumnEvent.ColumnPosition>
-
- org.apache.flink.cdc.common.event.AddColumnEvent.ColumnPosition
-
- All Implemented Interfaces:
Serializable,Comparable<AddColumnEvent.ColumnPosition>
- Enclosing class:
- AddColumnEvent
public static enum AddColumnEvent.ColumnPosition extends Enum<AddColumnEvent.ColumnPosition> implements Serializable
relative Position of column.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AddColumnEvent.ColumnPositionvalueOf(String name)Returns the enum constant of this type with the specified name.static AddColumnEvent.ColumnPosition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE
public static final AddColumnEvent.ColumnPosition BEFORE
-
AFTER
public static final AddColumnEvent.ColumnPosition AFTER
-
FIRST
public static final AddColumnEvent.ColumnPosition FIRST
-
LAST
public static final AddColumnEvent.ColumnPosition LAST
-
-
Method Detail
-
values
public static AddColumnEvent.ColumnPosition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AddColumnEvent.ColumnPosition c : AddColumnEvent.ColumnPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddColumnEvent.ColumnPosition valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-