org.apache.accumulo.proxy.thrift
public class Range extends Object implements org.apache.thrift.TBase<Range,Range._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Range._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<Range._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Key |
start |
boolean |
startInclusive |
Key |
stop |
boolean |
stopInclusive |
Constructor and Description |
---|
Range() |
Range(Key start,
boolean startInclusive,
Key stop,
boolean stopInclusive) |
Range(Range other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
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) |
public Key start
public boolean startInclusive
public Key stop
public boolean stopInclusive
public static final Map<Range._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Range()
public Range(Range other)
public Range deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Range,Range._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Range,Range._Fields>
public Key getStart()
public void unsetStart()
public boolean isSetStart()
public void setStartIsSet(boolean value)
public boolean isStartInclusive()
public Range setStartInclusive(boolean startInclusive)
public void unsetStartInclusive()
public boolean isSetStartInclusive()
public void setStartInclusiveIsSet(boolean value)
public Key getStop()
public void unsetStop()
public boolean isSetStop()
public void setStopIsSet(boolean value)
public boolean isStopInclusive()
public Range setStopInclusive(boolean stopInclusive)
public void unsetStopInclusive()
public boolean isSetStopInclusive()
public void setStopInclusiveIsSet(boolean value)
public void setFieldValue(Range._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Range,Range._Fields>
public Object getFieldValue(Range._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Range,Range._Fields>
public boolean isSet(Range._Fields field)
isSet
in interface org.apache.thrift.TBase<Range,Range._Fields>
public boolean equals(Range that)
public int compareTo(Range other)
compareTo
in interface Comparable<Range>
public Range._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Range,Range._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Range,Range._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<Range,Range._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.