Class KeyValues
- java.lang.Object
-
- org.apache.accumulo.core.replication.thrift.KeyValues
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<KeyValues>,org.apache.thrift.TBase<KeyValues,KeyValues._Fields>,org.apache.thrift.TSerializable
public class KeyValues extends Object implements org.apache.thrift.TBase<KeyValues,KeyValues._Fields>, Serializable, Cloneable, Comparable<KeyValues>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyValues._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<TKeyValue>keyValuesstatic Map<KeyValues._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToKeyValues(TKeyValue elem)voidclear()intcompareTo(KeyValues other)KeyValuesdeepCopy()booleanequals(Object that)booleanequals(KeyValues that)KeyValues._FieldsfieldForId(int fieldId)ObjectgetFieldValue(KeyValues._Fields field)List<TKeyValue>getKeyValues()Iterator<TKeyValue>getKeyValuesIterator()intgetKeyValuesSize()inthashCode()booleanisSet(KeyValues._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetKeyValues()Returns true if field keyValues is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(KeyValues._Fields field, Object value)KeyValuessetKeyValues(List<TKeyValue> keyValues)voidsetKeyValuesIsSet(boolean value)StringtoString()voidunsetKeyValues()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<KeyValues._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public KeyValues deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._Fields>
-
getKeyValuesSize
public int getKeyValuesSize()
-
addToKeyValues
public void addToKeyValues(TKeyValue elem)
-
unsetKeyValues
public void unsetKeyValues()
-
isSetKeyValues
public boolean isSetKeyValues()
Returns true if field keyValues is set (has been assigned a value) and false otherwise
-
setKeyValuesIsSet
public void setKeyValuesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(KeyValues._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._Fields>
-
getFieldValue
public Object getFieldValue(KeyValues._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._Fields>
-
isSet
public boolean isSet(KeyValues._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<KeyValues,KeyValues._Fields>
-
equals
public boolean equals(KeyValues that)
-
compareTo
public int compareTo(KeyValues other)
- Specified by:
compareToin interfaceComparable<KeyValues>
-
fieldForId
public KeyValues._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._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
-
-