org.apache.accumulo.proxy.thrift
Class Range

java.lang.Object
  extended by org.apache.accumulo.proxy.thrift.Range
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Range>, org.apache.thrift.TBase<Range,Range._Fields>

public class Range
extends Object
implements org.apache.thrift.TBase<Range,Range._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class Range._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Range._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 Key start
           
 boolean startInclusive
           
 Key stop
           
 boolean stopInclusive
           
 
Constructor Summary
Range()
           
Range(Key start, boolean startInclusive, Key stop, boolean stopInclusive)
           
Range(Range other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(Range other)
           
 Range deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(Range that)
           
 Range._Fields fieldForId(int fieldId)
           
 Object getFieldValue(Range._Fields field)
           
 Key getStart()
           
 Key getStop()
           
 int hashCode()
           
 boolean isSet(Range._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetStart()
          Returns true if field start is set (has been assigned a value) and false otherwise
 boolean isSetStartInclusive()
          Returns true if field startInclusive is set (has been assigned a value) and false otherwise
 boolean isSetStop()
          Returns true if field stop is set (has been assigned a value) and false otherwise
 boolean isSetStopInclusive()
          Returns true if field stopInclusive is set (has been assigned a value) and false otherwise
 boolean isStartInclusive()
           
 boolean isStopInclusive()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(Range._Fields field, Object value)
           
 Range setStart(Key start)
           
 Range setStartInclusive(boolean startInclusive)
           
 void setStartInclusiveIsSet(boolean value)
           
 void setStartIsSet(boolean value)
           
 Range setStop(Key stop)
           
 Range setStopInclusive(boolean stopInclusive)
           
 void setStopInclusiveIsSet(boolean value)
           
 void setStopIsSet(boolean value)
           
 String toString()
           
 void unsetStart()
           
 void unsetStartInclusive()
           
 void unsetStop()
           
 void unsetStopInclusive()
           
 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

start

public Key start

startInclusive

public boolean startInclusive

stop

public Key stop

stopInclusive

public boolean stopInclusive

metaDataMap

public static final Map<Range._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

Range

public Range()

Range

public Range(Key start,
             boolean startInclusive,
             Key stop,
             boolean stopInclusive)

Range

public Range(Range other)
Performs a deep copy on other.

Method Detail

deepCopy

public Range deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<Range,Range._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<Range,Range._Fields>

getStart

public Key getStart()

setStart

public Range setStart(Key start)

unsetStart

public void unsetStart()

isSetStart

public boolean isSetStart()
Returns true if field start is set (has been assigned a value) and false otherwise


setStartIsSet

public void setStartIsSet(boolean value)

isStartInclusive

public boolean isStartInclusive()

setStartInclusive

public Range setStartInclusive(boolean startInclusive)

unsetStartInclusive

public void unsetStartInclusive()

isSetStartInclusive

public boolean isSetStartInclusive()
Returns true if field startInclusive is set (has been assigned a value) and false otherwise


setStartInclusiveIsSet

public void setStartInclusiveIsSet(boolean value)

getStop

public Key getStop()

setStop

public Range setStop(Key stop)

unsetStop

public void unsetStop()

isSetStop

public boolean isSetStop()
Returns true if field stop is set (has been assigned a value) and false otherwise


setStopIsSet

public void setStopIsSet(boolean value)

isStopInclusive

public boolean isStopInclusive()

setStopInclusive

public Range setStopInclusive(boolean stopInclusive)

unsetStopInclusive

public void unsetStopInclusive()

isSetStopInclusive

public boolean isSetStopInclusive()
Returns true if field stopInclusive is set (has been assigned a value) and false otherwise


setStopInclusiveIsSet

public void setStopInclusiveIsSet(boolean value)

setFieldValue

public void setFieldValue(Range._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<Range,Range._Fields>

getFieldValue

public Object getFieldValue(Range._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<Range,Range._Fields>

isSet

public boolean isSet(Range._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<Range,Range._Fields>

equals

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

equals

public boolean equals(Range that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

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