@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class WriteEventInfo extends Object implements org.apache.thrift.TBase<WriteEventInfo,WriteEventInfo._Fields>, Serializable, Cloneable, Comparable<WriteEventInfo>
| Modifier and Type | Class and Description |
|---|---|
static class |
WriteEventInfo._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<WriteEventInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
WriteEventInfo() |
WriteEventInfo(long writeId,
String database,
String table,
String files) |
WriteEventInfo(WriteEventInfo other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(WriteEventInfo other) |
WriteEventInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WriteEventInfo that) |
WriteEventInfo._Fields |
fieldForId(int fieldId) |
String |
getDatabase() |
Object |
getFieldValue(WriteEventInfo._Fields field) |
String |
getFiles() |
String |
getPartition() |
String |
getPartitionObj() |
String |
getTable() |
String |
getTableObj() |
long |
getWriteId() |
int |
hashCode() |
boolean |
isSet(WriteEventInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDatabase()
Returns true if field database is set (has been assigned a value) and false otherwise
|
boolean |
isSetFiles()
Returns true if field files is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartition()
Returns true if field partition is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionObj()
Returns true if field partitionObj is set (has been assigned a value) and false otherwise
|
boolean |
isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableObj()
Returns true if field tableObj is set (has been assigned a value) and false otherwise
|
boolean |
isSetWriteId()
Returns true if field writeId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDatabase(String database) |
void |
setDatabaseIsSet(boolean value) |
void |
setFieldValue(WriteEventInfo._Fields field,
Object value) |
void |
setFiles(String files) |
void |
setFilesIsSet(boolean value) |
void |
setPartition(String partition) |
void |
setPartitionIsSet(boolean value) |
void |
setPartitionObj(String partitionObj) |
void |
setPartitionObjIsSet(boolean value) |
void |
setTable(String table) |
void |
setTableIsSet(boolean value) |
void |
setTableObj(String tableObj) |
void |
setTableObjIsSet(boolean value) |
void |
setWriteId(long writeId) |
void |
setWriteIdIsSet(boolean value) |
String |
toString() |
void |
unsetDatabase() |
void |
unsetFiles() |
void |
unsetPartition() |
void |
unsetPartitionObj() |
void |
unsetTable() |
void |
unsetTableObj() |
void |
unsetWriteId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<WriteEventInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WriteEventInfo()
public WriteEventInfo(WriteEventInfo other)
public WriteEventInfo deepCopy()
deepCopy in interface org.apache.thrift.TBase<WriteEventInfo,WriteEventInfo._Fields>public void clear()
clear in interface org.apache.thrift.TBase<WriteEventInfo,WriteEventInfo._Fields>public long getWriteId()
public void setWriteId(long writeId)
public void unsetWriteId()
public boolean isSetWriteId()
public void setWriteIdIsSet(boolean value)
public String getDatabase()
public void setDatabase(String database)
public void unsetDatabase()
public boolean isSetDatabase()
public void setDatabaseIsSet(boolean value)
public String getTable()
public void setTable(String table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public String getFiles()
public void setFiles(String files)
public void unsetFiles()
public boolean isSetFiles()
public void setFilesIsSet(boolean value)
public String getPartition()
public void setPartition(String partition)
public void unsetPartition()
public boolean isSetPartition()
public void setPartitionIsSet(boolean value)
public String getTableObj()
public void setTableObj(String tableObj)
public void unsetTableObj()
public boolean isSetTableObj()
public void setTableObjIsSet(boolean value)
public String getPartitionObj()
public void setPartitionObj(String partitionObj)
public void unsetPartitionObj()
public boolean isSetPartitionObj()
public void setPartitionObjIsSet(boolean value)
public void setFieldValue(WriteEventInfo._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<WriteEventInfo,WriteEventInfo._Fields>public Object getFieldValue(WriteEventInfo._Fields field)
getFieldValue in interface org.apache.thrift.TBase<WriteEventInfo,WriteEventInfo._Fields>public boolean isSet(WriteEventInfo._Fields field)
isSet in interface org.apache.thrift.TBase<WriteEventInfo,WriteEventInfo._Fields>public boolean equals(WriteEventInfo that)
public int compareTo(WriteEventInfo other)
compareTo in interface Comparable<WriteEventInfo>public WriteEventInfo._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<WriteEventInfo,WriteEventInfo._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 void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.