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

Method ReadField1

rpc/client.go:31900–31906  ·  view source on GitHub ↗
(ctx context.Context, iprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

31898}
31899
31900func (p *IClientRPCServiceCreateTimeseriesArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
31901 p.Req = &TSCreateTimeseriesReq{}
31902 if err := p.Req.Read(ctx, iprot); err != nil {
31903 return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Req), err)
31904 }
31905 return nil
31906}
31907
31908func (p *IClientRPCServiceCreateTimeseriesArgs) Write(ctx context.Context, oprot thrift.TProtocol) error {
31909 if err := oprot.WriteStructBegin(ctx, "createTimeseries_args"); err != nil {

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected