Package org.apache.accumulo.proxy.thrift
Class KeyValueAndPeek
- java.lang.Object
-
- org.apache.accumulo.proxy.thrift.KeyValueAndPeek
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<KeyValueAndPeek>
,org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
public class KeyValueAndPeek extends Object implements org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>, Serializable, Cloneable, Comparable<KeyValueAndPeek>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyValueAndPeek._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 boolean
hasNext
KeyValue
keyValue
static Map<KeyValueAndPeek._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description KeyValueAndPeek()
KeyValueAndPeek(KeyValueAndPeek other)
Performs a deep copy on other.KeyValueAndPeek(KeyValue keyValue, boolean hasNext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(KeyValueAndPeek other)
KeyValueAndPeek
deepCopy()
boolean
equals(Object that)
boolean
equals(KeyValueAndPeek 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 otherwiseboolean
isSetHasNext()
Returns true if field hasNext is set (has been assigned a value) and false otherwiseboolean
isSetKeyValue()
Returns true if field keyValue is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
Field Detail
-
keyValue
public KeyValue keyValue
-
hasNext
public boolean hasNext
-
metaDataMap
public static final Map<KeyValueAndPeek._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
KeyValueAndPeek
public KeyValueAndPeek()
-
KeyValueAndPeek
public KeyValueAndPeek(KeyValue keyValue, boolean hasNext)
-
KeyValueAndPeek
public KeyValueAndPeek(KeyValueAndPeek other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public KeyValueAndPeek deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
-
getKeyValue
public KeyValue getKeyValue()
-
setKeyValue
public KeyValueAndPeek setKeyValue(KeyValue keyValue)
-
unsetKeyValue
public void unsetKeyValue()
-
isSetKeyValue
public boolean isSetKeyValue()
Returns true if field keyValue is set (has been assigned a value) and false otherwise
-
setKeyValueIsSet
public void setKeyValueIsSet(boolean value)
-
isHasNext
public boolean isHasNext()
-
setHasNext
public KeyValueAndPeek setHasNext(boolean hasNext)
-
unsetHasNext
public void unsetHasNext()
-
isSetHasNext
public boolean isSetHasNext()
Returns true if field hasNext is set (has been assigned a value) and false otherwise
-
setHasNextIsSet
public void setHasNextIsSet(boolean value)
-
setFieldValue
public void setFieldValue(KeyValueAndPeek._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
-
getFieldValue
public Object getFieldValue(KeyValueAndPeek._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
-
isSet
public boolean isSet(KeyValueAndPeek._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<KeyValueAndPeek,KeyValueAndPeek._Fields>
-
equals
public boolean equals(KeyValueAndPeek that)
-
compareTo
public int compareTo(KeyValueAndPeek other)
- Specified by:
compareTo
in interfaceComparable<KeyValueAndPeek>
-
fieldForId
public KeyValueAndPeek._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
- 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.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-