Package io.debezium.relational.ddl
Enum DdlParserListener.EventType
- java.lang.Object
-
- java.lang.Enum<DdlParserListener.EventType>
-
- io.debezium.relational.ddl.DdlParserListener.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<DdlParserListener.EventType>
- Enclosing interface:
- DdlParserListener
public static enum DdlParserListener.EventType extends Enum<DdlParserListener.EventType>
The type of concreteDdlParserListener.Event
s.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTER_DATABASE
ALTER_TABLE
CREATE_DATABASE
CREATE_INDEX
CREATE_TABLE
DROP_DATABASE
DROP_INDEX
DROP_TABLE
SET_VARIABLE
TRUNCATE_TABLE
USE_DATABASE
-
Constructor Summary
Constructors Modifier Constructor Description private
EventType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DdlParserListener.EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DdlParserListener.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_TABLE
public static final DdlParserListener.EventType CREATE_TABLE
-
ALTER_TABLE
public static final DdlParserListener.EventType ALTER_TABLE
-
DROP_TABLE
public static final DdlParserListener.EventType DROP_TABLE
-
TRUNCATE_TABLE
public static final DdlParserListener.EventType TRUNCATE_TABLE
-
CREATE_INDEX
public static final DdlParserListener.EventType CREATE_INDEX
-
DROP_INDEX
public static final DdlParserListener.EventType DROP_INDEX
-
CREATE_DATABASE
public static final DdlParserListener.EventType CREATE_DATABASE
-
ALTER_DATABASE
public static final DdlParserListener.EventType ALTER_DATABASE
-
DROP_DATABASE
public static final DdlParserListener.EventType DROP_DATABASE
-
USE_DATABASE
public static final DdlParserListener.EventType USE_DATABASE
-
SET_VARIABLE
public static final DdlParserListener.EventType SET_VARIABLE
-
-
Method Detail
-
values
public static DdlParserListener.EventType[] 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 (DdlParserListener.EventType c : DdlParserListener.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DdlParserListener.EventType 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
-
-