@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-25") public class TTimeRange extends Object implements org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>, Serializable, Cloneable, Comparable<TTimeRange>
Modifier and Type | Class and Description |
---|---|
static class |
TTimeRange._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
maxStamp |
static Map<TTimeRange._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
minStamp |
Constructor and Description |
---|
TTimeRange() |
TTimeRange(long minStamp,
long maxStamp) |
TTimeRange(TTimeRange other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TTimeRange other) |
TTimeRange |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TTimeRange that) |
TTimeRange._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TTimeRange._Fields field) |
long |
getMaxStamp() |
long |
getMinStamp() |
int |
hashCode() |
boolean |
isSet(TTimeRange._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxStamp()
Returns true if field maxStamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetMinStamp()
Returns true if field minStamp is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TTimeRange._Fields field,
Object value) |
TTimeRange |
setMaxStamp(long maxStamp) |
void |
setMaxStampIsSet(boolean value) |
TTimeRange |
setMinStamp(long minStamp) |
void |
setMinStampIsSet(boolean value) |
String |
toString() |
void |
unsetMaxStamp() |
void |
unsetMinStamp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long minStamp
public long maxStamp
public static final Map<TTimeRange._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TTimeRange()
public TTimeRange(long minStamp, long maxStamp)
public TTimeRange(TTimeRange other)
public TTimeRange deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public long getMinStamp()
public TTimeRange setMinStamp(long minStamp)
public void unsetMinStamp()
public boolean isSetMinStamp()
public void setMinStampIsSet(boolean value)
public long getMaxStamp()
public TTimeRange setMaxStamp(long maxStamp)
public void unsetMaxStamp()
public boolean isSetMaxStamp()
public void setMaxStampIsSet(boolean value)
public void setFieldValue(TTimeRange._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public Object getFieldValue(TTimeRange._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public boolean isSet(TTimeRange._Fields field)
isSet
in interface org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public boolean equals(TTimeRange that)
public int compareTo(TTimeRange other)
compareTo
in interface Comparable<TTimeRange>
public TTimeRange._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TTimeRange,TTimeRange._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<TTimeRange,TTimeRange._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 Cloudera. All rights reserved.