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="2025-09-08")
public class TSpaceQuota
extends Object
implements org.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._Fields>, Serializable, Cloneable, Comparable<TSpaceQuota>
- 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 TypeFieldDescriptionlonglongstatic final Map<TSpaceQuota._Fields,org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TSpaceQuota other) deepCopy()booleanbooleanequals(TSpaceQuota that) fieldForId(int fieldId) longlonggetFieldValue(TSpaceQuota._Fields field) longinthashCode()booleanisSet(TSpaceQuota._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field deviceNum is set (has been assigned a value) and false otherwisebooleanReturns true if field diskSize is set (has been assigned a value) and false otherwisebooleanReturns true if field timeserieNum is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setDeviceNum(long deviceNum) voidsetDeviceNumIsSet(boolean value) setDiskSize(long diskSize) voidsetDiskSizeIsSet(boolean value) voidsetFieldValue(TSpaceQuota._Fields field, Object value) setTimeserieNum(long timeserieNum) voidsetTimeserieNumIsSet(boolean value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
diskSize
public long diskSize -
deviceNum
public long deviceNum -
timeserieNum
public long timeserieNum -
metaDataMap
-
-
Constructor Details
-
TSpaceQuota
public TSpaceQuota() -
TSpaceQuota
Performs a deep copy on other.
-
-
Method Details
-
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
-
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
-
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
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSpaceQuota,TSpaceQuota._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<TSpaceQuota,TSpaceQuota._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TSpaceQuota>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-