Package mariadbcdc.binlog.reader
Enum CapabilityFlag
- java.lang.Object
-
- java.lang.Enum<CapabilityFlag>
-
- mariadbcdc.binlog.reader.CapabilityFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CapabilityFlag>
public enum CapabilityFlag extends java.lang.Enum<CapabilityFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_CAPABILITY_EXTENSIONreserved for futur use.CLIENT_DEPRECATE_EOFEOF_Packet deprecation :
OK_Packet replace EOF_Packet in end of Resulset when in text format
EOF_Packet between columns definition and resultsetRows is deletedCLIENT_INTERACTIVECLIENT_MYSQLCLIENT_PROTOCOL_414.1 protocolCLIENT_SESSION_TRACKEnable/disable session tracking in OK_PacketCLIENT_ZSTD_COMPRESSION_ALGORITHMSupport zstd protocol compressionCOMPRESSCan use compression protocolCONNECT_ATTRSClient send connection attributesCONNECT_WITH_DBOne can specify db on connectFOUND_ROWSIGNORE_SPACEIgnore spaces before '('LOCAL_FILESCan use LOAD DATA LOCALMULTI_RESULTSEnable/disable multi-resultsMULTI_STATEMENTSEnable/disable multi-stmt supportPLUGIN_AUTHClient supports plugin authenticationPLUGIN_AUTH_LENENC_CLIENT_DATAEnable authentication response packet to be larger than 255 bytesPS_MULTI_RESULTSEnable/disable multi-results for PrepareStatementSECURE_CONNECTION4.1 authenticationSSLCan use SSLTRANSACTIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()booleansupport(int capabilities)static CapabilityFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CapabilityFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENT_MYSQL
public static final CapabilityFlag CLIENT_MYSQL
-
FOUND_ROWS
public static final CapabilityFlag FOUND_ROWS
-
CONNECT_WITH_DB
public static final CapabilityFlag CONNECT_WITH_DB
One can specify db on connect
-
COMPRESS
public static final CapabilityFlag COMPRESS
Can use compression protocol
-
LOCAL_FILES
public static final CapabilityFlag LOCAL_FILES
Can use LOAD DATA LOCAL
-
IGNORE_SPACE
public static final CapabilityFlag IGNORE_SPACE
Ignore spaces before '('
-
CLIENT_PROTOCOL_41
public static final CapabilityFlag CLIENT_PROTOCOL_41
4.1 protocol
-
CLIENT_INTERACTIVE
public static final CapabilityFlag CLIENT_INTERACTIVE
-
SSL
public static final CapabilityFlag SSL
Can use SSL
-
TRANSACTIONS
public static final CapabilityFlag TRANSACTIONS
-
SECURE_CONNECTION
public static final CapabilityFlag SECURE_CONNECTION
4.1 authentication
-
MULTI_STATEMENTS
public static final CapabilityFlag MULTI_STATEMENTS
Enable/disable multi-stmt support
-
MULTI_RESULTS
public static final CapabilityFlag MULTI_RESULTS
Enable/disable multi-results
-
PS_MULTI_RESULTS
public static final CapabilityFlag PS_MULTI_RESULTS
Enable/disable multi-results for PrepareStatement
-
PLUGIN_AUTH
public static final CapabilityFlag PLUGIN_AUTH
Client supports plugin authentication
-
CONNECT_ATTRS
public static final CapabilityFlag CONNECT_ATTRS
Client send connection attributes
-
PLUGIN_AUTH_LENENC_CLIENT_DATA
public static final CapabilityFlag PLUGIN_AUTH_LENENC_CLIENT_DATA
Enable authentication response packet to be larger than 255 bytes
-
CLIENT_SESSION_TRACK
public static final CapabilityFlag CLIENT_SESSION_TRACK
Enable/disable session tracking in OK_Packet
-
CLIENT_DEPRECATE_EOF
public static final CapabilityFlag CLIENT_DEPRECATE_EOF
EOF_Packet deprecation :
OK_Packet replace EOF_Packet in end of Resulset when in text format
EOF_Packet between columns definition and resultsetRows is deleted
-
CLIENT_ZSTD_COMPRESSION_ALGORITHM
public static final CapabilityFlag CLIENT_ZSTD_COMPRESSION_ALGORITHM
Support zstd protocol compression
-
CLIENT_CAPABILITY_EXTENSION
public static final CapabilityFlag CLIENT_CAPABILITY_EXTENSION
reserved for futur use. (Was CLIENT_PROGRESS Client support progress indicator before 10.2)
-
-
Method Detail
-
values
public static CapabilityFlag[] 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 (CapabilityFlag c : CapabilityFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CapabilityFlag 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(int capabilities)
-
getValue
public int getValue()
-
-