@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-05-07") public class TTimeRange extends Object implements org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>, Serializable, Cloneable, Comparable<TTimeRange>
限定符和类型 | 类和说明 |
---|---|
static class |
TTimeRange._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
限定符和类型 | 字段和说明 |
---|---|
long |
maxStamp |
static Map<TTimeRange._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
minStamp |
构造器和说明 |
---|
TTimeRange() |
TTimeRange(long minStamp,
long maxStamp) |
TTimeRange(TTimeRange other)
Performs a deep copy on other.
|
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public void clear()
clear
在接口中 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
在接口中 org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public Object getFieldValue(TTimeRange._Fields field)
getFieldValue
在接口中 org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public boolean isSet(TTimeRange._Fields field)
isSet
在接口中 org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public boolean equals(TTimeRange that)
public int compareTo(TTimeRange other)
compareTo
在接口中 Comparable<TTimeRange>
public TTimeRange._Fields fieldForId(int fieldId)
fieldForId
在接口中 org.apache.thrift.TBase<TTimeRange,TTimeRange._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
在接口中 org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
在接口中 org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.