@Generated(value="Autogenerated by Thrift Compiler (0.10.0)", date="2017-06-27") public class DuckulaEvent extends Object implements org.apache.thrift.TBase<DuckulaEvent,DuckulaEvent._Fields>, Serializable, Cloneable, Comparable<DuckulaEvent>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DuckulaEvent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| 限定符和类型 | 字段和说明 |
|---|---|
Map<String,String> |
after |
Map<String,String> |
before |
int |
colNum |
List<String> |
cols |
List<ColumnType> |
colsType |
String |
db |
String |
gtid |
boolean |
isError |
static Map<DuckulaEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
OptType |
optType |
String |
tb |
| 构造器和说明 |
|---|
DuckulaEvent() |
DuckulaEvent(DuckulaEvent other)
Performs a deep copy on other.
|
DuckulaEvent(String db,
String tb,
OptType optType,
String gtid,
int colNum,
List<String> cols,
List<ColumnType> colsType,
Map<String,String> before,
Map<String,String> after,
boolean isError) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addToCols(String elem) |
void |
addToColsType(ColumnType elem) |
void |
clear() |
int |
compareTo(DuckulaEvent other) |
DuckulaEvent |
deepCopy() |
boolean |
equals(DuckulaEvent that) |
boolean |
equals(Object that) |
DuckulaEvent._Fields |
fieldForId(int fieldId) |
Map<String,String> |
getAfter() |
int |
getAfterSize() |
Map<String,String> |
getBefore() |
int |
getBeforeSize() |
int |
getColNum() |
List<String> |
getCols() |
Iterator<String> |
getColsIterator() |
int |
getColsSize() |
List<ColumnType> |
getColsType() |
Iterator<ColumnType> |
getColsTypeIterator() |
int |
getColsTypeSize() |
String |
getDb() |
Object |
getFieldValue(DuckulaEvent._Fields field) |
String |
getGtid() |
OptType |
getOptType() |
String |
getTb() |
int |
hashCode() |
boolean |
isIsError() |
boolean |
isSet(DuckulaEvent._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAfter()
Returns true if field after is set (has been assigned a value) and false otherwise
|
boolean |
isSetBefore()
Returns true if field before is set (has been assigned a value) and false otherwise
|
boolean |
isSetColNum()
Returns true if field colNum is set (has been assigned a value) and false otherwise
|
boolean |
isSetCols()
Returns true if field cols is set (has been assigned a value) and false otherwise
|
boolean |
isSetColsType()
Returns true if field colsType is set (has been assigned a value) and false otherwise
|
boolean |
isSetDb()
Returns true if field db is set (has been assigned a value) and false otherwise
|
boolean |
isSetGtid()
Returns true if field gtid is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsError()
Returns true if field isError is set (has been assigned a value) and false otherwise
|
boolean |
isSetOptType()
Returns true if field optType is set (has been assigned a value) and false otherwise
|
boolean |
isSetTb()
Returns true if field tb is set (has been assigned a value) and false otherwise
|
void |
putToAfter(String key,
String val) |
void |
putToBefore(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
DuckulaEvent |
setAfter(Map<String,String> after) |
void |
setAfterIsSet(boolean value) |
DuckulaEvent |
setBefore(Map<String,String> before) |
void |
setBeforeIsSet(boolean value) |
DuckulaEvent |
setColNum(int colNum) |
void |
setColNumIsSet(boolean value) |
DuckulaEvent |
setCols(List<String> cols) |
void |
setColsIsSet(boolean value) |
DuckulaEvent |
setColsType(List<ColumnType> colsType) |
void |
setColsTypeIsSet(boolean value) |
DuckulaEvent |
setDb(String db) |
void |
setDbIsSet(boolean value) |
void |
setFieldValue(DuckulaEvent._Fields field,
Object value) |
DuckulaEvent |
setGtid(String gtid) |
void |
setGtidIsSet(boolean value) |
DuckulaEvent |
setIsError(boolean isError) |
void |
setIsErrorIsSet(boolean value) |
DuckulaEvent |
setOptType(OptType optType) |
void |
setOptTypeIsSet(boolean value) |
DuckulaEvent |
setTb(String tb) |
void |
setTbIsSet(boolean value) |
String |
toString() |
void |
unsetAfter() |
void |
unsetBefore() |
void |
unsetColNum() |
void |
unsetCols() |
void |
unsetColsType() |
void |
unsetDb() |
void |
unsetGtid() |
void |
unsetIsError() |
void |
unsetOptType() |
void |
unsetTb() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String db
public String tb
public String gtid
public int colNum
public List<ColumnType> colsType
public boolean isError
public static final Map<DuckulaEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DuckulaEvent()
public DuckulaEvent(String db, String tb, OptType optType, String gtid, int colNum, List<String> cols, List<ColumnType> colsType, Map<String,String> before, Map<String,String> after, boolean isError)
public DuckulaEvent(DuckulaEvent other)
public DuckulaEvent deepCopy()
deepCopy 在接口中 org.apache.thrift.TBase<DuckulaEvent,DuckulaEvent._Fields>public void clear()
clear 在接口中 org.apache.thrift.TBase<DuckulaEvent,DuckulaEvent._Fields>public String getDb()
public DuckulaEvent setDb(String db)
public void unsetDb()
public boolean isSetDb()
public void setDbIsSet(boolean value)
public String getTb()
public DuckulaEvent setTb(String tb)
public void unsetTb()
public boolean isSetTb()
public void setTbIsSet(boolean value)
public DuckulaEvent setOptType(OptType optType)
OptTypepublic void unsetOptType()
public boolean isSetOptType()
public void setOptTypeIsSet(boolean value)
public String getGtid()
public DuckulaEvent setGtid(String gtid)
public void unsetGtid()
public boolean isSetGtid()
public void setGtidIsSet(boolean value)
public int getColNum()
public DuckulaEvent setColNum(int colNum)
public void unsetColNum()
public boolean isSetColNum()
public void setColNumIsSet(boolean value)
public int getColsSize()
public void addToCols(String elem)
public DuckulaEvent setCols(List<String> cols)
public void unsetCols()
public boolean isSetCols()
public void setColsIsSet(boolean value)
public int getColsTypeSize()
public Iterator<ColumnType> getColsTypeIterator()
public void addToColsType(ColumnType elem)
public List<ColumnType> getColsType()
public DuckulaEvent setColsType(List<ColumnType> colsType)
public void unsetColsType()
public boolean isSetColsType()
public void setColsTypeIsSet(boolean value)
public int getBeforeSize()
public DuckulaEvent setBefore(Map<String,String> before)
public void unsetBefore()
public boolean isSetBefore()
public void setBeforeIsSet(boolean value)
public int getAfterSize()
public DuckulaEvent setAfter(Map<String,String> after)
public void unsetAfter()
public boolean isSetAfter()
public void setAfterIsSet(boolean value)
public boolean isIsError()
public DuckulaEvent setIsError(boolean isError)
public void unsetIsError()
public boolean isSetIsError()
public void setIsErrorIsSet(boolean value)
public void setFieldValue(DuckulaEvent._Fields field, Object value)
setFieldValue 在接口中 org.apache.thrift.TBase<DuckulaEvent,DuckulaEvent._Fields>public Object getFieldValue(DuckulaEvent._Fields field)
getFieldValue 在接口中 org.apache.thrift.TBase<DuckulaEvent,DuckulaEvent._Fields>public boolean isSet(DuckulaEvent._Fields field)
isSet 在接口中 org.apache.thrift.TBase<DuckulaEvent,DuckulaEvent._Fields>public boolean equals(DuckulaEvent that)
public int compareTo(DuckulaEvent other)
compareTo 在接口中 Comparable<DuckulaEvent>public DuckulaEvent._Fields fieldForId(int fieldId)
fieldForId 在接口中 org.apache.thrift.TBase<DuckulaEvent,DuckulaEvent._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2019. All rights reserved.