Class TTestConnectionResult
java.lang.Object
org.apache.iotdb.common.rpc.thrift.TTestConnectionResult
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TTestConnectionResult>,org.apache.thrift.TBase<TTestConnectionResult,,TTestConnectionResult._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)",
date="2025-09-08")
public class TTestConnectionResult
extends Object
implements org.apache.thrift.TBase<TTestConnectionResult,TTestConnectionResult._Fields>, Serializable, Cloneable, Comparable<TTestConnectionResult>
- 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 TypeFieldDescriptionstatic final Map<TTestConnectionResult._Fields,org.apache.thrift.meta_data.FieldMetaData> boolean -
Constructor Summary
ConstructorsConstructorDescriptionTTestConnectionResult(TServiceProvider serviceProvider, TSender sender, boolean success) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TTestConnectionResult other) deepCopy()booleanbooleanequals(TTestConnectionResult that) fieldForId(int fieldId) inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field reason is set (has been assigned a value) and false otherwisebooleanReturns true if field sender is set (has been assigned a value) and false otherwisebooleanReturns true if field serviceProvider is set (has been assigned a value) and false otherwisebooleanReturns true if field success is set (has been assigned a value) and false otherwisebooleanvoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(TTestConnectionResult._Fields field, Object value) voidsetReasonIsSet(boolean value) voidsetSenderIsSet(boolean value) setServiceProvider(TServiceProvider serviceProvider) voidsetServiceProviderIsSet(boolean value) setSuccess(boolean success) voidsetSuccessIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
serviceProvider
-
sender
-
success
public boolean success -
reason
-
metaDataMap
public static final Map<TTestConnectionResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TTestConnectionResult
public TTestConnectionResult() -
TTestConnectionResult
-
TTestConnectionResult
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TTestConnectionResult,TTestConnectionResult._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TTestConnectionResult,TTestConnectionResult._Fields>
-
getServiceProvider
-
setServiceProvider
-
unsetServiceProvider
public void unsetServiceProvider() -
isSetServiceProvider
public boolean isSetServiceProvider()Returns true if field serviceProvider is set (has been assigned a value) and false otherwise -
setServiceProviderIsSet
public void setServiceProviderIsSet(boolean value) -
getSender
-
setSender
-
unsetSender
public void unsetSender() -
isSetSender
public boolean isSetSender()Returns true if field sender is set (has been assigned a value) and false otherwise -
setSenderIsSet
public void setSenderIsSet(boolean value) -
isSuccess
public boolean isSuccess() -
setSuccess
-
unsetSuccess
public void unsetSuccess() -
isSetSuccess
public boolean isSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwise -
setSuccessIsSet
public void setSuccessIsSet(boolean value) -
getReason
-
setReason
-
unsetReason
public void unsetReason() -
isSetReason
public boolean isSetReason()Returns true if field reason is set (has been assigned a value) and false otherwise -
setReasonIsSet
public void setReasonIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TTestConnectionResult,TTestConnectionResult._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TTestConnectionResult,TTestConnectionResult._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<TTestConnectionResult,TTestConnectionResult._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TTestConnectionResult>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TTestConnectionResult,TTestConnectionResult._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
-