org.apache.accumulo.proxy.thrift
public class ActiveCompaction extends Object implements org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ActiveCompaction._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
age |
long |
entriesRead |
long |
entriesWritten |
KeyExtent |
extent |
List<String> |
inputFiles |
List<IteratorSetting> |
iterators |
String |
localityGroup |
static Map<ActiveCompaction._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
outputFile |
CompactionReason |
reason |
CompactionType |
type |
Constructor and Description |
---|
ActiveCompaction() |
ActiveCompaction(ActiveCompaction other)
Performs a deep copy on other.
|
ActiveCompaction(KeyExtent extent,
long age,
List<String> inputFiles,
String outputFile,
CompactionType type,
CompactionReason reason,
String localityGroup,
long entriesRead,
long entriesWritten,
List<IteratorSetting> iterators) |
Modifier and Type | Method and Description |
---|---|
void |
addToInputFiles(String elem) |
void |
addToIterators(IteratorSetting elem) |
void |
clear() |
int |
compareTo(ActiveCompaction other) |
ActiveCompaction |
deepCopy() |
boolean |
equals(ActiveCompaction that) |
boolean |
equals(Object that) |
ActiveCompaction._Fields |
fieldForId(int fieldId) |
long |
getAge() |
long |
getEntriesRead() |
long |
getEntriesWritten() |
KeyExtent |
getExtent() |
Object |
getFieldValue(ActiveCompaction._Fields field) |
List<String> |
getInputFiles() |
Iterator<String> |
getInputFilesIterator() |
int |
getInputFilesSize() |
List<IteratorSetting> |
getIterators() |
Iterator<IteratorSetting> |
getIteratorsIterator() |
int |
getIteratorsSize() |
String |
getLocalityGroup() |
String |
getOutputFile() |
CompactionReason |
getReason() |
CompactionType |
getType() |
int |
hashCode() |
boolean |
isSet(ActiveCompaction._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAge()
Returns true if field age is set (has been assigned a value) and false otherwise
|
boolean |
isSetEntriesRead()
Returns true if field entriesRead is set (has been assigned a value) and false otherwise
|
boolean |
isSetEntriesWritten()
Returns true if field entriesWritten is set (has been assigned a value) and false otherwise
|
boolean |
isSetExtent()
Returns true if field extent is set (has been assigned a value) and false otherwise
|
boolean |
isSetInputFiles()
Returns true if field inputFiles is set (has been assigned a value) and false otherwise
|
boolean |
isSetIterators()
Returns true if field iterators is set (has been assigned a value) and false otherwise
|
boolean |
isSetLocalityGroup()
Returns true if field localityGroup is set (has been assigned a value) and false otherwise
|
boolean |
isSetOutputFile()
Returns true if field outputFile is set (has been assigned a value) and false otherwise
|
boolean |
isSetReason()
Returns true if field reason is set (has been assigned a value) and false otherwise
|
boolean |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ActiveCompaction |
setAge(long age) |
void |
setAgeIsSet(boolean value) |
ActiveCompaction |
setEntriesRead(long entriesRead) |
void |
setEntriesReadIsSet(boolean value) |
ActiveCompaction |
setEntriesWritten(long entriesWritten) |
void |
setEntriesWrittenIsSet(boolean value) |
ActiveCompaction |
setExtent(KeyExtent extent) |
void |
setExtentIsSet(boolean value) |
void |
setFieldValue(ActiveCompaction._Fields field,
Object value) |
ActiveCompaction |
setInputFiles(List<String> inputFiles) |
void |
setInputFilesIsSet(boolean value) |
ActiveCompaction |
setIterators(List<IteratorSetting> iterators) |
void |
setIteratorsIsSet(boolean value) |
ActiveCompaction |
setLocalityGroup(String localityGroup) |
void |
setLocalityGroupIsSet(boolean value) |
ActiveCompaction |
setOutputFile(String outputFile) |
void |
setOutputFileIsSet(boolean value) |
ActiveCompaction |
setReason(CompactionReason reason) |
void |
setReasonIsSet(boolean value) |
ActiveCompaction |
setType(CompactionType type) |
void |
setTypeIsSet(boolean value) |
String |
toString() |
void |
unsetAge() |
void |
unsetEntriesRead() |
void |
unsetEntriesWritten() |
void |
unsetExtent() |
void |
unsetInputFiles() |
void |
unsetIterators() |
void |
unsetLocalityGroup() |
void |
unsetOutputFile() |
void |
unsetReason() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public KeyExtent extent
public long age
public String outputFile
public CompactionType type
CompactionType
public CompactionReason reason
CompactionReason
public String localityGroup
public long entriesRead
public long entriesWritten
public List<IteratorSetting> iterators
public static final Map<ActiveCompaction._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ActiveCompaction()
public ActiveCompaction(KeyExtent extent, long age, List<String> inputFiles, String outputFile, CompactionType type, CompactionReason reason, String localityGroup, long entriesRead, long entriesWritten, List<IteratorSetting> iterators)
public ActiveCompaction(ActiveCompaction other)
public ActiveCompaction deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>
public KeyExtent getExtent()
public ActiveCompaction setExtent(KeyExtent extent)
public void unsetExtent()
public boolean isSetExtent()
public void setExtentIsSet(boolean value)
public long getAge()
public ActiveCompaction setAge(long age)
public void unsetAge()
public boolean isSetAge()
public void setAgeIsSet(boolean value)
public int getInputFilesSize()
public void addToInputFiles(String elem)
public ActiveCompaction setInputFiles(List<String> inputFiles)
public void unsetInputFiles()
public boolean isSetInputFiles()
public void setInputFilesIsSet(boolean value)
public String getOutputFile()
public ActiveCompaction setOutputFile(String outputFile)
public void unsetOutputFile()
public boolean isSetOutputFile()
public void setOutputFileIsSet(boolean value)
public CompactionType getType()
CompactionType
public ActiveCompaction setType(CompactionType type)
CompactionType
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public CompactionReason getReason()
CompactionReason
public ActiveCompaction setReason(CompactionReason reason)
CompactionReason
public void unsetReason()
public boolean isSetReason()
public void setReasonIsSet(boolean value)
public String getLocalityGroup()
public ActiveCompaction setLocalityGroup(String localityGroup)
public void unsetLocalityGroup()
public boolean isSetLocalityGroup()
public void setLocalityGroupIsSet(boolean value)
public long getEntriesRead()
public ActiveCompaction setEntriesRead(long entriesRead)
public void unsetEntriesRead()
public boolean isSetEntriesRead()
public void setEntriesReadIsSet(boolean value)
public long getEntriesWritten()
public ActiveCompaction setEntriesWritten(long entriesWritten)
public void unsetEntriesWritten()
public boolean isSetEntriesWritten()
public void setEntriesWrittenIsSet(boolean value)
public int getIteratorsSize()
public Iterator<IteratorSetting> getIteratorsIterator()
public void addToIterators(IteratorSetting elem)
public List<IteratorSetting> getIterators()
public ActiveCompaction setIterators(List<IteratorSetting> iterators)
public void unsetIterators()
public boolean isSetIterators()
public void setIteratorsIsSet(boolean value)
public void setFieldValue(ActiveCompaction._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>
public Object getFieldValue(ActiveCompaction._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>
public boolean isSet(ActiveCompaction._Fields field)
isSet
in interface org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>
public boolean equals(ActiveCompaction that)
public int compareTo(ActiveCompaction other)
compareTo
in interface Comparable<ActiveCompaction>
public ActiveCompaction._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ActiveCompaction,ActiveCompaction._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.