Top Description Inners Fields Constructors Methods
com.mysql.cj.protocol.x

public Class Notice

extends Object
implements ProtocolEntity
Class Inheritance
All Implemented Interfaces
com.mysql.cj.protocol.ProtocolEntity
Known Direct Subclasses
com.mysql.cj.protocol.x.Notice.XWarning, com.mysql.cj.protocol.x.Notice.XSessionVariableChanged, com.mysql.cj.protocol.x.Notice.XSessionStateChanged
Imports
java.util.List, com.google.protobuf.ByteString, .InvalidProtocolBufferException, .Message, .Parser, com.mysql.cj.exceptions.CJCommunicationsException, com.mysql.cj.protocol.ProtocolEntity, .Warning, com.mysql.cj.x.protobuf.MysqlxDatatypes.Scalar, .MysqlxNotice.Frame, .MysqlxNotice.SessionStateChanged, .MysqlxNotice.SessionVariableChanged

ProtocolEntity representing a Notice message.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
protected int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
protected int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Notice
public int
public int
pack-priv static <T extends Message> T
parseNotice(ByteString payload, Class<T> noticeClass)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NoticeScope_Globalback to summary
public static final int NoticeScope_Global
NoticeScope_Localback to summary
public static final int NoticeScope_Local
NoticeType_GROUP_REPLICATION_STATE_CHANGEDback to summary
public static final int NoticeType_GROUP_REPLICATION_STATE_CHANGED
NoticeType_SESSION_STATE_CHANGEDback to summary
public static final int NoticeType_SESSION_STATE_CHANGED
NoticeType_SESSION_VARIABLE_CHANGEDback to summary
public static final int NoticeType_SESSION_VARIABLE_CHANGED
NoticeType_WARNINGback to summary
public static final int NoticeType_WARNING
scopeback to summary
protected int scope
SessionStateChanged_ACCOUNT_EXPIREDback to summary
public static final int SessionStateChanged_ACCOUNT_EXPIRED
SessionStateChanged_CLIENT_ID_ASSIGNEDback to summary
public static final int SessionStateChanged_CLIENT_ID_ASSIGNED
SessionStateChanged_CURRENT_SCHEMAback to summary
public static final int SessionStateChanged_CURRENT_SCHEMA
SessionStateChanged_GENERATED_DOCUMENT_IDSback to summary
public static final int SessionStateChanged_GENERATED_DOCUMENT_IDS
SessionStateChanged_GENERATED_INSERT_IDback to summary
public static final int SessionStateChanged_GENERATED_INSERT_ID
SessionStateChanged_PRODUCED_MESSAGEback to summary
public static final int SessionStateChanged_PRODUCED_MESSAGE
SessionStateChanged_ROWS_AFFECTEDback to summary
public static final int SessionStateChanged_ROWS_AFFECTED
SessionStateChanged_ROWS_FOUNDback to summary
public static final int SessionStateChanged_ROWS_FOUND
SessionStateChanged_ROWS_MATCHEDback to summary
public static final int SessionStateChanged_ROWS_MATCHED
SessionStateChanged_TRX_COMMITTEDback to summary
public static final int SessionStateChanged_TRX_COMMITTED
SessionStateChanged_TRX_ROLLEDBACKback to summary
public static final int SessionStateChanged_TRX_ROLLEDBACK
typeback to summary
protected int type

Constructor Detail

Noticeback to summary
public Notice(MysqlxNotice.Frame frm)

Method Detail

getInstanceback to summary
public static Notice getInstance(XMessage message)
getScopeback to summary
public int getScope()
getTypeback to summary
public int getType()
parseNoticeback to summary
pack-priv static <T extends Message> T parseNotice(ByteString payload, Class<T> noticeClass)
Annotations
@SuppressWarnings:unchecked
com.mysql.cj.protocol.x back to summary

public Class Notice.XSessionStateChanged

extends Notice
Class Inheritance

Field Summary

Modifier and TypeField and Description
private Integer
private List<MysqlxDatatypes.Scalar>
Inherited from com.mysql.cj.protocol.x.Notice:
NoticeScope_GlobalNoticeScope_LocalNoticeType_GROUP_REPLICATION_STATE_CHANGEDNoticeType_SESSION_STATE_CHANGEDNoticeType_SESSION_VARIABLE_CHANGEDNoticeType_WARNINGscopeSessionStateChanged_ACCOUNT_EXPIREDSessionStateChanged_CLIENT_ID_ASSIGNEDSessionStateChanged_CURRENT_SCHEMASessionStateChanged_GENERATED_DOCUMENT_IDSSessionStateChanged_GENERATED_INSERT_IDSessionStateChanged_PRODUCED_MESSAGESessionStateChanged_ROWS_AFFECTEDSessionStateChanged_ROWS_FOUNDSessionStateChanged_ROWS_MATCHEDSessionStateChanged_TRX_COMMITTEDSessionStateChanged_TRX_ROLLEDBACKtype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Integer
public MysqlxDatatypes.Scalar
public List<MysqlxDatatypes.Scalar>
Inherited from com.mysql.cj.protocol.x.Notice:
getInstancegetScopegetTypeparseNotice

Field Detail

paramTypeback to summary
private Integer paramType
valueListback to summary
private List<MysqlxDatatypes.Scalar> valueList

Constructor Detail

XSessionStateChangedback to summary
public XSessionStateChanged(MysqlxNotice.Frame frm)

Method Detail

getParamTypeback to summary
public Integer getParamType()
getValueback to summary
public MysqlxDatatypes.Scalar getValue()
getValueListback to summary
public List<MysqlxDatatypes.Scalar> getValueList()
com.mysql.cj.protocol.x back to summary

public Class Notice.XSessionVariableChanged

extends Notice
Class Inheritance

Field Summary

Modifier and TypeField and Description
private String
private MysqlxDatatypes.Scalar
Inherited from com.mysql.cj.protocol.x.Notice:
NoticeScope_GlobalNoticeScope_LocalNoticeType_GROUP_REPLICATION_STATE_CHANGEDNoticeType_SESSION_STATE_CHANGEDNoticeType_SESSION_VARIABLE_CHANGEDNoticeType_WARNINGscopeSessionStateChanged_ACCOUNT_EXPIREDSessionStateChanged_CLIENT_ID_ASSIGNEDSessionStateChanged_CURRENT_SCHEMASessionStateChanged_GENERATED_DOCUMENT_IDSSessionStateChanged_GENERATED_INSERT_IDSessionStateChanged_PRODUCED_MESSAGESessionStateChanged_ROWS_AFFECTEDSessionStateChanged_ROWS_FOUNDSessionStateChanged_ROWS_MATCHEDSessionStateChanged_TRX_COMMITTEDSessionStateChanged_TRX_ROLLEDBACKtype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public MysqlxDatatypes.Scalar
Inherited from com.mysql.cj.protocol.x.Notice:
getInstancegetScopegetTypeparseNotice

Field Detail

paramNameback to summary
private String paramName
valueback to summary
private MysqlxDatatypes.Scalar value

Constructor Detail

XSessionVariableChangedback to summary
public XSessionVariableChanged(MysqlxNotice.Frame frm)

Method Detail

getParamNameback to summary
public String getParamName()
getValueback to summary
public MysqlxDatatypes.Scalar getValue()
com.mysql.cj.protocol.x back to summary

public Class Notice.XWarning

extends Notice
implements Warning
Class Inheritance
All Implemented Interfaces
com.mysql.cj.protocol.Warning

Field Summary

Modifier and TypeField and Description
private long
private int
private String
Inherited from com.mysql.cj.protocol.x.Notice:
NoticeScope_GlobalNoticeScope_LocalNoticeType_GROUP_REPLICATION_STATE_CHANGEDNoticeType_SESSION_STATE_CHANGEDNoticeType_SESSION_VARIABLE_CHANGEDNoticeType_WARNINGscopeSessionStateChanged_ACCOUNT_EXPIREDSessionStateChanged_CLIENT_ID_ASSIGNEDSessionStateChanged_CURRENT_SCHEMASessionStateChanged_GENERATED_DOCUMENT_IDSSessionStateChanged_GENERATED_INSERT_IDSessionStateChanged_PRODUCED_MESSAGESessionStateChanged_ROWS_AFFECTEDSessionStateChanged_ROWS_FOUNDSessionStateChanged_ROWS_MATCHEDSessionStateChanged_TRX_COMMITTEDSessionStateChanged_TRX_ROLLEDBACKtype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
getCode()

Implements com.mysql.cj.protocol.Warning.getCode.

Get warning code.

public int
getLevel()

Implements com.mysql.cj.protocol.Warning.getLevel.

Get warning level.

public String
getMessage()

Implements com.mysql.cj.protocol.Warning.getMessage.

Get warning message.

Inherited from com.mysql.cj.protocol.x.Notice:
getInstancegetScopegetTypeparseNotice

Field Detail

codeback to summary
private long code
levelback to summary
private int level
messageback to summary
private String message

Constructor Detail

XWarningback to summary
public XWarning(MysqlxNotice.Frame frm)

Method Detail

getCodeback to summary
public long getCode()

Implements com.mysql.cj.protocol.Warning.getCode.

Doc from com.mysql.cj.protocol.Warning.getCode.

Get warning code.

Returns:long

Warning code

Annotations
@Override
getLevelback to summary
public int getLevel()

Implements com.mysql.cj.protocol.Warning.getLevel.

Doc from com.mysql.cj.protocol.Warning.getLevel.

Get warning level.

Returns:int

Warning level

Annotations
@Override
getMessageback to summary
public String getMessage()

Implements com.mysql.cj.protocol.Warning.getMessage.

Doc from com.mysql.cj.protocol.Warning.getMessage.

Get warning message.

Returns:String

Warning message

Annotations
@Override