Package dev.vality.xrates.rate
Class EventRange
java.lang.Object
dev.vality.xrates.rate.EventRange
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<EventRange>,org.apache.thrift.TBase<EventRange,EventRange._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-02-22")
public class EventRange
extends Object
implements org.apache.thrift.TBase<EventRange,EventRange._Fields>, Serializable, Cloneable, Comparable<EventRange>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventRange._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longafterintlimitstatic Map<EventRange._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description EventRange()EventRange(int limit)EventRange(EventRange other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(EventRange other)EventRangedeepCopy()booleanequals(EventRange that)booleanequals(Object that)EventRange._FieldsfieldForId(int fieldId)longgetAfter()Map<EventRange._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()EventRange._Fields[]getFields()ObjectgetFieldValue(EventRange._Fields field)intgetLimit()inthashCode()booleanisSet(EventRange._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAfter()Returns true if field after is set (has been assigned a value) and false otherwisebooleanisSetLimit()Returns true if field limit is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)EventRangesetAfter(long after)voidsetAfterIsSet(boolean value)voidsetFieldValue(EventRange._Fields field, Object value)EventRangesetLimit(int limit)voidsetLimitIsSet(boolean value)StringtoString()voidunsetAfter()voidunsetLimit()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
after
public long after -
limit
public int limit -
metaDataMap
-
-
Constructor Details
-
EventRange
public EventRange() -
EventRange
public EventRange(int limit) -
EventRange
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<EventRange,EventRange._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<EventRange,EventRange._Fields>
-
getAfter
public long getAfter() -
setAfter
-
unsetAfter
public void unsetAfter() -
isSetAfter
public boolean isSetAfter()Returns true if field after is set (has been assigned a value) and false otherwise -
setAfterIsSet
public void setAfterIsSet(boolean value) -
getLimit
public int getLimit() -
setLimit
-
unsetLimit
public void unsetLimit() -
isSetLimit
public boolean isSetLimit()Returns true if field limit is set (has been assigned a value) and false otherwise -
setLimitIsSet
public void setLimitIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<EventRange,EventRange._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<EventRange,EventRange._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<EventRange,EventRange._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<EventRange>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<EventRange,EventRange._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<EventRange,EventRange._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<EventRange,EventRange._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-