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 class
KeyValues._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 List<TKeyValue>
keyValues
static Map<KeyValues._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToKeyValues(TKeyValue elem)
void
clear()
int
compareTo(KeyValues other)
KeyValues
deepCopy()
boolean
equals(Object that)
boolean
equals(KeyValues that)
KeyValues._Fields
fieldForId(int fieldId)
Object
getFieldValue(KeyValues._Fields field)
List<TKeyValue>
getKeyValues()
Iterator<TKeyValue>
getKeyValuesIterator()
int
getKeyValuesSize()
int
hashCode()
boolean
isSet(KeyValues._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetKeyValues()
Returns true if field keyValues is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(KeyValues._Fields field, Object value)
KeyValues
setKeyValues(List<TKeyValue> keyValues)
void
setKeyValuesIsSet(boolean value)
String
toString()
void
unsetKeyValues()
void
validate()
void
write(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:
deepCopy
in interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._Fields>
-
clear
public void clear()
- Specified by:
clear
in 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:
setFieldValue
in interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._Fields>
-
getFieldValue
public Object getFieldValue(KeyValues._Fields field)
- Specified by:
getFieldValue
in 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:
isSet
in interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._Fields>
-
equals
public boolean equals(KeyValues that)
-
compareTo
public int compareTo(KeyValues other)
- Specified by:
compareTo
in interfaceComparable<KeyValues>
-
fieldForId
public KeyValues._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<KeyValues,KeyValues._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
-
-