Class TSpaceQuota
- java.lang.Object
-
- org.apache.iotdb.common.rpc.thrift.TSpaceQuota
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSpaceQuota>,org.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSpaceQuota extends Object implements org.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._Fields>, Serializable, Cloneable, Comparable<TSpaceQuota>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSpaceQuota._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longdeviceNumlongdiskSizestatic Map<TSpaceQuota._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongtimeserieNum
-
Constructor Summary
Constructors Constructor Description TSpaceQuota()TSpaceQuota(TSpaceQuota other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSpaceQuota other)TSpaceQuotadeepCopy()booleanequals(Object that)booleanequals(TSpaceQuota that)TSpaceQuota._FieldsfieldForId(int fieldId)longgetDeviceNum()longgetDiskSize()ObjectgetFieldValue(TSpaceQuota._Fields field)longgetTimeserieNum()inthashCode()booleanisSet(TSpaceQuota._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDeviceNum()Returns true if field deviceNum is set (has been assigned a value) and false otherwisebooleanisSetDiskSize()Returns true if field diskSize is set (has been assigned a value) and false otherwisebooleanisSetTimeserieNum()Returns true if field timeserieNum is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TSpaceQuotasetDeviceNum(long deviceNum)voidsetDeviceNumIsSet(boolean value)TSpaceQuotasetDiskSize(long diskSize)voidsetDiskSizeIsSet(boolean value)voidsetFieldValue(TSpaceQuota._Fields field, Object value)TSpaceQuotasetTimeserieNum(long timeserieNum)voidsetTimeserieNumIsSet(boolean value)StringtoString()voidunsetDeviceNum()voidunsetDiskSize()voidunsetTimeserieNum()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
diskSize
public long diskSize
-
deviceNum
public long deviceNum
-
timeserieNum
public long timeserieNum
-
metaDataMap
public static final Map<TSpaceQuota._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSpaceQuota
public TSpaceQuota()
-
TSpaceQuota
public TSpaceQuota(TSpaceQuota other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSpaceQuota deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._Fields>
-
getDiskSize
public long getDiskSize()
-
setDiskSize
public TSpaceQuota setDiskSize(long diskSize)
-
unsetDiskSize
public void unsetDiskSize()
-
isSetDiskSize
public boolean isSetDiskSize()
Returns true if field diskSize is set (has been assigned a value) and false otherwise
-
setDiskSizeIsSet
public void setDiskSizeIsSet(boolean value)
-
getDeviceNum
public long getDeviceNum()
-
setDeviceNum
public TSpaceQuota setDeviceNum(long deviceNum)
-
unsetDeviceNum
public void unsetDeviceNum()
-
isSetDeviceNum
public boolean isSetDeviceNum()
Returns true if field deviceNum is set (has been assigned a value) and false otherwise
-
setDeviceNumIsSet
public void setDeviceNumIsSet(boolean value)
-
getTimeserieNum
public long getTimeserieNum()
-
setTimeserieNum
public TSpaceQuota setTimeserieNum(long timeserieNum)
-
unsetTimeserieNum
public void unsetTimeserieNum()
-
isSetTimeserieNum
public boolean isSetTimeserieNum()
Returns true if field timeserieNum is set (has been assigned a value) and false otherwise
-
setTimeserieNumIsSet
public void setTimeserieNumIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSpaceQuota._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._Fields>
-
getFieldValue
public Object getFieldValue(TSpaceQuota._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._Fields>
-
isSet
public boolean isSet(TSpaceQuota._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<TSpaceQuota,TSpaceQuota._Fields>
-
equals
public boolean equals(TSpaceQuota that)
-
compareTo
public int compareTo(TSpaceQuota other)
- Specified by:
compareToin interfaceComparable<TSpaceQuota>
-
fieldForId
public TSpaceQuota._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._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
-
-