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

Method ReadField1

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

Source from the content-addressed store, hash-verified

2413}
2414
2415func (p *TSOpenSessionResp) ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
2416 p.Status = &common.TSStatus{}
2417 if err := p.Status.Read(ctx, iprot); err != nil {
2418 return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err)
2419 }
2420 return nil
2421}
2422
2423func (p *TSOpenSessionResp) ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
2424 if v, err := iprot.ReadI32(ctx); err != nil {

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected