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

Method writeField0

rpc/client.go:36079–36090  ·  view source on GitHub ↗
(ctx context.Context, oprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

36077}
36078
36079func (p *IClientRPCServiceDeleteDataResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) {
36080 if p.IsSetSuccess() {
36081 if err := oprot.WriteFieldBegin(ctx, "success", thrift.STRUCT, 0); err != nil {
36082 return thrift.PrependError(fmt.Sprintf("%T write field begin error 0:success: ", p), err) }
36083 if err := p.Success.Write(ctx, oprot); err != nil {
36084 return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Success), err)
36085 }
36086 if err := oprot.WriteFieldEnd(ctx); err != nil {
36087 return thrift.PrependError(fmt.Sprintf("%T write field end error 0:success: ", p), err) }
36088 }
36089 return err
36090}
36091
36092func (p *IClientRPCServiceDeleteDataResult) String() string {
36093 if p == nil {

Callers 1

WriteMethod · 0.95

Calls 2

IsSetSuccessMethod · 0.95
WriteMethod · 0.45

Tested by

no test coverage detected