public class RWSetInfo_thrift extends Object implements org.apache.thrift.TBase<RWSetInfo_thrift,RWSetInfo_thrift._Fields>, Serializable, Cloneable, Comparable<RWSetInfo_thrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
RWSetInfo_thrift._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<RWSetInfo_thrift._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Set<String> |
readSet |
Set<String> |
unusedSet |
Set<String> |
writeSet |
| Constructor and Description |
|---|
RWSetInfo_thrift() |
RWSetInfo_thrift(RWSetInfo_thrift other)
Performs a deep copy on other.
|
RWSetInfo_thrift(Set<String> readSet,
Set<String> writeSet,
Set<String> unusedSet) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToReadSet(String elem) |
void |
addToUnusedSet(String elem) |
void |
addToWriteSet(String elem) |
void |
clear() |
int |
compareTo(RWSetInfo_thrift other) |
RWSetInfo_thrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RWSetInfo_thrift that) |
RWSetInfo_thrift._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(RWSetInfo_thrift._Fields field) |
Set<String> |
getReadSet() |
Iterator<String> |
getReadSetIterator() |
int |
getReadSetSize() |
Set<String> |
getUnusedSet() |
Iterator<String> |
getUnusedSetIterator() |
int |
getUnusedSetSize() |
Set<String> |
getWriteSet() |
Iterator<String> |
getWriteSetIterator() |
int |
getWriteSetSize() |
int |
hashCode() |
boolean |
isSet(RWSetInfo_thrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetReadSet()
Returns true if field readSet is set (has been assigned a value) and false otherwise
|
boolean |
isSetUnusedSet()
Returns true if field unusedSet is set (has been assigned a value) and false otherwise
|
boolean |
isSetWriteSet()
Returns true if field writeSet is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(RWSetInfo_thrift._Fields field,
Object value) |
RWSetInfo_thrift |
setReadSet(Set<String> readSet) |
void |
setReadSetIsSet(boolean value) |
RWSetInfo_thrift |
setUnusedSet(Set<String> unusedSet) |
void |
setUnusedSetIsSet(boolean value) |
RWSetInfo_thrift |
setWriteSet(Set<String> writeSet) |
void |
setWriteSetIsSet(boolean value) |
String |
toString() |
void |
unsetReadSet() |
void |
unsetUnusedSet() |
void |
unsetWriteSet() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<RWSetInfo_thrift._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RWSetInfo_thrift()
public RWSetInfo_thrift(Set<String> readSet, Set<String> writeSet, Set<String> unusedSet)
public RWSetInfo_thrift(RWSetInfo_thrift other)
public RWSetInfo_thrift deepCopy()
deepCopy in interface org.apache.thrift.TBase<RWSetInfo_thrift,RWSetInfo_thrift._Fields>public void clear()
clear in interface org.apache.thrift.TBase<RWSetInfo_thrift,RWSetInfo_thrift._Fields>public int getReadSetSize()
public void addToReadSet(String elem)
public RWSetInfo_thrift setReadSet(Set<String> readSet)
public void unsetReadSet()
public boolean isSetReadSet()
public void setReadSetIsSet(boolean value)
public int getWriteSetSize()
public void addToWriteSet(String elem)
public RWSetInfo_thrift setWriteSet(Set<String> writeSet)
public void unsetWriteSet()
public boolean isSetWriteSet()
public void setWriteSetIsSet(boolean value)
public int getUnusedSetSize()
public void addToUnusedSet(String elem)
public RWSetInfo_thrift setUnusedSet(Set<String> unusedSet)
public void unsetUnusedSet()
public boolean isSetUnusedSet()
public void setUnusedSetIsSet(boolean value)
public void setFieldValue(RWSetInfo_thrift._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<RWSetInfo_thrift,RWSetInfo_thrift._Fields>public Object getFieldValue(RWSetInfo_thrift._Fields field)
getFieldValue in interface org.apache.thrift.TBase<RWSetInfo_thrift,RWSetInfo_thrift._Fields>public boolean isSet(RWSetInfo_thrift._Fields field)
isSet in interface org.apache.thrift.TBase<RWSetInfo_thrift,RWSetInfo_thrift._Fields>public boolean equals(RWSetInfo_thrift that)
public int compareTo(RWSetInfo_thrift other)
compareTo in interface Comparable<RWSetInfo_thrift>public RWSetInfo_thrift._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<RWSetInfo_thrift,RWSetInfo_thrift._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<RWSetInfo_thrift,RWSetInfo_thrift._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<RWSetInfo_thrift,RWSetInfo_thrift._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException