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 classTRange._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleaninfiniteStartKeybooleaninfiniteStopKeystatic Map<TRange._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTKeystartbooleanstartKeyInclusiveTKeystopbooleanstopKeyInclusive
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TRange other)TRangedeepCopy()booleanequals(Object that)booleanequals(TRange that)TRange._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TRange._Fields field)TKeygetStart()TKeygetStop()inthashCode()booleanisInfiniteStartKey()booleanisInfiniteStopKey()booleanisSet(TRange._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetInfiniteStartKey()Returns true if field infiniteStartKey is set (has been assigned a value) and false otherwisebooleanisSetInfiniteStopKey()Returns true if field infiniteStopKey is set (has been assigned a value) and false otherwisebooleanisSetStart()Returns true if field start is set (has been assigned a value) and false otherwisebooleanisSetStartKeyInclusive()Returns true if field startKeyInclusive is set (has been assigned a value) and false otherwisebooleanisSetStop()Returns true if field stop is set (has been assigned a value) and false otherwisebooleanisSetStopKeyInclusive()Returns true if field stopKeyInclusive is set (has been assigned a value) and false otherwisebooleanisStartKeyInclusive()booleanisStopKeyInclusive()voidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TRange._Fields field, Object value)TRangesetInfiniteStartKey(boolean infiniteStartKey)voidsetInfiniteStartKeyIsSet(boolean value)TRangesetInfiniteStopKey(boolean infiniteStopKey)voidsetInfiniteStopKeyIsSet(boolean value)TRangesetStart(TKey start)voidsetStartIsSet(boolean value)TRangesetStartKeyInclusive(boolean startKeyInclusive)voidsetStartKeyInclusiveIsSet(boolean value)TRangesetStop(TKey stop)voidsetStopIsSet(boolean value)TRangesetStopKeyInclusive(boolean stopKeyInclusive)voidsetStopKeyInclusiveIsSet(boolean value)StringtoString()voidunsetInfiniteStartKey()voidunsetInfiniteStopKey()voidunsetStart()voidunsetStartKeyInclusive()voidunsetStop()voidunsetStopKeyInclusive()voidvalidate()voidwrite(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:
deepCopyin interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
clear
public void clear()
- Specified by:
clearin 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:
setFieldValuein interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
getFieldValue
public Object getFieldValue(TRange._Fields field)
- Specified by:
getFieldValuein 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:
isSetin interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
equals
public boolean equals(TRange that)
-
compareTo
public int compareTo(TRange other)
- Specified by:
compareToin interfaceComparable<TRange>
-
fieldForId
public TRange._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TRange,TRange._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-