@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class ReplLastIdInfo extends Object implements org.apache.thrift.TBase<ReplLastIdInfo,ReplLastIdInfo._Fields>, Serializable, Cloneable, Comparable<ReplLastIdInfo>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReplLastIdInfo._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<ReplLastIdInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
ReplLastIdInfo() |
ReplLastIdInfo(ReplLastIdInfo other)
Performs a deep copy on other.
|
ReplLastIdInfo(String database,
long lastReplId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToPartitionList(String elem) |
void |
clear() |
int |
compareTo(ReplLastIdInfo other) |
ReplLastIdInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ReplLastIdInfo that) |
ReplLastIdInfo._Fields |
fieldForId(int fieldId) |
String |
getCatalog() |
String |
getDatabase() |
Object |
getFieldValue(ReplLastIdInfo._Fields field) |
long |
getLastReplId() |
List<String> |
getPartitionList() |
Iterator<String> |
getPartitionListIterator() |
int |
getPartitionListSize() |
String |
getTable() |
int |
hashCode() |
boolean |
isSet(ReplLastIdInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatalog()
Returns true if field catalog 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 |
isSetLastReplId()
Returns true if field lastReplId is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionList()
Returns true if field partitionList 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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatalog(String catalog) |
void |
setCatalogIsSet(boolean value) |
void |
setDatabase(String database) |
void |
setDatabaseIsSet(boolean value) |
void |
setFieldValue(ReplLastIdInfo._Fields field,
Object value) |
void |
setLastReplId(long lastReplId) |
void |
setLastReplIdIsSet(boolean value) |
void |
setPartitionList(List<String> partitionList) |
void |
setPartitionListIsSet(boolean value) |
void |
setTable(String table) |
void |
setTableIsSet(boolean value) |
String |
toString() |
void |
unsetCatalog() |
void |
unsetDatabase() |
void |
unsetLastReplId() |
void |
unsetPartitionList() |
void |
unsetTable() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ReplLastIdInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ReplLastIdInfo()
public ReplLastIdInfo(String database, long lastReplId)
public ReplLastIdInfo(ReplLastIdInfo other)
public ReplLastIdInfo deepCopy()
deepCopy in interface org.apache.thrift.TBase<ReplLastIdInfo,ReplLastIdInfo._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ReplLastIdInfo,ReplLastIdInfo._Fields>public String getDatabase()
public void setDatabase(String database)
public void unsetDatabase()
public boolean isSetDatabase()
public void setDatabaseIsSet(boolean value)
public long getLastReplId()
public void setLastReplId(long lastReplId)
public void unsetLastReplId()
public boolean isSetLastReplId()
public void setLastReplIdIsSet(boolean value)
public String getTable()
public void setTable(String table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public String getCatalog()
public void setCatalog(String catalog)
public void unsetCatalog()
public boolean isSetCatalog()
public void setCatalogIsSet(boolean value)
public int getPartitionListSize()
public void addToPartitionList(String elem)
public void unsetPartitionList()
public boolean isSetPartitionList()
public void setPartitionListIsSet(boolean value)
public void setFieldValue(ReplLastIdInfo._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<ReplLastIdInfo,ReplLastIdInfo._Fields>public Object getFieldValue(ReplLastIdInfo._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ReplLastIdInfo,ReplLastIdInfo._Fields>public boolean isSet(ReplLastIdInfo._Fields field)
isSet in interface org.apache.thrift.TBase<ReplLastIdInfo,ReplLastIdInfo._Fields>public boolean equals(ReplLastIdInfo that)
public int compareTo(ReplLastIdInfo other)
compareTo in interface Comparable<ReplLastIdInfo>public ReplLastIdInfo._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ReplLastIdInfo,ReplLastIdInfo._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.