| 5567 | } |
| 5568 | |
| 5569 | func (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 ++ { |
| 5577 | var _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 | |
| 5591 | func (p *TSFetchResultsResp) ReadField7(ctx context.Context, iprot thrift.TProtocol) error { |
| 5592 | if v, err := iprot.ReadBool(ctx); err != nil { |