org.apache.accumulo.proxy.thrift
Class KeyValueAndPeek

java.lang.Object
  extended by 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

See Also:
Serialized Form

Nested Class Summary
static class KeyValueAndPeek._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 boolean hasNext
           
 KeyValue keyValue
           
static Map<KeyValueAndPeek._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
KeyValueAndPeek()
           
KeyValueAndPeek(KeyValueAndPeek other)
          Performs a deep copy on other.
KeyValueAndPeek(KeyValue keyValue, boolean hasNext)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>

clear

public void clear()
Specified by:
clear in interface org.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 interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>

getFieldValue

public Object getFieldValue(KeyValueAndPeek._Fields field)
Specified by:
getFieldValue in interface org.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 interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(KeyValueAndPeek that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(KeyValueAndPeek other)
Specified by:
compareTo in interface Comparable<KeyValueAndPeek>

fieldForId

public KeyValueAndPeek._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.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 interface org.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 interface org.apache.thrift.TBase<KeyValueAndPeek,KeyValueAndPeek._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.