Package mariadbcdc.binlog.reader
Enum FieldType
- java.lang.Object
-
- java.lang.Enum<FieldType>
-
- mariadbcdc.binlog.reader.FieldType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FieldTypebyValue(int value)intgetValue()static FieldTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FieldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECIMAL
public static final FieldType DECIMAL
-
TINY
public static final FieldType TINY
-
SHORT
public static final FieldType SHORT
-
LONG
public static final FieldType LONG
-
FLOAT
public static final FieldType FLOAT
-
DOUBLE
public static final FieldType DOUBLE
-
NULL
public static final FieldType NULL
-
TIMESTAMP
public static final FieldType TIMESTAMP
-
LONGLONG
public static final FieldType LONGLONG
-
INT24
public static final FieldType INT24
-
DATE
public static final FieldType DATE
-
TIME
public static final FieldType TIME
-
DATETIME
public static final FieldType DATETIME
-
YEAR
public static final FieldType YEAR
-
NEWDATE
public static final FieldType NEWDATE
-
VARCHAR
public static final FieldType VARCHAR
-
BIT
public static final FieldType BIT
-
TIMESTAMP2
public static final FieldType TIMESTAMP2
-
DATETIME2
public static final FieldType DATETIME2
-
TIME2
public static final FieldType TIME2
-
JSON
public static final FieldType JSON
-
NEWDECIMAL
public static final FieldType NEWDECIMAL
-
ENUM
public static final FieldType ENUM
-
SET
public static final FieldType SET
-
TINY_BLOB
public static final FieldType TINY_BLOB
-
MEDIUM_BLOB
public static final FieldType MEDIUM_BLOB
-
LONG_BLOB
public static final FieldType LONG_BLOB
-
BLOB
public static final FieldType BLOB
-
VAR_STRING
public static final FieldType VAR_STRING
-
STRING
public static final FieldType STRING
-
GEOMETRY
public static final FieldType GEOMETRY
-
-
Method Detail
-
values
public static FieldType[] 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 (FieldType c : FieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
byValue
public static FieldType byValue(int value)
-
getValue
public int getValue()
-
-