Class TIteratorSetting
- java.lang.Object
-
- org.apache.accumulo.core.tabletserver.thrift.TIteratorSetting
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TIteratorSetting>,org.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>,org.apache.thrift.TSerializable
public class TIteratorSetting extends Object implements org.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>, Serializable, Cloneable, Comparable<TIteratorSetting>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTIteratorSetting._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringiteratorClassstatic Map<TIteratorSetting._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameintpriorityMap<String,String>properties
-
Constructor Summary
Constructors Constructor Description TIteratorSetting()TIteratorSetting(int priority, String name, String iteratorClass, Map<String,String> properties)TIteratorSetting(TIteratorSetting other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TIteratorSetting other)TIteratorSettingdeepCopy()booleanequals(Object that)booleanequals(TIteratorSetting that)TIteratorSetting._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TIteratorSetting._Fields field)StringgetIteratorClass()StringgetName()intgetPriority()Map<String,String>getProperties()intgetPropertiesSize()inthashCode()booleanisSet(TIteratorSetting._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetIteratorClass()Returns true if field iteratorClass is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetPriority()Returns true if field priority is set (has been assigned a value) and false otherwisebooleanisSetProperties()Returns true if field properties is set (has been assigned a value) and false otherwisevoidputToProperties(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TIteratorSetting._Fields field, Object value)TIteratorSettingsetIteratorClass(String iteratorClass)voidsetIteratorClassIsSet(boolean value)TIteratorSettingsetName(String name)voidsetNameIsSet(boolean value)TIteratorSettingsetPriority(int priority)voidsetPriorityIsSet(boolean value)TIteratorSettingsetProperties(Map<String,String> properties)voidsetPropertiesIsSet(boolean value)StringtoString()voidunsetIteratorClass()voidunsetName()voidunsetPriority()voidunsetProperties()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Method Detail
-
deepCopy
public TIteratorSetting deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.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()
-
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:
setFieldValuein interfaceorg.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>
-
getFieldValue
public Object getFieldValue(TIteratorSetting._Fields field)
- Specified by:
getFieldValuein interfaceorg.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:
isSetin interfaceorg.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>
-
equals
public boolean equals(TIteratorSetting that)
-
compareTo
public int compareTo(TIteratorSetting other)
- Specified by:
compareToin interfaceComparable<TIteratorSetting>
-
fieldForId
public TIteratorSetting._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-