Class TRange
- java.lang.Object
-
- org.apache.accumulo.core.dataImpl.thrift.TRange
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TRange>
,org.apache.thrift.TBase<TRange,TRange._Fields>
,org.apache.thrift.TSerializable
public class TRange extends Object implements org.apache.thrift.TBase<TRange,TRange._Fields>, Serializable, Cloneable, Comparable<TRange>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TRange._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
infiniteStartKey
boolean
infiniteStopKey
static Map<TRange._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
TKey
start
boolean
startKeyInclusive
TKey
stop
boolean
stopKeyInclusive
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TRange other)
TRange
deepCopy()
boolean
equals(Object that)
boolean
equals(TRange that)
TRange._Fields
fieldForId(int fieldId)
Object
getFieldValue(TRange._Fields field)
TKey
getStart()
TKey
getStop()
int
hashCode()
boolean
isInfiniteStartKey()
boolean
isInfiniteStopKey()
boolean
isSet(TRange._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetInfiniteStartKey()
Returns true if field infiniteStartKey is set (has been assigned a value) and false otherwiseboolean
isSetInfiniteStopKey()
Returns true if field infiniteStopKey is set (has been assigned a value) and false otherwiseboolean
isSetStart()
Returns true if field start is set (has been assigned a value) and false otherwiseboolean
isSetStartKeyInclusive()
Returns true if field startKeyInclusive is set (has been assigned a value) and false otherwiseboolean
isSetStop()
Returns true if field stop is set (has been assigned a value) and false otherwiseboolean
isSetStopKeyInclusive()
Returns true if field stopKeyInclusive is set (has been assigned a value) and false otherwiseboolean
isStartKeyInclusive()
boolean
isStopKeyInclusive()
void
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(TRange._Fields field, Object value)
TRange
setInfiniteStartKey(boolean infiniteStartKey)
void
setInfiniteStartKeyIsSet(boolean value)
TRange
setInfiniteStopKey(boolean infiniteStopKey)
void
setInfiniteStopKeyIsSet(boolean value)
TRange
setStart(TKey start)
void
setStartIsSet(boolean value)
TRange
setStartKeyInclusive(boolean startKeyInclusive)
void
setStartKeyInclusiveIsSet(boolean value)
TRange
setStop(TKey stop)
void
setStopIsSet(boolean value)
TRange
setStopKeyInclusive(boolean stopKeyInclusive)
void
setStopKeyInclusiveIsSet(boolean value)
String
toString()
void
unsetInfiniteStartKey()
void
unsetInfiniteStopKey()
void
unsetStart()
void
unsetStartKeyInclusive()
void
unsetStop()
void
unsetStopKeyInclusive()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
start
public TKey start
-
stop
public TKey stop
-
startKeyInclusive
public boolean startKeyInclusive
-
stopKeyInclusive
public boolean stopKeyInclusive
-
infiniteStartKey
public boolean infiniteStartKey
-
infiniteStopKey
public boolean infiniteStopKey
-
metaDataMap
public static final Map<TRange._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TRange deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
getStart
public TKey getStart()
-
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)
-
getStop
public TKey getStop()
-
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)
-
isStartKeyInclusive
public boolean isStartKeyInclusive()
-
setStartKeyInclusive
public TRange setStartKeyInclusive(boolean startKeyInclusive)
-
unsetStartKeyInclusive
public void unsetStartKeyInclusive()
-
isSetStartKeyInclusive
public boolean isSetStartKeyInclusive()
Returns true if field startKeyInclusive is set (has been assigned a value) and false otherwise
-
setStartKeyInclusiveIsSet
public void setStartKeyInclusiveIsSet(boolean value)
-
isStopKeyInclusive
public boolean isStopKeyInclusive()
-
setStopKeyInclusive
public TRange setStopKeyInclusive(boolean stopKeyInclusive)
-
unsetStopKeyInclusive
public void unsetStopKeyInclusive()
-
isSetStopKeyInclusive
public boolean isSetStopKeyInclusive()
Returns true if field stopKeyInclusive is set (has been assigned a value) and false otherwise
-
setStopKeyInclusiveIsSet
public void setStopKeyInclusiveIsSet(boolean value)
-
isInfiniteStartKey
public boolean isInfiniteStartKey()
-
setInfiniteStartKey
public TRange setInfiniteStartKey(boolean infiniteStartKey)
-
unsetInfiniteStartKey
public void unsetInfiniteStartKey()
-
isSetInfiniteStartKey
public boolean isSetInfiniteStartKey()
Returns true if field infiniteStartKey is set (has been assigned a value) and false otherwise
-
setInfiniteStartKeyIsSet
public void setInfiniteStartKeyIsSet(boolean value)
-
isInfiniteStopKey
public boolean isInfiniteStopKey()
-
setInfiniteStopKey
public TRange setInfiniteStopKey(boolean infiniteStopKey)
-
unsetInfiniteStopKey
public void unsetInfiniteStopKey()
-
isSetInfiniteStopKey
public boolean isSetInfiniteStopKey()
Returns true if field infiniteStopKey is set (has been assigned a value) and false otherwise
-
setInfiniteStopKeyIsSet
public void setInfiniteStopKeyIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TRange._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
getFieldValue
public Object getFieldValue(TRange._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
isSet
public boolean isSet(TRange._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<TRange,TRange._Fields>
-
equals
public boolean equals(TRange that)
-
compareTo
public int compareTo(TRange other)
- Specified by:
compareTo
in interfaceComparable<TRange>
-
fieldForId
public TRange._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TSerializable
- 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.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-