@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class AllocateTableWriteIdsRequest extends java.lang.Object implements org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.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 java.util.Map<AllocateTableWriteIdsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
AllocateTableWriteIdsRequest() |
AllocateTableWriteIdsRequest(AllocateTableWriteIdsRequest other)
Performs a deep copy on other.
|
AllocateTableWriteIdsRequest(java.lang.String dbName,
java.lang.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(java.lang.Object that) |
AllocateTableWriteIdsRequest._Fields |
fieldForId(int fieldId) |
java.lang.String |
getDbName() |
java.lang.Object |
getFieldValue(AllocateTableWriteIdsRequest._Fields field) |
java.lang.String |
getReplPolicy() |
java.util.List<TxnToWriteId> |
getSrcTxnToWriteIdList() |
java.util.Iterator<TxnToWriteId> |
getSrcTxnToWriteIdListIterator() |
int |
getSrcTxnToWriteIdListSize() |
java.lang.String |
getTableName() |
java.util.List<java.lang.Long> |
getTxnIds() |
java.util.Iterator<java.lang.Long> |
getTxnIdsIterator() |
int |
getTxnIdsSize() |
int |
hashCode() |
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 |
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(java.lang.String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(AllocateTableWriteIdsRequest._Fields field,
java.lang.Object value) |
void |
setReplPolicy(java.lang.String replPolicy) |
void |
setReplPolicyIsSet(boolean value) |
void |
setSrcTxnToWriteIdList(java.util.List<TxnToWriteId> srcTxnToWriteIdList) |
void |
setSrcTxnToWriteIdListIsSet(boolean value) |
void |
setTableName(java.lang.String tableName) |
void |
setTableNameIsSet(boolean value) |
void |
setTxnIds(java.util.List<java.lang.Long> txnIds) |
void |
setTxnIdsIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDbName() |
void |
unsetReplPolicy() |
void |
unsetSrcTxnToWriteIdList() |
void |
unsetTableName() |
void |
unsetTxnIds() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<AllocateTableWriteIdsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AllocateTableWriteIdsRequest()
public AllocateTableWriteIdsRequest(java.lang.String dbName,
java.lang.String tableName)
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 java.lang.String getDbName()
public void setDbName(java.lang.String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public int getTxnIdsSize()
public java.util.Iterator<java.lang.Long> getTxnIdsIterator()
public void addToTxnIds(long elem)
public java.util.List<java.lang.Long> getTxnIds()
public void setTxnIds(java.util.List<java.lang.Long> txnIds)
public void unsetTxnIds()
public boolean isSetTxnIds()
public void setTxnIdsIsSet(boolean value)
public java.lang.String getReplPolicy()
public void setReplPolicy(java.lang.String replPolicy)
public void unsetReplPolicy()
public boolean isSetReplPolicy()
public void setReplPolicyIsSet(boolean value)
public int getSrcTxnToWriteIdListSize()
public java.util.Iterator<TxnToWriteId> getSrcTxnToWriteIdListIterator()
public void addToSrcTxnToWriteIdList(TxnToWriteId elem)
public java.util.List<TxnToWriteId> getSrcTxnToWriteIdList()
public void setSrcTxnToWriteIdList(java.util.List<TxnToWriteId> srcTxnToWriteIdList)
public void unsetSrcTxnToWriteIdList()
public boolean isSetSrcTxnToWriteIdList()
public void setSrcTxnToWriteIdListIsSet(boolean value)
public void setFieldValue(AllocateTableWriteIdsRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>public java.lang.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(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(AllocateTableWriteIdsRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(AllocateTableWriteIdsRequest other)
compareTo in interface java.lang.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.TBase<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._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<AllocateTableWriteIdsRequest,AllocateTableWriteIdsRequest._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.