Class IClientRPCService.handshake_result
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.IClientRPCService.handshake_result
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<IClientRPCService.handshake_result>,org.apache.thrift.TBase<IClientRPCService.handshake_result,IClientRPCService.handshake_result._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- IClientRPCService
public static class IClientRPCService.handshake_result extends Object implements org.apache.thrift.TBase<IClientRPCService.handshake_result,IClientRPCService.handshake_result._Fields>, Serializable, Cloneable, Comparable<IClientRPCService.handshake_result>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIClientRPCService.handshake_result._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<IClientRPCService.handshake_result._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSStatussuccess
-
Constructor Summary
Constructors Constructor Description handshake_result()handshake_result(TSStatus success)handshake_result(IClientRPCService.handshake_result other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(IClientRPCService.handshake_result other)IClientRPCService.handshake_resultdeepCopy()booleanequals(Object that)booleanequals(IClientRPCService.handshake_result that)IClientRPCService.handshake_result._FieldsfieldForId(int fieldId)ObjectgetFieldValue(IClientRPCService.handshake_result._Fields field)TSStatusgetSuccess()inthashCode()booleanisSet(IClientRPCService.handshake_result._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(IClientRPCService.handshake_result._Fields field, Object value)IClientRPCService.handshake_resultsetSuccess(TSStatus success)voidsetSuccessIsSet(boolean value)StringtoString()voidunsetSuccess()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
success
public TSStatus success
-
metaDataMap
public static final Map<IClientRPCService.handshake_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
handshake_result
public handshake_result()
-
handshake_result
public handshake_result(TSStatus success)
-
handshake_result
public handshake_result(IClientRPCService.handshake_result other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public IClientRPCService.handshake_result deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<IClientRPCService.handshake_result,IClientRPCService.handshake_result._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<IClientRPCService.handshake_result,IClientRPCService.handshake_result._Fields>
-
getSuccess
public TSStatus getSuccess()
-
setSuccess
public IClientRPCService.handshake_result setSuccess(TSStatus success)
-
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)
-
setFieldValue
public void setFieldValue(IClientRPCService.handshake_result._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<IClientRPCService.handshake_result,IClientRPCService.handshake_result._Fields>
-
getFieldValue
public Object getFieldValue(IClientRPCService.handshake_result._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<IClientRPCService.handshake_result,IClientRPCService.handshake_result._Fields>
-
isSet
public boolean isSet(IClientRPCService.handshake_result._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<IClientRPCService.handshake_result,IClientRPCService.handshake_result._Fields>
-
equals
public boolean equals(IClientRPCService.handshake_result that)
-
compareTo
public int compareTo(IClientRPCService.handshake_result other)
- Specified by:
compareToin interfaceComparable<IClientRPCService.handshake_result>
-
fieldForId
public IClientRPCService.handshake_result._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<IClientRPCService.handshake_result,IClientRPCService.handshake_result._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
-
-