Class TExternalCompactionList
- java.lang.Object
-
- org.apache.accumulo.core.compaction.thrift.TExternalCompactionList
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TExternalCompactionList>
,org.apache.thrift.TBase<TExternalCompactionList,TExternalCompactionList._Fields>
,org.apache.thrift.TSerializable
public class TExternalCompactionList extends Object implements org.apache.thrift.TBase<TExternalCompactionList,TExternalCompactionList._Fields>, Serializable, Cloneable, Comparable<TExternalCompactionList>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TExternalCompactionList._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Map<String,TExternalCompaction>
compactions
static Map<TExternalCompactionList._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description TExternalCompactionList()
TExternalCompactionList(Map<String,TExternalCompaction> compactions)
TExternalCompactionList(TExternalCompactionList other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TExternalCompactionList other)
TExternalCompactionList
deepCopy()
boolean
equals(Object that)
boolean
equals(TExternalCompactionList that)
TExternalCompactionList._Fields
fieldForId(int fieldId)
Map<String,TExternalCompaction>
getCompactions()
int
getCompactionsSize()
Object
getFieldValue(TExternalCompactionList._Fields field)
int
hashCode()
boolean
isSet(TExternalCompactionList._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetCompactions()
Returns true if field compactions is set (has been assigned a value) and false otherwisevoid
putToCompactions(String key, TExternalCompaction val)
void
read(org.apache.thrift.protocol.TProtocol iprot)
TExternalCompactionList
setCompactions(Map<String,TExternalCompaction> compactions)
void
setCompactionsIsSet(boolean value)
void
setFieldValue(TExternalCompactionList._Fields field, Object value)
String
toString()
void
unsetCompactions()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
compactions
public Map<String,TExternalCompaction> compactions
-
metaDataMap
public static final Map<TExternalCompactionList._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TExternalCompactionList
public TExternalCompactionList()
-
TExternalCompactionList
public TExternalCompactionList(Map<String,TExternalCompaction> compactions)
-
TExternalCompactionList
public TExternalCompactionList(TExternalCompactionList other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TExternalCompactionList deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TExternalCompactionList,TExternalCompactionList._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TExternalCompactionList,TExternalCompactionList._Fields>
-
getCompactionsSize
public int getCompactionsSize()
-
putToCompactions
public void putToCompactions(String key, TExternalCompaction val)
-
getCompactions
public Map<String,TExternalCompaction> getCompactions()
-
setCompactions
public TExternalCompactionList setCompactions(Map<String,TExternalCompaction> compactions)
-
unsetCompactions
public void unsetCompactions()
-
isSetCompactions
public boolean isSetCompactions()
Returns true if field compactions is set (has been assigned a value) and false otherwise
-
setCompactionsIsSet
public void setCompactionsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TExternalCompactionList._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TExternalCompactionList,TExternalCompactionList._Fields>
-
getFieldValue
public Object getFieldValue(TExternalCompactionList._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TExternalCompactionList,TExternalCompactionList._Fields>
-
isSet
public boolean isSet(TExternalCompactionList._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<TExternalCompactionList,TExternalCompactionList._Fields>
-
equals
public boolean equals(TExternalCompactionList that)
-
compareTo
public int compareTo(TExternalCompactionList other)
- Specified by:
compareTo
in interfaceComparable<TExternalCompactionList>
-
fieldForId
public TExternalCompactionList._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TExternalCompactionList,TExternalCompactionList._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-