MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / GetSuccess

Method GetSuccess

rpc/client.go:28607–28612  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28605
28606var IClientRPCServiceOpenSessionResult_Success_DEFAULT *TSOpenSessionResp
28607func (p *IClientRPCServiceOpenSessionResult) GetSuccess() *TSOpenSessionResp {
28608 if !p.IsSetSuccess() {
28609 return IClientRPCServiceOpenSessionResult_Success_DEFAULT
28610 }
28611return p.Success
28612}
28613func (p *IClientRPCServiceOpenSessionResult) IsSetSuccess() bool {
28614 return p.Success != nil
28615}

Callers 1

OpenSessionMethod · 0.95

Calls 1

IsSetSuccessMethod · 0.95

Tested by

no test coverage detected