public static class HashtableServer_thrift.commitChanges_thrift_args extends java.lang.Object implements org.apache.thrift.TBase<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<HashtableServer_thrift.commitChanges_thrift_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
HashtableServer_thrift.commitChanges_thrift_args._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<HashtableServer_thrift.commitChanges_thrift_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.util.Map<java.lang.String,java.lang.Long> |
read |
java.util.Set<NodeData_thrift> |
writeNd |
| Constructor and Description |
|---|
commitChanges_thrift_args() |
commitChanges_thrift_args(HashtableServer_thrift.commitChanges_thrift_args other)
Performs a deep copy on other.
|
commitChanges_thrift_args(java.util.Set<NodeData_thrift> writeNd,
java.util.Map<java.lang.String,java.lang.Long> read) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToWriteNd(NodeData_thrift elem) |
void |
clear() |
int |
compareTo(HashtableServer_thrift.commitChanges_thrift_args other) |
HashtableServer_thrift.commitChanges_thrift_args |
deepCopy() |
boolean |
equals(HashtableServer_thrift.commitChanges_thrift_args that) |
boolean |
equals(java.lang.Object that) |
HashtableServer_thrift.commitChanges_thrift_args._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(HashtableServer_thrift.commitChanges_thrift_args._Fields field) |
java.util.Map<java.lang.String,java.lang.Long> |
getRead() |
int |
getReadSize() |
java.util.Set<NodeData_thrift> |
getWriteNd() |
java.util.Iterator<NodeData_thrift> |
getWriteNdIterator() |
int |
getWriteNdSize() |
int |
hashCode() |
boolean |
isSet(HashtableServer_thrift.commitChanges_thrift_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetRead()
Returns true if field read is set (has been assigned a value) and false otherwise
|
boolean |
isSetWriteNd()
Returns true if field writeNd is set (has been assigned a value) and false otherwise
|
void |
putToRead(java.lang.String key,
long val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(HashtableServer_thrift.commitChanges_thrift_args._Fields field,
java.lang.Object value) |
HashtableServer_thrift.commitChanges_thrift_args |
setRead(java.util.Map<java.lang.String,java.lang.Long> read) |
void |
setReadIsSet(boolean value) |
HashtableServer_thrift.commitChanges_thrift_args |
setWriteNd(java.util.Set<NodeData_thrift> writeNd) |
void |
setWriteNdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetRead() |
void |
unsetWriteNd() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.util.Set<NodeData_thrift> writeNd
public java.util.Map<java.lang.String,java.lang.Long> read
public static final java.util.Map<HashtableServer_thrift.commitChanges_thrift_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public commitChanges_thrift_args()
public commitChanges_thrift_args(java.util.Set<NodeData_thrift> writeNd, java.util.Map<java.lang.String,java.lang.Long> read)
public commitChanges_thrift_args(HashtableServer_thrift.commitChanges_thrift_args other)
public HashtableServer_thrift.commitChanges_thrift_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._Fields>public int getWriteNdSize()
public java.util.Iterator<NodeData_thrift> getWriteNdIterator()
public void addToWriteNd(NodeData_thrift elem)
public java.util.Set<NodeData_thrift> getWriteNd()
public HashtableServer_thrift.commitChanges_thrift_args setWriteNd(java.util.Set<NodeData_thrift> writeNd)
public void unsetWriteNd()
public boolean isSetWriteNd()
public void setWriteNdIsSet(boolean value)
public int getReadSize()
public void putToRead(java.lang.String key,
long val)
public java.util.Map<java.lang.String,java.lang.Long> getRead()
public HashtableServer_thrift.commitChanges_thrift_args setRead(java.util.Map<java.lang.String,java.lang.Long> read)
public void unsetRead()
public boolean isSetRead()
public void setReadIsSet(boolean value)
public void setFieldValue(HashtableServer_thrift.commitChanges_thrift_args._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._Fields>public java.lang.Object getFieldValue(HashtableServer_thrift.commitChanges_thrift_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._Fields>public boolean isSet(HashtableServer_thrift.commitChanges_thrift_args._Fields field)
isSet in interface org.apache.thrift.TBase<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(HashtableServer_thrift.commitChanges_thrift_args that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(HashtableServer_thrift.commitChanges_thrift_args other)
compareTo in interface java.lang.Comparable<HashtableServer_thrift.commitChanges_thrift_args>public HashtableServer_thrift.commitChanges_thrift_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._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<HashtableServer_thrift.commitChanges_thrift_args,HashtableServer_thrift.commitChanges_thrift_args._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.TException