Package mariadbcdc.binlog.reader
Enum CapabilityFlagMaria
- java.lang.Object
-
- java.lang.Enum<CapabilityFlagMaria>
-
- mariadbcdc.binlog.reader.CapabilityFlagMaria
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CapabilityFlagMaria>
public enum CapabilityFlagMaria extends java.lang.Enum<CapabilityFlagMaria>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MARIADB_CLIENT_COM_MULTIPermit COM_MULTI protocolMARIADB_CLIENT_EXTENDED_TYPE_INFOadd extended metadata informationMARIADB_CLIENT_PROGRESSClient support progress indicator (since 10.2)MARIADB_CLIENT_STMT_BULK_OPERATIONSPermit bulk insert
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetValue()booleansupport(long capabilities)static CapabilityFlagMariavalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CapabilityFlagMaria[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MARIADB_CLIENT_PROGRESS
public static final CapabilityFlagMaria MARIADB_CLIENT_PROGRESS
Client support progress indicator (since 10.2)
-
MARIADB_CLIENT_COM_MULTI
public static final CapabilityFlagMaria MARIADB_CLIENT_COM_MULTI
Permit COM_MULTI protocol
-
MARIADB_CLIENT_STMT_BULK_OPERATIONS
public static final CapabilityFlagMaria MARIADB_CLIENT_STMT_BULK_OPERATIONS
Permit bulk insert
-
MARIADB_CLIENT_EXTENDED_TYPE_INFO
public static final CapabilityFlagMaria MARIADB_CLIENT_EXTENDED_TYPE_INFO
add extended metadata information
-
-
Method Detail
-
values
public static CapabilityFlagMaria[] 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 (CapabilityFlagMaria c : CapabilityFlagMaria.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CapabilityFlagMaria 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
-
support
public boolean support(long capabilities)
-
getValue
public long getValue()
-
-