@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class AllocateTableWriteIdsRequest extends Object implements org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>, Serializable, Cloneable, Comparable<AllocateTableWriteIdsRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
AllocateTableWriteIdsRequest._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<AllocateTableWriteIdsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
AllocateTableWriteIdsRequest() |
AllocateTableWriteIdsRequest(AllocateTableWriteIdsRequest other)
Performs a deep copy on other.
|
AllocateTableWriteIdsRequest(String dbName,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToSrcTxnToWriteIdList(TxnToWriteId elem) |
void |
addToTxnIds(long elem) |
void |
clear() |
int |
compareTo(AllocateTableWriteIdsRequest other) |
AllocateTableWriteIdsRequest |
deepCopy() |
boolean |
equals(AllocateTableWriteIdsRequest that) |
boolean |
equals(Object that) |
AllocateTableWriteIdsRequest._Fields |
fieldForId(int fieldId) |
String |
getDbName() |
Object |
getFieldValue(AllocateTableWriteIdsRequest._Fields field) |
String |
getReplPolicy() |
List<TxnToWriteId> |
getSrcTxnToWriteIdList() |
Iterator<TxnToWriteId> |
getSrcTxnToWriteIdListIterator() |
int |
getSrcTxnToWriteIdListSize() |
String |
getTableName() |
List<Long> |
getTxnIds() |
Iterator<Long> |
getTxnIdsIterator() |
int |
getTxnIdsSize() |
int |
hashCode() |
boolean |
isReallocate() |
boolean |
isSet(AllocateTableWriteIdsRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetReallocate()
Returns true if field reallocate is set (has been assigned a value) and false otherwise
|
boolean |
isSetReplPolicy()
Returns true if field replPolicy is set (has been assigned a value) and false otherwise
|
boolean |
isSetSrcTxnToWriteIdList()
Returns true if field srcTxnToWriteIdList is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxnIds()
Returns true if field txnIds is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(AllocateTableWriteIdsRequest._Fields field,
Object value) |
void |
setReallocate(boolean reallocate) |
void |
setReallocateIsSet(boolean value) |
void |
setReplPolicy(String replPolicy) |
void |
setReplPolicyIsSet(boolean value) |
void |
setSrcTxnToWriteIdList(List<TxnToWriteId> srcTxnToWriteIdList) |
void |
setSrcTxnToWriteIdListIsSet(boolean value) |
void |
setTableName(String tableName) |
void |
setTableNameIsSet(boolean value) |
void |
setTxnIds(List<Long> txnIds) |
void |
setTxnIdsIsSet(boolean value) |
String |
toString() |
void |
unsetDbName() |
void |
unsetReallocate() |
void |
unsetReplPolicy() |
void |
unsetSrcTxnToWriteIdList() |
void |
unsetTableName() |
void |
unsetTxnIds() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<AllocateTableWriteIdsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AllocateTableWriteIdsRequest()
public AllocateTableWriteIdsRequest(AllocateTableWriteIdsRequest other)
public AllocateTableWriteIdsRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getTableName()
public void setTableName(String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public int getTxnIdsSize()
public void addToTxnIds(long elem)
public void unsetTxnIds()
public boolean isSetTxnIds()
public void setTxnIdsIsSet(boolean value)
public String getReplPolicy()
public void setReplPolicy(String replPolicy)
public void unsetReplPolicy()
public boolean isSetReplPolicy()
public void setReplPolicyIsSet(boolean value)
public int getSrcTxnToWriteIdListSize()
public Iterator<TxnToWriteId> getSrcTxnToWriteIdListIterator()
public void addToSrcTxnToWriteIdList(TxnToWriteId elem)
public List<TxnToWriteId> getSrcTxnToWriteIdList()
public void setSrcTxnToWriteIdList(List<TxnToWriteId> srcTxnToWriteIdList)
public void unsetSrcTxnToWriteIdList()
public boolean isSetSrcTxnToWriteIdList()
public void setSrcTxnToWriteIdListIsSet(boolean value)
public boolean isReallocate()
public void setReallocate(boolean reallocate)
public void unsetReallocate()
public boolean isSetReallocate()
public void setReallocateIsSet(boolean value)
public void setFieldValue(AllocateTableWriteIdsRequest._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>public Object getFieldValue(AllocateTableWriteIdsRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>public boolean isSet(AllocateTableWriteIdsRequest._Fields field)
isSet in interface org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>public boolean equals(AllocateTableWriteIdsRequest that)
public int compareTo(AllocateTableWriteIdsRequest other)
compareTo in interface Comparable<AllocateTableWriteIdsRequest>public AllocateTableWriteIdsRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._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.