public class KeyValues extends Object implements org.apache.thrift.TBase<KeyValues,KeyValues._Fields>, Serializable, Cloneable, Comparable<KeyValues>
Modifier and Type | Class and Description |
---|---|
static class |
KeyValues._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<TKeyValue> |
keyValues |
static Map<KeyValues._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
KeyValues() |
KeyValues(KeyValues other)
Performs a deep copy on other.
|
KeyValues(List<TKeyValue> keyValues) |
Modifier and Type | Method and Description |
---|---|
void |
addToKeyValues(TKeyValue elem) |
void |
clear() |
int |
compareTo(KeyValues other) |
KeyValues |
deepCopy() |
boolean |
equals(KeyValues that) |
boolean |
equals(Object 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 otherwise
|
boolean |
isSetKeyValues()
Returns true if field keyValues is set (has been assigned a value) and false otherwise
|
void |
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) |
public static final Map<KeyValues._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public KeyValues()
public KeyValues(KeyValues other)
public KeyValues deepCopy()
deepCopy
in interface org.apache.thrift.TBase<KeyValues,KeyValues._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<KeyValues,KeyValues._Fields>
public int getKeyValuesSize()
public void addToKeyValues(TKeyValue elem)
public void unsetKeyValues()
public boolean isSetKeyValues()
public void setKeyValuesIsSet(boolean value)
public void setFieldValue(KeyValues._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<KeyValues,KeyValues._Fields>
public Object getFieldValue(KeyValues._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<KeyValues,KeyValues._Fields>
public boolean isSet(KeyValues._Fields field)
isSet
in interface org.apache.thrift.TBase<KeyValues,KeyValues._Fields>
public boolean equals(KeyValues that)
public int compareTo(KeyValues other)
compareTo
in interface Comparable<KeyValues>
public KeyValues._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<KeyValues,KeyValues._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<KeyValues,KeyValues._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<KeyValues,KeyValues._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.