org.apache.accumulo.core.data.thrift
Class IterInfo

java.lang.Object
  extended by org.apache.accumulo.core.data.thrift.IterInfo
All Implemented Interfaces:
Serializable, Cloneable, Comparable<IterInfo>, org.apache.thrift.TBase<IterInfo,IterInfo._Fields>

public class IterInfo
extends Object
implements org.apache.thrift.TBase<IterInfo,IterInfo._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class IterInfo._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String className
           
 String iterName
           
static Map<IterInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 int priority
           
 
Constructor Summary
IterInfo()
           
IterInfo(int priority, String className, String iterName)
           
IterInfo(IterInfo other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(IterInfo other)
           
 IterInfo deepCopy()
           
 boolean equals(IterInfo that)
           
 boolean equals(Object that)
           
 IterInfo._Fields fieldForId(int fieldId)
           
 String getClassName()
           
 Object getFieldValue(IterInfo._Fields field)
           
 String getIterName()
           
 int getPriority()
           
 int hashCode()
           
 boolean isSet(IterInfo._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetClassName()
          Returns true if field className is set (has been assigned a value) and false otherwise
 boolean isSetIterName()
          Returns true if field iterName is set (has been assigned a value) and false otherwise
 boolean isSetPriority()
          Returns true if field priority is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 IterInfo setClassName(String className)
           
 void setClassNameIsSet(boolean value)
           
 void setFieldValue(IterInfo._Fields field, Object value)
           
 IterInfo setIterName(String iterName)
           
 void setIterNameIsSet(boolean value)
           
 IterInfo setPriority(int priority)
           
 void setPriorityIsSet(boolean value)
           
 String toString()
           
 void unsetClassName()
           
 void unsetIterName()
           
 void unsetPriority()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

priority

public int priority

className

public String className

iterName

public String iterName

metaDataMap

public static final Map<IterInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

IterInfo

public IterInfo()

IterInfo

public IterInfo(int priority,
                String className,
                String iterName)

IterInfo

public IterInfo(IterInfo other)
Performs a deep copy on other.

Method Detail

deepCopy

public IterInfo deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<IterInfo,IterInfo._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<IterInfo,IterInfo._Fields>

getPriority

public int getPriority()

setPriority

public IterInfo setPriority(int priority)

unsetPriority

public void unsetPriority()

isSetPriority

public boolean isSetPriority()
Returns true if field priority is set (has been assigned a value) and false otherwise


setPriorityIsSet

public void setPriorityIsSet(boolean value)

getClassName

public String getClassName()

setClassName

public IterInfo setClassName(String className)

unsetClassName

public void unsetClassName()

isSetClassName

public boolean isSetClassName()
Returns true if field className is set (has been assigned a value) and false otherwise


setClassNameIsSet

public void setClassNameIsSet(boolean value)

getIterName

public String getIterName()

setIterName

public IterInfo setIterName(String iterName)

unsetIterName

public void unsetIterName()

isSetIterName

public boolean isSetIterName()
Returns true if field iterName is set (has been assigned a value) and false otherwise


setIterNameIsSet

public void setIterNameIsSet(boolean value)

setFieldValue

public void setFieldValue(IterInfo._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<IterInfo,IterInfo._Fields>

getFieldValue

public Object getFieldValue(IterInfo._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<IterInfo,IterInfo._Fields>

isSet

public boolean isSet(IterInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<IterInfo,IterInfo._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(IterInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(IterInfo other)
Specified by:
compareTo in interface Comparable<IterInfo>

fieldForId

public IterInfo._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<IterInfo,IterInfo._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<IterInfo,IterInfo._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<IterInfo,IterInfo._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.