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

Method Write

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

Source from the content-addressed store, hash-verified

32004}
32005
32006func (p *IClientRPCServiceCreateTimeseriesResult) Write(ctx context.Context, oprot thrift.TProtocol) error {
32007 if err := oprot.WriteStructBegin(ctx, "createTimeseries_result"); err != nil {
32008 return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
32009 if p != nil {
32010 if err := p.writeField0(ctx, oprot); err != nil { return err }
32011 }
32012 if err := oprot.WriteFieldStop(ctx); err != nil {
32013 return thrift.PrependError("write field stop error: ", err) }
32014 if err := oprot.WriteStructEnd(ctx); err != nil {
32015 return thrift.PrependError("write struct stop error: ", err) }
32016 return nil
32017}
32018
32019func (p *IClientRPCServiceCreateTimeseriesResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) {
32020 if p.IsSetSuccess() {

Callers 1

ProcessMethod · 0.95

Calls 1

writeField0Method · 0.95

Tested by

no test coverage detected