Package dev.vality.machinegun.stateproc
Class SinkEvent
java.lang.Object
dev.vality.machinegun.stateproc.SinkEvent
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<SinkEvent>,org.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-05-24")
public class SinkEvent
extends Object
implements org.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>, Serializable, Cloneable, Comparable<SinkEvent>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSinkEvent._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description EventeventlongidИдентификатор эвента EventSink'а, он отличается от идентификатора эвента машины.static Map<SinkEvent._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringsource_idStringsource_ns -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(SinkEvent other)SinkEventdeepCopy()booleanequals(SinkEvent that)booleanequals(Object that)SinkEvent._FieldsfieldForId(int fieldId)EventgetEvent()Map<SinkEvent._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()SinkEvent._Fields[]getFields()ObjectgetFieldValue(SinkEvent._Fields field)longgetId()Идентификатор эвента EventSink'а, он отличается от идентификатора эвента машины.StringgetSourceId()StringgetSourceNs()inthashCode()booleanisSet(SinkEvent._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEvent()Returns true if field event is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetSourceId()Returns true if field source_id is set (has been assigned a value) and false otherwisebooleanisSetSourceNs()Returns true if field source_ns is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)SinkEventsetEvent(Event event)voidsetEventIsSet(boolean value)voidsetFieldValue(SinkEvent._Fields field, Object value)SinkEventsetId(long id)Идентификатор эвента EventSink'а, он отличается от идентификатора эвента машины.voidsetIdIsSet(boolean value)SinkEventsetSourceId(String source_id)voidsetSourceIdIsSet(boolean value)SinkEventsetSourceNs(String source_ns)voidsetSourceNsIsSet(boolean value)StringtoString()voidunsetEvent()voidunsetId()voidunsetSourceId()voidunsetSourceNs()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
public long idИдентификатор эвента EventSink'а, он отличается от идентификатора эвента машины. Эти идентификаторы total ordered, и они же используются для EventSink:GetHistory. -
source_id
-
source_ns
-
event
-
metaDataMap
-
-
Constructor Details
-
SinkEvent
public SinkEvent() -
SinkEvent
-
SinkEvent
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>
-
getId
public long getId()Идентификатор эвента EventSink'а, он отличается от идентификатора эвента машины. Эти идентификаторы total ordered, и они же используются для EventSink:GetHistory. -
setId
Идентификатор эвента EventSink'а, он отличается от идентификатора эвента машины. Эти идентификаторы total ordered, и они же используются для EventSink:GetHistory. -
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getSourceId
-
setSourceId
-
unsetSourceId
public void unsetSourceId() -
isSetSourceId
public boolean isSetSourceId()Returns true if field source_id is set (has been assigned a value) and false otherwise -
setSourceIdIsSet
public void setSourceIdIsSet(boolean value) -
getSourceNs
-
setSourceNs
-
unsetSourceNs
public void unsetSourceNs() -
isSetSourceNs
public boolean isSetSourceNs()Returns true if field source_ns is set (has been assigned a value) and false otherwise -
setSourceNsIsSet
public void setSourceNsIsSet(boolean value) -
getEvent
-
setEvent
-
unsetEvent
public void unsetEvent() -
isSetEvent
public boolean isSetEvent()Returns true if field event is set (has been assigned a value) and false otherwise -
setEventIsSet
public void setEventIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SinkEvent>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<SinkEvent,SinkEvent._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-