Class TSetSpaceQuotaReq
- java.lang.Object
-
- org.apache.iotdb.common.rpc.thrift.TSetSpaceQuotaReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSetSpaceQuotaReq>,org.apache.thrift.TBase<TSetSpaceQuotaReq,TSetSpaceQuotaReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSetSpaceQuotaReq extends Object implements org.apache.thrift.TBase<TSetSpaceQuotaReq,TSetSpaceQuotaReq._Fields>, Serializable, Cloneable, Comparable<TSetSpaceQuotaReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSetSpaceQuotaReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<String>databasestatic Map<TSetSpaceQuotaReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSpaceQuotaspaceLimit
-
Constructor Summary
Constructors Constructor Description TSetSpaceQuotaReq()TSetSpaceQuotaReq(List<String> database, TSpaceQuota spaceLimit)TSetSpaceQuotaReq(TSetSpaceQuotaReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToDatabase(String elem)voidclear()intcompareTo(TSetSpaceQuotaReq other)TSetSpaceQuotaReqdeepCopy()booleanequals(Object that)booleanequals(TSetSpaceQuotaReq that)TSetSpaceQuotaReq._FieldsfieldForId(int fieldId)List<String>getDatabase()Iterator<String>getDatabaseIterator()intgetDatabaseSize()ObjectgetFieldValue(TSetSpaceQuotaReq._Fields field)TSpaceQuotagetSpaceLimit()inthashCode()booleanisSet(TSetSpaceQuotaReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDatabase()Returns true if field database is set (has been assigned a value) and false otherwisebooleanisSetSpaceLimit()Returns true if field spaceLimit is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TSetSpaceQuotaReqsetDatabase(List<String> database)voidsetDatabaseIsSet(boolean value)voidsetFieldValue(TSetSpaceQuotaReq._Fields field, Object value)TSetSpaceQuotaReqsetSpaceLimit(TSpaceQuota spaceLimit)voidsetSpaceLimitIsSet(boolean value)StringtoString()voidunsetDatabase()voidunsetSpaceLimit()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
spaceLimit
public TSpaceQuota spaceLimit
-
metaDataMap
public static final Map<TSetSpaceQuotaReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSetSpaceQuotaReq
public TSetSpaceQuotaReq()
-
TSetSpaceQuotaReq
public TSetSpaceQuotaReq(List<String> database, TSpaceQuota spaceLimit)
-
TSetSpaceQuotaReq
public TSetSpaceQuotaReq(TSetSpaceQuotaReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSetSpaceQuotaReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSetSpaceQuotaReq,TSetSpaceQuotaReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSetSpaceQuotaReq,TSetSpaceQuotaReq._Fields>
-
getDatabaseSize
public int getDatabaseSize()
-
addToDatabase
public void addToDatabase(String elem)
-
setDatabase
public TSetSpaceQuotaReq setDatabase(List<String> database)
-
unsetDatabase
public void unsetDatabase()
-
isSetDatabase
public boolean isSetDatabase()
Returns true if field database is set (has been assigned a value) and false otherwise
-
setDatabaseIsSet
public void setDatabaseIsSet(boolean value)
-
getSpaceLimit
public TSpaceQuota getSpaceLimit()
-
setSpaceLimit
public TSetSpaceQuotaReq setSpaceLimit(TSpaceQuota spaceLimit)
-
unsetSpaceLimit
public void unsetSpaceLimit()
-
isSetSpaceLimit
public boolean isSetSpaceLimit()
Returns true if field spaceLimit is set (has been assigned a value) and false otherwise
-
setSpaceLimitIsSet
public void setSpaceLimitIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSetSpaceQuotaReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSetSpaceQuotaReq,TSetSpaceQuotaReq._Fields>
-
getFieldValue
public Object getFieldValue(TSetSpaceQuotaReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSetSpaceQuotaReq,TSetSpaceQuotaReq._Fields>
-
isSet
public boolean isSet(TSetSpaceQuotaReq._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<TSetSpaceQuotaReq,TSetSpaceQuotaReq._Fields>
-
equals
public boolean equals(TSetSpaceQuotaReq that)
-
compareTo
public int compareTo(TSetSpaceQuotaReq other)
- Specified by:
compareToin interfaceComparable<TSetSpaceQuotaReq>
-
fieldForId
public TSetSpaceQuotaReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSetSpaceQuotaReq,TSetSpaceQuotaReq._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
-
-