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 class
TIteratorSetting._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description String
iteratorClass
static Map<TIteratorSetting._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
String
name
int
priority
Map<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 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 otherwiseboolean
isSetIteratorClass()
Returns true if field iteratorClass is set (has been assigned a value) and false otherwiseboolean
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwiseboolean
isSetPriority()
Returns true if field priority is set (has been assigned a value) and false otherwiseboolean
isSetProperties()
Returns true if field properties is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
Method Detail
-
deepCopy
public TIteratorSetting deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>
-
clear
public void clear()
- Specified by:
clear
in 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:
setFieldValue
in interfaceorg.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>
-
getFieldValue
public Object getFieldValue(TIteratorSetting._Fields field)
- Specified by:
getFieldValue
in 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:
isSet
in interfaceorg.apache.thrift.TBase<TIteratorSetting,TIteratorSetting._Fields>
-
equals
public boolean equals(TIteratorSetting that)
-
compareTo
public int compareTo(TIteratorSetting other)
- Specified by:
compareTo
in interfaceComparable<TIteratorSetting>
-
fieldForId
public TIteratorSetting._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.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 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:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-