org.apache.accumulo.proxy.thrift
Class IteratorSetting

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

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

See Also:
Serialized Form

Nested Class Summary
static class IteratorSetting._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String iteratorClass
           
static Map<IteratorSetting._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 String name
           
 int priority
           
 Map<String,String> properties
           
 
Constructor Summary
IteratorSetting()
           
IteratorSetting(int priority, String name, String iteratorClass, Map<String,String> properties)
           
IteratorSetting(IteratorSetting other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(IteratorSetting other)
           
 IteratorSetting deepCopy()
           
 boolean equals(IteratorSetting that)
           
 boolean equals(Object that)
           
 IteratorSetting._Fields fieldForId(int fieldId)
           
 Object getFieldValue(IteratorSetting._Fields field)
           
 String getIteratorClass()
           
 String getName()
           
 int getPriority()
           
 Map<String,String> getProperties()
           
 int getPropertiesSize()
           
 int hashCode()
           
 boolean isSet(IteratorSetting._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetIteratorClass()
          Returns true if field iteratorClass is set (has been assigned a value) and false otherwise
 boolean isSetName()
          Returns true if field name 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
 boolean isSetProperties()
          Returns true if field properties is set (has been assigned a value) and false otherwise
 void putToProperties(String key, String val)
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(IteratorSetting._Fields field, Object value)
           
 IteratorSetting setIteratorClass(String iteratorClass)
           
 void setIteratorClassIsSet(boolean value)
           
 IteratorSetting setName(String name)
           
 void setNameIsSet(boolean value)
           
 IteratorSetting setPriority(int priority)
           
 void setPriorityIsSet(boolean value)
           
 IteratorSetting setProperties(Map<String,String> properties)
           
 void setPropertiesIsSet(boolean value)
           
 String toString()
           
 void unsetIteratorClass()
           
 void unsetName()
           
 void unsetPriority()
           
 void unsetProperties()
           
 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

name

public String name

iteratorClass

public String iteratorClass

properties

public Map<String,String> properties

metaDataMap

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

IteratorSetting

public IteratorSetting()

IteratorSetting

public IteratorSetting(int priority,
                       String name,
                       String iteratorClass,
                       Map<String,String> properties)

IteratorSetting

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

Method Detail

deepCopy

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

clear

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

getPriority

public int getPriority()

setPriority

public IteratorSetting 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)

getName

public String getName()

setName

public IteratorSetting setName(String name)

unsetName

public void unsetName()

isSetName

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


setNameIsSet

public void setNameIsSet(boolean value)

getIteratorClass

public String getIteratorClass()

setIteratorClass

public IteratorSetting setIteratorClass(String iteratorClass)

unsetIteratorClass

public void unsetIteratorClass()

isSetIteratorClass

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


setIteratorClassIsSet

public void setIteratorClassIsSet(boolean value)

getPropertiesSize

public int getPropertiesSize()

putToProperties

public void putToProperties(String key,
                            String val)

getProperties

public Map<String,String> getProperties()

setProperties

public IteratorSetting setProperties(Map<String,String> properties)

unsetProperties

public void unsetProperties()

isSetProperties

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


setPropertiesIsSet

public void setPropertiesIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(IteratorSetting._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<IteratorSetting,IteratorSetting._Fields>

equals

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

equals

public boolean equals(IteratorSetting that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public IteratorSetting._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<IteratorSetting,IteratorSetting._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<IteratorSetting,IteratorSetting._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<IteratorSetting,IteratorSetting._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.