Package com.mysql.cj.protocol.x
Class Notice
java.lang.Object
com.mysql.cj.protocol.x.Notice
- All Implemented Interfaces:
ProtocolEntity
- Direct Known Subclasses:
Notice.XSessionStateChanged,Notice.XSessionVariableChanged,Notice.XWarning
public class Notice extends java.lang.Object implements ProtocolEntity
ProtocolEntity representing a
Notice message.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotice.XSessionStateChangedstatic classNotice.XSessionVariableChangedstatic classNotice.XWarning -
Field Summary
Fields Modifier and Type Field Description static intNoticeScope_Globalstatic intNoticeScope_Localstatic intNoticeType_GROUP_REPLICATION_STATE_CHANGEDstatic intNoticeType_SESSION_STATE_CHANGEDstatic intNoticeType_SESSION_VARIABLE_CHANGEDstatic intNoticeType_WARNINGprotected intscopestatic intSessionStateChanged_ACCOUNT_EXPIREDstatic intSessionStateChanged_CLIENT_ID_ASSIGNEDstatic intSessionStateChanged_CURRENT_SCHEMAstatic intSessionStateChanged_GENERATED_DOCUMENT_IDSstatic intSessionStateChanged_GENERATED_INSERT_IDstatic intSessionStateChanged_PRODUCED_MESSAGEstatic intSessionStateChanged_ROWS_AFFECTEDstatic intSessionStateChanged_ROWS_FOUNDstatic intSessionStateChanged_ROWS_MATCHEDstatic intSessionStateChanged_TRX_COMMITTEDstatic intSessionStateChanged_TRX_ROLLEDBACKprotected inttype -
Constructor Summary
Constructors Constructor Description Notice(MysqlxNotice.Frame frm) -
Method Summary
Modifier and Type Method Description static NoticegetInstance(XMessage message)intgetScope()intgetType()
-
Field Details
-
NoticeScope_Global
public static final int NoticeScope_Global- See Also:
- Constant Field Values
-
NoticeScope_Local
public static final int NoticeScope_Local- See Also:
- Constant Field Values
-
NoticeType_WARNING
public static final int NoticeType_WARNING- See Also:
- Constant Field Values
-
NoticeType_SESSION_VARIABLE_CHANGED
public static final int NoticeType_SESSION_VARIABLE_CHANGED- See Also:
- Constant Field Values
-
NoticeType_SESSION_STATE_CHANGED
public static final int NoticeType_SESSION_STATE_CHANGED- See Also:
- Constant Field Values
-
NoticeType_GROUP_REPLICATION_STATE_CHANGED
public static final int NoticeType_GROUP_REPLICATION_STATE_CHANGED- See Also:
- Constant Field Values
-
SessionStateChanged_CURRENT_SCHEMA
public static final int SessionStateChanged_CURRENT_SCHEMA- See Also:
- Constant Field Values
-
SessionStateChanged_ACCOUNT_EXPIRED
public static final int SessionStateChanged_ACCOUNT_EXPIRED- See Also:
- Constant Field Values
-
SessionStateChanged_GENERATED_INSERT_ID
public static final int SessionStateChanged_GENERATED_INSERT_ID- See Also:
- Constant Field Values
-
SessionStateChanged_ROWS_AFFECTED
public static final int SessionStateChanged_ROWS_AFFECTED- See Also:
- Constant Field Values
-
SessionStateChanged_ROWS_FOUND
public static final int SessionStateChanged_ROWS_FOUND- See Also:
- Constant Field Values
-
SessionStateChanged_ROWS_MATCHED
public static final int SessionStateChanged_ROWS_MATCHED- See Also:
- Constant Field Values
-
SessionStateChanged_TRX_COMMITTED
public static final int SessionStateChanged_TRX_COMMITTED- See Also:
- Constant Field Values
-
SessionStateChanged_TRX_ROLLEDBACK
public static final int SessionStateChanged_TRX_ROLLEDBACK- See Also:
- Constant Field Values
-
SessionStateChanged_PRODUCED_MESSAGE
public static final int SessionStateChanged_PRODUCED_MESSAGE- See Also:
- Constant Field Values
-
SessionStateChanged_CLIENT_ID_ASSIGNED
public static final int SessionStateChanged_CLIENT_ID_ASSIGNED- See Also:
- Constant Field Values
-
SessionStateChanged_GENERATED_DOCUMENT_IDS
public static final int SessionStateChanged_GENERATED_DOCUMENT_IDS- See Also:
- Constant Field Values
-
scope
protected int scope -
type
protected int type
-
-
Constructor Details
-
Method Details
-
getInstance
-
getType
public int getType() -
getScope
public int getScope()
-