org.apache.accumulo.proxy.thrift
public class KeyValueAndPeek extends Object implements org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
KeyValueAndPeek._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
boolean |
hasNext |
KeyValue |
keyValue |
static Map<KeyValueAndPeek._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
KeyValueAndPeek() |
KeyValueAndPeek(KeyValueAndPeek other)
Performs a deep copy on other.
|
KeyValueAndPeek(KeyValue keyValue,
boolean hasNext) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(KeyValueAndPeek other) |
KeyValueAndPeek |
deepCopy() |
boolean |
equals(KeyValueAndPeek that) |
boolean |
equals(Object that) |
KeyValueAndPeek._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(KeyValueAndPeek._Fields field) |
KeyValue |
getKeyValue() |
int |
hashCode() |
boolean |
isHasNext() |
boolean |
isSet(KeyValueAndPeek._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetHasNext()
Returns true if field hasNext is set (has been assigned a value) and false otherwise
|
boolean |
isSetKeyValue()
Returns true if field keyValue is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(KeyValueAndPeek._Fields field,
Object value) |
KeyValueAndPeek |
setHasNext(boolean hasNext) |
void |
setHasNextIsSet(boolean value) |
KeyValueAndPeek |
setKeyValue(KeyValue keyValue) |
void |
setKeyValueIsSet(boolean value) |
String |
toString() |
void |
unsetHasNext() |
void |
unsetKeyValue() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public KeyValue keyValue
public boolean hasNext
public static final Map<KeyValueAndPeek._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public KeyValueAndPeek()
public KeyValueAndPeek(KeyValue keyValue, boolean hasNext)
public KeyValueAndPeek(KeyValueAndPeek other)
public KeyValueAndPeek deepCopy()
deepCopy
in interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
public KeyValue getKeyValue()
public KeyValueAndPeek setKeyValue(KeyValue keyValue)
public void unsetKeyValue()
public boolean isSetKeyValue()
public void setKeyValueIsSet(boolean value)
public boolean isHasNext()
public KeyValueAndPeek setHasNext(boolean hasNext)
public void unsetHasNext()
public boolean isSetHasNext()
public void setHasNextIsSet(boolean value)
public void setFieldValue(KeyValueAndPeek._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
public Object getFieldValue(KeyValueAndPeek._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
public boolean isSet(KeyValueAndPeek._Fields field)
isSet
in interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
public boolean equals(KeyValueAndPeek that)
public int compareTo(KeyValueAndPeek other)
compareTo
in interface Comparable<KeyValueAndPeek>
public KeyValueAndPeek._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._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<KeyValueAndPeek,KeyValueAndPeek._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.