Class TTimedQuota
java.lang.Object
org.apache.iotdb.common.rpc.thrift.TTimedQuota
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TTimedQuota>,org.apache.thrift.TBase<TTimedQuota,,TTimedQuota._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)",
date="2025-09-08")
public class TTimedQuota
extends Object
implements org.apache.thrift.TBase<TTimedQuota,TTimedQuota._Fields>, Serializable, Cloneable, Comparable<TTimedQuota>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<TTimedQuota._Fields,org.apache.thrift.meta_data.FieldMetaData> longlong -
Constructor Summary
ConstructorsConstructorDescriptionTTimedQuota(long timeUnit, long softLimit) TTimedQuota(TTimedQuota other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TTimedQuota other) deepCopy()booleanbooleanequals(TTimedQuota that) fieldForId(int fieldId) getFieldValue(TTimedQuota._Fields field) longlonginthashCode()booleanisSet(TTimedQuota._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field softLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field timeUnit is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(TTimedQuota._Fields field, Object value) setSoftLimit(long softLimit) voidsetSoftLimitIsSet(boolean value) setTimeUnit(long timeUnit) voidsetTimeUnitIsSet(boolean value) toString()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
timeUnit
public long timeUnit -
softLimit
public long softLimit -
metaDataMap
-
-
Constructor Details
-
TTimedQuota
public TTimedQuota() -
TTimedQuota
public TTimedQuota(long timeUnit, long softLimit) -
TTimedQuota
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TTimedQuota,TTimedQuota._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TTimedQuota,TTimedQuota._Fields>
-
getTimeUnit
public long getTimeUnit() -
setTimeUnit
-
unsetTimeUnit
public void unsetTimeUnit() -
isSetTimeUnit
public boolean isSetTimeUnit()Returns true if field timeUnit is set (has been assigned a value) and false otherwise -
setTimeUnitIsSet
public void setTimeUnitIsSet(boolean value) -
getSoftLimit
public long getSoftLimit() -
setSoftLimit
-
unsetSoftLimit
public void unsetSoftLimit() -
isSetSoftLimit
public boolean isSetSoftLimit()Returns true if field softLimit is set (has been assigned a value) and false otherwise -
setSoftLimitIsSet
public void setSoftLimitIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TTimedQuota,TTimedQuota._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TTimedQuota,TTimedQuota._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<TTimedQuota,TTimedQuota._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TTimedQuota>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TTimedQuota,TTimedQuota._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
-