@Generated(value="Autogenerated by Thrift Compiler (0.11.0)",
date="2021-05-05")
public class LoggingEvent
extends java.lang.Object
implements org.apache.thrift.TBase<LoggingEvent,LoggingEvent._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<LoggingEvent>
| Modifier and Type | Class and Description |
|---|---|
static class |
LoggingEvent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<LoggingEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
LoggingEvent() |
LoggingEvent(LoggingEvent other)
Performs a deep copy on other.
|
LoggingEvent(java.util.Map<java.lang.String,java.lang.String> attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(LoggingEvent other) |
LoggingEvent |
deepCopy() |
boolean |
equals(LoggingEvent that) |
boolean |
equals(java.lang.Object that) |
LoggingEvent._Fields |
fieldForId(int fieldId) |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Map of attributes
|
int |
getAttributesSize() |
java.lang.Object |
getFieldValue(LoggingEvent._Fields field) |
int |
hashCode() |
boolean |
isSet(LoggingEvent._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttributes()
Returns true if field attributes is set (has been assigned a value) and false otherwise
|
void |
putToAttributes(java.lang.String key,
java.lang.String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
LoggingEvent |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Map of attributes
|
void |
setAttributesIsSet(boolean value) |
void |
setFieldValue(LoggingEvent._Fields field,
java.lang.Object value) |
java.lang.String |
toString() |
void |
unsetAttributes() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<LoggingEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public LoggingEvent()
public LoggingEvent(java.util.Map<java.lang.String,java.lang.String> attributes)
public LoggingEvent(LoggingEvent other)
public LoggingEvent deepCopy()
deepCopy in interface org.apache.thrift.TBase<LoggingEvent,LoggingEvent._Fields>public void clear()
clear in interface org.apache.thrift.TBase<LoggingEvent,LoggingEvent._Fields>public int getAttributesSize()
public void putToAttributes(java.lang.String key,
java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public LoggingEvent setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(LoggingEvent._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<LoggingEvent,LoggingEvent._Fields>public java.lang.Object getFieldValue(LoggingEvent._Fields field)
getFieldValue in interface org.apache.thrift.TBase<LoggingEvent,LoggingEvent._Fields>public boolean isSet(LoggingEvent._Fields field)
isSet in interface org.apache.thrift.TBase<LoggingEvent,LoggingEvent._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(LoggingEvent that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(LoggingEvent other)
compareTo in interface java.lang.Comparable<LoggingEvent>public LoggingEvent._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<LoggingEvent,LoggingEvent._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException