(ctx context.Context, oprot thrift.TProtocol)
| 5674 | } |
| 5675 | |
| 5676 | func (p *TSFetchResultsResp) writeField6(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5677 | if p.IsSetQueryResult_() { |
| 5678 | if err := oprot.WriteFieldBegin(ctx, "queryResult", thrift.LIST, 6); err != nil { |
| 5679 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 6:queryResult: ", p), err) } |
| 5680 | if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.QueryResult_)); err != nil { |
| 5681 | return thrift.PrependError("error writing list begin: ", err) |
| 5682 | } |
| 5683 | for _, v := range p.QueryResult_ { |
| 5684 | if err := oprot.WriteBinary(ctx, v); err != nil { |
| 5685 | return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) } |
| 5686 | } |
| 5687 | if err := oprot.WriteListEnd(ctx); err != nil { |
| 5688 | return thrift.PrependError("error writing list end: ", err) |
| 5689 | } |
| 5690 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 5691 | return thrift.PrependError(fmt.Sprintf("%T write field end error 6:queryResult: ", p), err) } |
| 5692 | } |
| 5693 | return err |
| 5694 | } |
| 5695 | |
| 5696 | func (p *TSFetchResultsResp) writeField7(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5697 | if p.IsSetMoreData() { |
no test coverage detected