public class ThriftEventBundle extends Object implements org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>, Serializable, Cloneable, Comparable<ThriftEventBundle>
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftEventBundle._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
Map<Integer,Map<String,String>> |
arbitraryDataMapMap |
List<Boolean> |
boolAttributeList |
List<Double> |
doubleAttributeList |
int |
eventNum |
List<Integer> |
intAttributeList |
List<Long> |
longAttributeList |
static Map<ThriftEventBundle._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
sessionId |
List<String> |
stringAttributeList |
| Constructor and Description |
|---|
ThriftEventBundle() |
ThriftEventBundle(ThriftEventBundle other)
Performs a deep copy on other.
|
public String sessionId
public int eventNum
public static final Map<ThriftEventBundle._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftEventBundle()
public ThriftEventBundle(ThriftEventBundle other)
public ThriftEventBundle deepCopy()
deepCopy in interface org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>public String getSessionId()
public ThriftEventBundle setSessionId(String sessionId)
public void unsetSessionId()
public boolean isSetSessionId()
public void setSessionIdIsSet(boolean value)
public int getEventNum()
public ThriftEventBundle setEventNum(int eventNum)
public void unsetEventNum()
public boolean isSetEventNum()
public void setEventNumIsSet(boolean value)
public int getIntAttributeListSize()
public void addToIntAttributeList(int elem)
public ThriftEventBundle setIntAttributeList(List<Integer> intAttributeList)
public void unsetIntAttributeList()
public boolean isSetIntAttributeList()
public void setIntAttributeListIsSet(boolean value)
public int getLongAttributeListSize()
public void addToLongAttributeList(long elem)
public ThriftEventBundle setLongAttributeList(List<Long> longAttributeList)
public void unsetLongAttributeList()
public boolean isSetLongAttributeList()
public void setLongAttributeListIsSet(boolean value)
public int getDoubleAttributeListSize()
public void addToDoubleAttributeList(double elem)
public ThriftEventBundle setDoubleAttributeList(List<Double> doubleAttributeList)
public void unsetDoubleAttributeList()
public boolean isSetDoubleAttributeList()
public void setDoubleAttributeListIsSet(boolean value)
public int getBoolAttributeListSize()
public void addToBoolAttributeList(boolean elem)
public ThriftEventBundle setBoolAttributeList(List<Boolean> boolAttributeList)
public void unsetBoolAttributeList()
public boolean isSetBoolAttributeList()
public void setBoolAttributeListIsSet(boolean value)
public int getStringAttributeListSize()
public void addToStringAttributeList(String elem)
public ThriftEventBundle setStringAttributeList(List<String> stringAttributeList)
public void unsetStringAttributeList()
public boolean isSetStringAttributeList()
public void setStringAttributeListIsSet(boolean value)
public int getArbitraryDataMapMapSize()
public ThriftEventBundle setArbitraryDataMapMap(Map<Integer,Map<String,String>> arbitraryDataMapMap)
public void unsetArbitraryDataMapMap()
public boolean isSetArbitraryDataMapMap()
public void setArbitraryDataMapMapIsSet(boolean value)
public void setFieldValue(ThriftEventBundle._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>public Object getFieldValue(ThriftEventBundle._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>public boolean isSet(ThriftEventBundle._Fields field)
isSet in interface org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>public boolean equals(ThriftEventBundle that)
public int compareTo(ThriftEventBundle other)
compareTo in interface Comparable<ThriftEventBundle>public ThriftEventBundle._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<ThriftEventBundle,ThriftEventBundle._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 WSO2. All rights reserved.