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

Method ReadField6

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

Source from the content-addressed store, hash-verified

5567}
5568
5569func (p *TSFetchResultsResp) ReadField6(ctx context.Context, iprot thrift.TProtocol) error {
5570 _, size, err := iprot.ReadListBegin(ctx)
5571 if err != nil {
5572 return thrift.PrependError("error reading list begin: ", err)
5573 }
5574 tSlice := make([][]byte, 0, size)
5575 p.QueryResult_ = tSlice
5576 for i := 0; i < size; i ++ {
5577var _elem35 []byte
5578 if v, err := iprot.ReadBinary(ctx); err != nil {
5579 return thrift.PrependError("error reading field 0: ", err)
5580} else {
5581 _elem35 = v
5582}
5583 p.QueryResult_ = append(p.QueryResult_, _elem35)
5584 }
5585 if err := iprot.ReadListEnd(ctx); err != nil {
5586 return thrift.PrependError("error reading list end: ", err)
5587 }
5588 return nil
5589}
5590
5591func (p *TSFetchResultsResp) ReadField7(ctx context.Context, iprot thrift.TProtocol) error {
5592 if v, err := iprot.ReadBool(ctx); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected