Class TSpaceQuotaResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TSpaceQuotaResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSpaceQuotaResp>,org.apache.thrift.TBase<TSpaceQuotaResp,TSpaceQuotaResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TSpaceQuotaResp extends Object implements org.apache.thrift.TBase<TSpaceQuotaResp,TSpaceQuotaResp._Fields>, Serializable, Cloneable, Comparable<TSpaceQuotaResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSpaceQuotaResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TSpaceQuotaResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapMap<String,TSpaceQuota>spaceQuotaMap<String,TSpaceQuota>spaceQuotaUsageTSStatusstatus
-
Constructor Summary
Constructors Constructor Description TSpaceQuotaResp()TSpaceQuotaResp(TSStatus status)TSpaceQuotaResp(TSpaceQuotaResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSpaceQuotaResp other)TSpaceQuotaRespdeepCopy()booleanequals(Object that)booleanequals(TSpaceQuotaResp that)TSpaceQuotaResp._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSpaceQuotaResp._Fields field)Map<String,TSpaceQuota>getSpaceQuota()intgetSpaceQuotaSize()Map<String,TSpaceQuota>getSpaceQuotaUsage()intgetSpaceQuotaUsageSize()TSStatusgetStatus()inthashCode()booleanisSet(TSpaceQuotaResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetSpaceQuota()Returns true if field spaceQuota is set (has been assigned a value) and false otherwisebooleanisSetSpaceQuotaUsage()Returns true if field spaceQuotaUsage is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidputToSpaceQuota(String key, TSpaceQuota val)voidputToSpaceQuotaUsage(String key, TSpaceQuota val)voidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSpaceQuotaResp._Fields field, Object value)TSpaceQuotaRespsetSpaceQuota(Map<String,TSpaceQuota> spaceQuota)voidsetSpaceQuotaIsSet(boolean value)TSpaceQuotaRespsetSpaceQuotaUsage(Map<String,TSpaceQuota> spaceQuotaUsage)voidsetSpaceQuotaUsageIsSet(boolean value)TSpaceQuotaRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetSpaceQuota()voidunsetSpaceQuotaUsage()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
spaceQuota
public Map<String,TSpaceQuota> spaceQuota
-
spaceQuotaUsage
public Map<String,TSpaceQuota> spaceQuotaUsage
-
metaDataMap
public static final Map<TSpaceQuotaResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSpaceQuotaResp
public TSpaceQuotaResp()
-
TSpaceQuotaResp
public TSpaceQuotaResp(TSStatus status)
-
TSpaceQuotaResp
public TSpaceQuotaResp(TSpaceQuotaResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSpaceQuotaResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSpaceQuotaResp,TSpaceQuotaResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSpaceQuotaResp,TSpaceQuotaResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TSpaceQuotaResp setStatus(TSStatus status)
-
unsetStatus
public void unsetStatus()
-
isSetStatus
public boolean isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
-
setStatusIsSet
public void setStatusIsSet(boolean value)
-
getSpaceQuotaSize
public int getSpaceQuotaSize()
-
putToSpaceQuota
public void putToSpaceQuota(String key, TSpaceQuota val)
-
getSpaceQuota
public Map<String,TSpaceQuota> getSpaceQuota()
-
setSpaceQuota
public TSpaceQuotaResp setSpaceQuota(Map<String,TSpaceQuota> spaceQuota)
-
unsetSpaceQuota
public void unsetSpaceQuota()
-
isSetSpaceQuota
public boolean isSetSpaceQuota()
Returns true if field spaceQuota is set (has been assigned a value) and false otherwise
-
setSpaceQuotaIsSet
public void setSpaceQuotaIsSet(boolean value)
-
getSpaceQuotaUsageSize
public int getSpaceQuotaUsageSize()
-
putToSpaceQuotaUsage
public void putToSpaceQuotaUsage(String key, TSpaceQuota val)
-
getSpaceQuotaUsage
public Map<String,TSpaceQuota> getSpaceQuotaUsage()
-
setSpaceQuotaUsage
public TSpaceQuotaResp setSpaceQuotaUsage(Map<String,TSpaceQuota> spaceQuotaUsage)
-
unsetSpaceQuotaUsage
public void unsetSpaceQuotaUsage()
-
isSetSpaceQuotaUsage
public boolean isSetSpaceQuotaUsage()
Returns true if field spaceQuotaUsage is set (has been assigned a value) and false otherwise
-
setSpaceQuotaUsageIsSet
public void setSpaceQuotaUsageIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSpaceQuotaResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSpaceQuotaResp,TSpaceQuotaResp._Fields>
-
getFieldValue
public Object getFieldValue(TSpaceQuotaResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSpaceQuotaResp,TSpaceQuotaResp._Fields>
-
isSet
public boolean isSet(TSpaceQuotaResp._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<TSpaceQuotaResp,TSpaceQuotaResp._Fields>
-
equals
public boolean equals(TSpaceQuotaResp that)
-
compareTo
public int compareTo(TSpaceQuotaResp other)
- Specified by:
compareToin interfaceComparable<TSpaceQuotaResp>
-
fieldForId
public TSpaceQuotaResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSpaceQuotaResp,TSpaceQuotaResp._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
-
-