类 NativeConstants
- java.lang.Object
-
- com.mysql.cj.protocol.a.NativeConstants
-
public class NativeConstants extends Object
Constants specific to legacy MySQL protocol
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classNativeConstants.IntegerDataTypeBasic protocol data types as they are defined in http://dev.mysql.com/doc/internals/en/integer.htmlstatic classNativeConstants.StringLengthDataTypeBasic protocol data types as they are defined in http://dev.mysql.com/doc/internals/en/string.html which require explicit length specification.static classNativeConstants.StringSelfDataTypeBasic self-describing protocol data types as they are defined in http://dev.mysql.com/doc/internals/en/string.html
-
字段概要
字段 修饰符和类型 字段 说明 static intBIN_LEN_DATEstatic intBIN_LEN_DOUBLEstatic intBIN_LEN_FLOATstatic intBIN_LEN_INT1static intBIN_LEN_INT2static intBIN_LEN_INT4static intBIN_LEN_INT8static intBIN_LEN_TIME_NO_FRACstatic intBIN_LEN_TIME_WITH_MICROSstatic intBIN_LEN_TIMESTAMP_NO_FRACstatic intBIN_LEN_TIMESTAMP_WITH_MICROSstatic intBIN_LEN_TIMESTAMP_WITH_TZstatic intCOM_BINLOG_DUMPstatic intCOM_BINLOG_DUMP_GTIDstatic intCOM_CHANGE_USERstatic intCOM_CONNECTstatic intCOM_CONNECT_OUTstatic intCOM_CREATE_DBstatic intCOM_DAEMONstatic intCOM_DEBUGstatic intCOM_DELAYED_INSERTstatic intCOM_DROP_DBstatic intCOM_FIELD_LISTstatic intCOM_INIT_DBstatic intCOM_PINGstatic intCOM_PROCESS_INFOstatic intCOM_PROCESS_KILLstatic intCOM_QUERYstatic intCOM_QUITstatic intCOM_REFRESHstatic intCOM_REGISTER_SLAVE已过时。static intCOM_RESET_CONNECTIONstatic intCOM_SET_OPTIONstatic intCOM_SHUTDOWNstatic intCOM_SLEEPstatic intCOM_STATISTICSstatic intCOM_STMT_CLOSEstatic intCOM_STMT_EXECUTEstatic intCOM_STMT_FETCHstatic intCOM_STMT_PREPAREstatic intCOM_STMT_RESETstatic intCOM_STMT_SEND_LONG_DATAstatic intCOM_TABLE_DUMPstatic intCOM_TIMEstatic intHEADER_LENGTHSize of MySQL packet header (payload size + packet sequence ID).static intMAX_PACKET_SIZEMaximum size of MySQL packet payload.static intNO_CHARSET_INFOUsed to indicate that the server sent no field-level character set information, so the driver should use the connection-level character encoding instead.static intSEED_LENGTHstatic shortTYPE_ID_EOFstatic shortTYPE_ID_ERRORstatic shortTYPE_ID_LOCAL_INFILEstatic shortTYPE_ID_OK
-
构造器概要
构造器 构造器 说明 NativeConstants()
-
-
-
字段详细资料
-
MAX_PACKET_SIZE
public static final int MAX_PACKET_SIZE
Maximum size of MySQL packet payload.- 另请参阅:
- 常量字段值
-
HEADER_LENGTH
public static final int HEADER_LENGTH
Size of MySQL packet header (payload size + packet sequence ID).- 另请参阅:
- 常量字段值
-
SEED_LENGTH
public static final int SEED_LENGTH
- 另请参阅:
- 常量字段值
-
TYPE_ID_ERROR
public static final short TYPE_ID_ERROR
- 另请参阅:
- 常量字段值
-
TYPE_ID_EOF
public static final short TYPE_ID_EOF
- 另请参阅:
- 常量字段值
-
TYPE_ID_LOCAL_INFILE
public static final short TYPE_ID_LOCAL_INFILE
- 另请参阅:
- 常量字段值
-
TYPE_ID_OK
public static final short TYPE_ID_OK
- 另请参阅:
- 常量字段值
-
BIN_LEN_INT1
public static final int BIN_LEN_INT1
- 另请参阅:
- 常量字段值
-
BIN_LEN_INT2
public static final int BIN_LEN_INT2
- 另请参阅:
- 常量字段值
-
BIN_LEN_INT4
public static final int BIN_LEN_INT4
- 另请参阅:
- 常量字段值
-
BIN_LEN_INT8
public static final int BIN_LEN_INT8
- 另请参阅:
- 常量字段值
-
BIN_LEN_FLOAT
public static final int BIN_LEN_FLOAT
- 另请参阅:
- 常量字段值
-
BIN_LEN_DOUBLE
public static final int BIN_LEN_DOUBLE
- 另请参阅:
- 常量字段值
-
BIN_LEN_DATE
public static final int BIN_LEN_DATE
- 另请参阅:
- 常量字段值
-
BIN_LEN_TIMESTAMP_NO_FRAC
public static final int BIN_LEN_TIMESTAMP_NO_FRAC
- 另请参阅:
- 常量字段值
-
BIN_LEN_TIMESTAMP_WITH_MICROS
public static final int BIN_LEN_TIMESTAMP_WITH_MICROS
- 另请参阅:
- 常量字段值
-
BIN_LEN_TIMESTAMP_WITH_TZ
public static final int BIN_LEN_TIMESTAMP_WITH_TZ
- 另请参阅:
- 常量字段值
-
BIN_LEN_TIME_NO_FRAC
public static final int BIN_LEN_TIME_NO_FRAC
- 另请参阅:
- 常量字段值
-
BIN_LEN_TIME_WITH_MICROS
public static final int BIN_LEN_TIME_WITH_MICROS
- 另请参阅:
- 常量字段值
-
COM_SLEEP
public static final int COM_SLEEP
- 另请参阅:
- 常量字段值
-
COM_QUIT
public static final int COM_QUIT
- 另请参阅:
- 常量字段值
-
COM_INIT_DB
public static final int COM_INIT_DB
- 另请参阅:
- 常量字段值
-
COM_QUERY
public static final int COM_QUERY
- 另请参阅:
- 常量字段值
-
COM_FIELD_LIST
public static final int COM_FIELD_LIST
- 另请参阅:
- 常量字段值
-
COM_CREATE_DB
public static final int COM_CREATE_DB
- 另请参阅:
- 常量字段值
-
COM_DROP_DB
public static final int COM_DROP_DB
- 另请参阅:
- 常量字段值
-
COM_REFRESH
public static final int COM_REFRESH
- 另请参阅:
- 常量字段值
-
COM_SHUTDOWN
public static final int COM_SHUTDOWN
- 另请参阅:
- 常量字段值
-
COM_STATISTICS
public static final int COM_STATISTICS
- 另请参阅:
- 常量字段值
-
COM_PROCESS_INFO
public static final int COM_PROCESS_INFO
- 另请参阅:
- 常量字段值
-
COM_CONNECT
public static final int COM_CONNECT
- 另请参阅:
- 常量字段值
-
COM_PROCESS_KILL
public static final int COM_PROCESS_KILL
- 另请参阅:
- 常量字段值
-
COM_DEBUG
public static final int COM_DEBUG
- 另请参阅:
- 常量字段值
-
COM_PING
public static final int COM_PING
- 另请参阅:
- 常量字段值
-
COM_TIME
public static final int COM_TIME
- 另请参阅:
- 常量字段值
-
COM_DELAYED_INSERT
public static final int COM_DELAYED_INSERT
- 另请参阅:
- 常量字段值
-
COM_CHANGE_USER
public static final int COM_CHANGE_USER
- 另请参阅:
- 常量字段值
-
COM_BINLOG_DUMP
public static final int COM_BINLOG_DUMP
- 另请参阅:
- 常量字段值
-
COM_TABLE_DUMP
public static final int COM_TABLE_DUMP
- 另请参阅:
- 常量字段值
-
COM_CONNECT_OUT
public static final int COM_CONNECT_OUT
- 另请参阅:
- 常量字段值
-
COM_REGISTER_SLAVE
@Deprecated public static final int COM_REGISTER_SLAVE
已过时。- 另请参阅:
- 常量字段值
-
COM_STMT_PREPARE
public static final int COM_STMT_PREPARE
- 另请参阅:
- 常量字段值
-
COM_STMT_EXECUTE
public static final int COM_STMT_EXECUTE
- 另请参阅:
- 常量字段值
-
COM_STMT_SEND_LONG_DATA
public static final int COM_STMT_SEND_LONG_DATA
- 另请参阅:
- 常量字段值
-
COM_STMT_CLOSE
public static final int COM_STMT_CLOSE
- 另请参阅:
- 常量字段值
-
COM_STMT_RESET
public static final int COM_STMT_RESET
- 另请参阅:
- 常量字段值
-
COM_SET_OPTION
public static final int COM_SET_OPTION
- 另请参阅:
- 常量字段值
-
COM_STMT_FETCH
public static final int COM_STMT_FETCH
- 另请参阅:
- 常量字段值
-
COM_DAEMON
public static final int COM_DAEMON
- 另请参阅:
- 常量字段值
-
COM_BINLOG_DUMP_GTID
public static final int COM_BINLOG_DUMP_GTID
- 另请参阅:
- 常量字段值
-
COM_RESET_CONNECTION
public static final int COM_RESET_CONNECTION
- 另请参阅:
- 常量字段值
-
NO_CHARSET_INFO
public static final int NO_CHARSET_INFO
Used to indicate that the server sent no field-level character set information, so the driver should use the connection-level character encoding instead.- 另请参阅:
- 常量字段值
-
-