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

Method writeField0

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

Source from the content-addressed store, hash-verified

32661}
32662
32663func (p *IClientRPCServiceDeleteTimeseriesResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) {
32664 if p.IsSetSuccess() {
32665 if err := oprot.WriteFieldBegin(ctx, "success", thrift.STRUCT, 0); err != nil {
32666 return thrift.PrependError(fmt.Sprintf("%T write field begin error 0:success: ", p), err) }
32667 if err := p.Success.Write(ctx, oprot); err != nil {
32668 return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Success), err)
32669 }
32670 if err := oprot.WriteFieldEnd(ctx); err != nil {
32671 return thrift.PrependError(fmt.Sprintf("%T write field end error 0:success: ", p), err) }
32672 }
32673 return err
32674}
32675
32676func (p *IClientRPCServiceDeleteTimeseriesResult) String() string {
32677 if p == nil {

Callers 1

WriteMethod · 0.95

Calls 2

IsSetSuccessMethod · 0.95
WriteMethod · 0.45

Tested by

no test coverage detected