Class ServerProperties
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.ServerProperties
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ServerProperties>,org.apache.thrift.TBase<ServerProperties,ServerProperties._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class ServerProperties extends Object implements org.apache.thrift.TBase<ServerProperties,ServerProperties._Fields>, Serializable, Cloneable, Comparable<ServerProperties>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerProperties._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringbuildInfobooleanisReadOnlyStringlogointmaxConcurrentClientNumstatic Map<ServerProperties._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>supportedTimeAggregationOperationsintthriftMaxFrameSizeStringtimestampPrecisionStringversion
-
Constructor Summary
Constructors Constructor Description ServerProperties()ServerProperties(String version, List<String> supportedTimeAggregationOperations, String timestampPrecision, int maxConcurrentClientNum)ServerProperties(ServerProperties other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToSupportedTimeAggregationOperations(String elem)voidclear()intcompareTo(ServerProperties other)ServerPropertiesdeepCopy()booleanequals(Object that)booleanequals(ServerProperties that)ServerProperties._FieldsfieldForId(int fieldId)StringgetBuildInfo()ObjectgetFieldValue(ServerProperties._Fields field)StringgetLogo()intgetMaxConcurrentClientNum()List<String>getSupportedTimeAggregationOperations()Iterator<String>getSupportedTimeAggregationOperationsIterator()intgetSupportedTimeAggregationOperationsSize()intgetThriftMaxFrameSize()StringgetTimestampPrecision()StringgetVersion()inthashCode()booleanisIsReadOnly()booleanisSet(ServerProperties._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBuildInfo()Returns true if field buildInfo is set (has been assigned a value) and false otherwisebooleanisSetIsReadOnly()Returns true if field isReadOnly is set (has been assigned a value) and false otherwisebooleanisSetLogo()Returns true if field logo is set (has been assigned a value) and false otherwisebooleanisSetMaxConcurrentClientNum()Returns true if field maxConcurrentClientNum is set (has been assigned a value) and false otherwisebooleanisSetSupportedTimeAggregationOperations()Returns true if field supportedTimeAggregationOperations is set (has been assigned a value) and false otherwisebooleanisSetThriftMaxFrameSize()Returns true if field thriftMaxFrameSize is set (has been assigned a value) and false otherwisebooleanisSetTimestampPrecision()Returns true if field timestampPrecision is set (has been assigned a value) and false otherwisebooleanisSetVersion()Returns true if field version is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ServerPropertiessetBuildInfo(String buildInfo)voidsetBuildInfoIsSet(boolean value)voidsetFieldValue(ServerProperties._Fields field, Object value)ServerPropertiessetIsReadOnly(boolean isReadOnly)voidsetIsReadOnlyIsSet(boolean value)ServerPropertiessetLogo(String logo)voidsetLogoIsSet(boolean value)ServerPropertiessetMaxConcurrentClientNum(int maxConcurrentClientNum)voidsetMaxConcurrentClientNumIsSet(boolean value)ServerPropertiessetSupportedTimeAggregationOperations(List<String> supportedTimeAggregationOperations)voidsetSupportedTimeAggregationOperationsIsSet(boolean value)ServerPropertiessetThriftMaxFrameSize(int thriftMaxFrameSize)voidsetThriftMaxFrameSizeIsSet(boolean value)ServerPropertiessetTimestampPrecision(String timestampPrecision)voidsetTimestampPrecisionIsSet(boolean value)ServerPropertiessetVersion(String version)voidsetVersionIsSet(boolean value)StringtoString()voidunsetBuildInfo()voidunsetIsReadOnly()voidunsetLogo()voidunsetMaxConcurrentClientNum()voidunsetSupportedTimeAggregationOperations()voidunsetThriftMaxFrameSize()voidunsetTimestampPrecision()voidunsetVersion()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
version
public String version
-
timestampPrecision
public String timestampPrecision
-
maxConcurrentClientNum
public int maxConcurrentClientNum
-
thriftMaxFrameSize
public int thriftMaxFrameSize
-
isReadOnly
public boolean isReadOnly
-
buildInfo
public String buildInfo
-
logo
public String logo
-
metaDataMap
public static final Map<ServerProperties._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ServerProperties
public ServerProperties()
-
ServerProperties
public ServerProperties(String version, List<String> supportedTimeAggregationOperations, String timestampPrecision, int maxConcurrentClientNum)
-
ServerProperties
public ServerProperties(ServerProperties other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ServerProperties deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ServerProperties,ServerProperties._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<ServerProperties,ServerProperties._Fields>
-
getVersion
public String getVersion()
-
setVersion
public ServerProperties setVersion(String version)
-
unsetVersion
public void unsetVersion()
-
isSetVersion
public boolean isSetVersion()
Returns true if field version is set (has been assigned a value) and false otherwise
-
setVersionIsSet
public void setVersionIsSet(boolean value)
-
getSupportedTimeAggregationOperationsSize
public int getSupportedTimeAggregationOperationsSize()
-
getSupportedTimeAggregationOperationsIterator
public Iterator<String> getSupportedTimeAggregationOperationsIterator()
-
addToSupportedTimeAggregationOperations
public void addToSupportedTimeAggregationOperations(String elem)
-
setSupportedTimeAggregationOperations
public ServerProperties setSupportedTimeAggregationOperations(List<String> supportedTimeAggregationOperations)
-
unsetSupportedTimeAggregationOperations
public void unsetSupportedTimeAggregationOperations()
-
isSetSupportedTimeAggregationOperations
public boolean isSetSupportedTimeAggregationOperations()
Returns true if field supportedTimeAggregationOperations is set (has been assigned a value) and false otherwise
-
setSupportedTimeAggregationOperationsIsSet
public void setSupportedTimeAggregationOperationsIsSet(boolean value)
-
getTimestampPrecision
public String getTimestampPrecision()
-
setTimestampPrecision
public ServerProperties setTimestampPrecision(String timestampPrecision)
-
unsetTimestampPrecision
public void unsetTimestampPrecision()
-
isSetTimestampPrecision
public boolean isSetTimestampPrecision()
Returns true if field timestampPrecision is set (has been assigned a value) and false otherwise
-
setTimestampPrecisionIsSet
public void setTimestampPrecisionIsSet(boolean value)
-
getMaxConcurrentClientNum
public int getMaxConcurrentClientNum()
-
setMaxConcurrentClientNum
public ServerProperties setMaxConcurrentClientNum(int maxConcurrentClientNum)
-
unsetMaxConcurrentClientNum
public void unsetMaxConcurrentClientNum()
-
isSetMaxConcurrentClientNum
public boolean isSetMaxConcurrentClientNum()
Returns true if field maxConcurrentClientNum is set (has been assigned a value) and false otherwise
-
setMaxConcurrentClientNumIsSet
public void setMaxConcurrentClientNumIsSet(boolean value)
-
getThriftMaxFrameSize
public int getThriftMaxFrameSize()
-
setThriftMaxFrameSize
public ServerProperties setThriftMaxFrameSize(int thriftMaxFrameSize)
-
unsetThriftMaxFrameSize
public void unsetThriftMaxFrameSize()
-
isSetThriftMaxFrameSize
public boolean isSetThriftMaxFrameSize()
Returns true if field thriftMaxFrameSize is set (has been assigned a value) and false otherwise
-
setThriftMaxFrameSizeIsSet
public void setThriftMaxFrameSizeIsSet(boolean value)
-
isIsReadOnly
public boolean isIsReadOnly()
-
setIsReadOnly
public ServerProperties setIsReadOnly(boolean isReadOnly)
-
unsetIsReadOnly
public void unsetIsReadOnly()
-
isSetIsReadOnly
public boolean isSetIsReadOnly()
Returns true if field isReadOnly is set (has been assigned a value) and false otherwise
-
setIsReadOnlyIsSet
public void setIsReadOnlyIsSet(boolean value)
-
getBuildInfo
public String getBuildInfo()
-
setBuildInfo
public ServerProperties setBuildInfo(String buildInfo)
-
unsetBuildInfo
public void unsetBuildInfo()
-
isSetBuildInfo
public boolean isSetBuildInfo()
Returns true if field buildInfo is set (has been assigned a value) and false otherwise
-
setBuildInfoIsSet
public void setBuildInfoIsSet(boolean value)
-
getLogo
public String getLogo()
-
setLogo
public ServerProperties setLogo(String logo)
-
unsetLogo
public void unsetLogo()
-
isSetLogo
public boolean isSetLogo()
Returns true if field logo is set (has been assigned a value) and false otherwise
-
setLogoIsSet
public void setLogoIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ServerProperties._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ServerProperties,ServerProperties._Fields>
-
getFieldValue
public Object getFieldValue(ServerProperties._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ServerProperties,ServerProperties._Fields>
-
isSet
public boolean isSet(ServerProperties._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<ServerProperties,ServerProperties._Fields>
-
equals
public boolean equals(ServerProperties that)
-
compareTo
public int compareTo(ServerProperties other)
- Specified by:
compareToin interfaceComparable<ServerProperties>
-
fieldForId
public ServerProperties._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ServerProperties,ServerProperties._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
-
-