org.apache.accumulo.core.tabletserver.thrift
Class TIteratorSetting

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

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

See Also:
Serialized Form

Nested Class Summary
static class TIteratorSetting._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String iteratorClass
           
static Map<TIteratorSetting._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 String name
           
 int priority
           
 Map<String,String> properties
           
 
Constructor Summary
TIteratorSetting()
           
TIteratorSetting(int priority, String name, String iteratorClass, Map<String,String> properties)
           
TIteratorSetting(TIteratorSetting other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(TIteratorSetting other)
           
 TIteratorSetting deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(TIteratorSetting that)
           
 TIteratorSetting._Fields fieldForId(int fieldId)
           
 Object getFieldValue(TIteratorSetting._Fields field)
           
 String getIteratorClass()
           
 String getName()
           
 int getPriority()
           
 Map<String,String> getProperties()
           
 int getPropertiesSize()
           
 int hashCode()
           
 boolean isSet(TIteratorSetting._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(TIteratorSetting._Fields field, Object value)
           
 TIteratorSetting setIteratorClass(String iteratorClass)
           
 void setIteratorClassIsSet(boolean value)
           
 TIteratorSetting setName(String name)
           
 void setNameIsSet(boolean value)
           
 TIteratorSetting setPriority(int priority)
           
 void setPriorityIsSet(boolean value)
           
 TIteratorSetting 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<TIteratorSetting._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

TIteratorSetting

public TIteratorSetting()

TIteratorSetting

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

TIteratorSetting

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

Method Detail

deepCopy

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

clear

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

getPriority

public int getPriority()

setPriority

public TIteratorSetting 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 TIteratorSetting 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 TIteratorSetting 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 TIteratorSetting 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(TIteratorSetting._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>

getFieldValue

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

isSet

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

equals

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

equals

public boolean equals(TIteratorSetting that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

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