@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class NotificationEvent extends Object implements org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>, Serializable, Cloneable, Comparable<NotificationEvent>
Modifier and Type | Class and Description |
---|---|
static class |
NotificationEvent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<NotificationEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
NotificationEvent() |
NotificationEvent(long eventId,
int eventTime,
String eventType,
String message) |
NotificationEvent(NotificationEvent other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(NotificationEvent other) |
NotificationEvent |
deepCopy() |
boolean |
equals(NotificationEvent that) |
boolean |
equals(Object that) |
NotificationEvent._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
String |
getDbName() |
long |
getEventId() |
int |
getEventTime() |
String |
getEventType() |
Object |
getFieldValue(NotificationEvent._Fields field) |
String |
getMessage() |
String |
getMessageFormat() |
String |
getTableName() |
int |
hashCode() |
boolean |
isSet(NotificationEvent._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatName()
Returns true if field catName is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetEventId()
Returns true if field eventId is set (has been assigned a value) and false otherwise
|
boolean |
isSetEventTime()
Returns true if field eventTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetEventType()
Returns true if field eventType is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessageFormat()
Returns true if field messageFormat is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatName(String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setEventId(long eventId) |
void |
setEventIdIsSet(boolean value) |
void |
setEventTime(int eventTime) |
void |
setEventTimeIsSet(boolean value) |
void |
setEventType(String eventType) |
void |
setEventTypeIsSet(boolean value) |
void |
setFieldValue(NotificationEvent._Fields field,
Object value) |
void |
setMessage(String message) |
void |
setMessageFormat(String messageFormat) |
void |
setMessageFormatIsSet(boolean value) |
void |
setMessageIsSet(boolean value) |
void |
setTableName(String tableName) |
void |
setTableNameIsSet(boolean value) |
String |
toString() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetEventId() |
void |
unsetEventTime() |
void |
unsetEventType() |
void |
unsetMessage() |
void |
unsetMessageFormat() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<NotificationEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public NotificationEvent()
public NotificationEvent(long eventId, int eventTime, String eventType, String message)
public NotificationEvent(NotificationEvent other)
public NotificationEvent deepCopy()
deepCopy
in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>
public long getEventId()
public void setEventId(long eventId)
public void unsetEventId()
public boolean isSetEventId()
public void setEventIdIsSet(boolean value)
public int getEventTime()
public void setEventTime(int eventTime)
public void unsetEventTime()
public boolean isSetEventTime()
public void setEventTimeIsSet(boolean value)
public String getEventType()
public void setEventType(String eventType)
public void unsetEventType()
public boolean isSetEventType()
public void setEventTypeIsSet(boolean value)
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getTableName()
public void setTableName(String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public String getMessage()
public void setMessage(String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public String getMessageFormat()
public void setMessageFormat(String messageFormat)
public void unsetMessageFormat()
public boolean isSetMessageFormat()
public void setMessageFormatIsSet(boolean value)
public String getCatName()
public void setCatName(String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public void setFieldValue(NotificationEvent._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>
public Object getFieldValue(NotificationEvent._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>
public boolean isSet(NotificationEvent._Fields field)
isSet
in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>
public boolean equals(NotificationEvent that)
public int compareTo(NotificationEvent other)
compareTo
in interface Comparable<NotificationEvent>
public NotificationEvent._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<NotificationEvent,NotificationEvent._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.