Class TLicense
java.lang.Object
org.apache.iotdb.common.rpc.thrift.TLicense
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TLicense>,org.apache.thrift.TBase<TLicense,,TLicense._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)",
date="2025-09-08")
public class TLicense
extends Object
implements org.apache.thrift.TBase<TLicense,TLicense._Fields>, Serializable, Cloneable, Comparable<TLicense>
- 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 TypeFieldDescriptionintshortlonglonglonglongstatic final Map<TLicense._Fields,org.apache.thrift.meta_data.FieldMetaData> shortlong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intshortlonglonglonggetFieldValue(TLicense._Fields field) longshortlonginthashCode()booleanisSet(TLicense._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field cpuCoreNumLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field dataNodeNumLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field deviceNumLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field disconnectionFromActiveNodeTimeLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field expireTimestamp is set (has been assigned a value) and false otherwisebooleanReturns true if field licenseIssueTimestamp is set (has been assigned a value) and false otherwisebooleanReturns true if field mlNodeNumLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field sensorNumLimit is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCpuCoreNumLimit(int cpuCoreNumLimit) voidsetCpuCoreNumLimitIsSet(boolean value) setDataNodeNumLimit(short dataNodeNumLimit) voidsetDataNodeNumLimitIsSet(boolean value) setDeviceNumLimit(long deviceNumLimit) voidsetDeviceNumLimitIsSet(boolean value) setDisconnectionFromActiveNodeTimeLimit(long disconnectionFromActiveNodeTimeLimit) voidsetDisconnectionFromActiveNodeTimeLimitIsSet(boolean value) setExpireTimestamp(long expireTimestamp) voidsetExpireTimestampIsSet(boolean value) voidsetFieldValue(TLicense._Fields field, Object value) setLicenseIssueTimestamp(long licenseIssueTimestamp) voidsetLicenseIssueTimestampIsSet(boolean value) setMlNodeNumLimit(short mlNodeNumLimit) voidsetMlNodeNumLimitIsSet(boolean value) setSensorNumLimit(long sensorNumLimit) voidsetSensorNumLimitIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
licenseIssueTimestamp
public long licenseIssueTimestamp -
expireTimestamp
public long expireTimestamp -
dataNodeNumLimit
public short dataNodeNumLimit -
cpuCoreNumLimit
public int cpuCoreNumLimit -
deviceNumLimit
public long deviceNumLimit -
sensorNumLimit
public long sensorNumLimit -
disconnectionFromActiveNodeTimeLimit
public long disconnectionFromActiveNodeTimeLimit -
mlNodeNumLimit
public short mlNodeNumLimit -
metaDataMap
-
-
Constructor Details
-
TLicense
public TLicense() -
TLicense
public TLicense(long licenseIssueTimestamp, long expireTimestamp, short dataNodeNumLimit, int cpuCoreNumLimit, long deviceNumLimit, long sensorNumLimit, long disconnectionFromActiveNodeTimeLimit, short mlNodeNumLimit) -
TLicense
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TLicense,TLicense._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TLicense,TLicense._Fields>
-
getLicenseIssueTimestamp
public long getLicenseIssueTimestamp() -
setLicenseIssueTimestamp
-
unsetLicenseIssueTimestamp
public void unsetLicenseIssueTimestamp() -
isSetLicenseIssueTimestamp
public boolean isSetLicenseIssueTimestamp()Returns true if field licenseIssueTimestamp is set (has been assigned a value) and false otherwise -
setLicenseIssueTimestampIsSet
public void setLicenseIssueTimestampIsSet(boolean value) -
getExpireTimestamp
public long getExpireTimestamp() -
setExpireTimestamp
-
unsetExpireTimestamp
public void unsetExpireTimestamp() -
isSetExpireTimestamp
public boolean isSetExpireTimestamp()Returns true if field expireTimestamp is set (has been assigned a value) and false otherwise -
setExpireTimestampIsSet
public void setExpireTimestampIsSet(boolean value) -
getDataNodeNumLimit
public short getDataNodeNumLimit() -
setDataNodeNumLimit
-
unsetDataNodeNumLimit
public void unsetDataNodeNumLimit() -
isSetDataNodeNumLimit
public boolean isSetDataNodeNumLimit()Returns true if field dataNodeNumLimit is set (has been assigned a value) and false otherwise -
setDataNodeNumLimitIsSet
public void setDataNodeNumLimitIsSet(boolean value) -
getCpuCoreNumLimit
public int getCpuCoreNumLimit() -
setCpuCoreNumLimit
-
unsetCpuCoreNumLimit
public void unsetCpuCoreNumLimit() -
isSetCpuCoreNumLimit
public boolean isSetCpuCoreNumLimit()Returns true if field cpuCoreNumLimit is set (has been assigned a value) and false otherwise -
setCpuCoreNumLimitIsSet
public void setCpuCoreNumLimitIsSet(boolean value) -
getDeviceNumLimit
public long getDeviceNumLimit() -
setDeviceNumLimit
-
unsetDeviceNumLimit
public void unsetDeviceNumLimit() -
isSetDeviceNumLimit
public boolean isSetDeviceNumLimit()Returns true if field deviceNumLimit is set (has been assigned a value) and false otherwise -
setDeviceNumLimitIsSet
public void setDeviceNumLimitIsSet(boolean value) -
getSensorNumLimit
public long getSensorNumLimit() -
setSensorNumLimit
-
unsetSensorNumLimit
public void unsetSensorNumLimit() -
isSetSensorNumLimit
public boolean isSetSensorNumLimit()Returns true if field sensorNumLimit is set (has been assigned a value) and false otherwise -
setSensorNumLimitIsSet
public void setSensorNumLimitIsSet(boolean value) -
getDisconnectionFromActiveNodeTimeLimit
public long getDisconnectionFromActiveNodeTimeLimit() -
setDisconnectionFromActiveNodeTimeLimit
-
unsetDisconnectionFromActiveNodeTimeLimit
public void unsetDisconnectionFromActiveNodeTimeLimit() -
isSetDisconnectionFromActiveNodeTimeLimit
public boolean isSetDisconnectionFromActiveNodeTimeLimit()Returns true if field disconnectionFromActiveNodeTimeLimit is set (has been assigned a value) and false otherwise -
setDisconnectionFromActiveNodeTimeLimitIsSet
public void setDisconnectionFromActiveNodeTimeLimitIsSet(boolean value) -
getMlNodeNumLimit
public short getMlNodeNumLimit() -
setMlNodeNumLimit
-
unsetMlNodeNumLimit
public void unsetMlNodeNumLimit() -
isSetMlNodeNumLimit
public boolean isSetMlNodeNumLimit()Returns true if field mlNodeNumLimit is set (has been assigned a value) and false otherwise -
setMlNodeNumLimitIsSet
public void setMlNodeNumLimitIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TLicense,TLicense._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TLicense,TLicense._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<TLicense,TLicense._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TLicense>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TLicense,TLicense._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
-