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

Method Write

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

Source from the content-addressed store, hash-verified

30445}
30446
30447func (p *IClientRPCServiceCloseOperationResult) Write(ctx context.Context, oprot thrift.TProtocol) error {
30448 if err := oprot.WriteStructBegin(ctx, "closeOperation_result"); err != nil {
30449 return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
30450 if p != nil {
30451 if err := p.writeField0(ctx, oprot); err != nil { return err }
30452 }
30453 if err := oprot.WriteFieldStop(ctx); err != nil {
30454 return thrift.PrependError("write field stop error: ", err) }
30455 if err := oprot.WriteStructEnd(ctx); err != nil {
30456 return thrift.PrependError("write struct stop error: ", err) }
30457 return nil
30458}
30459
30460func (p *IClientRPCServiceCloseOperationResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) {
30461 if p.IsSetSuccess() {

Callers 1

ProcessMethod · 0.95

Calls 1

writeField0Method · 0.95

Tested by

no test coverage detected