| 5617 | } |
| 5618 | |
| 5619 | func (p *TSFetchResultsResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5620 | if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil { |
| 5621 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) } |
| 5622 | if err := p.Status.Write(ctx, oprot); err != nil { |
| 5623 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err) |
| 5624 | } |
| 5625 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 5626 | return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) } |
| 5627 | return err |
| 5628 | } |
| 5629 | |
| 5630 | func (p *TSFetchResultsResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5631 | if err := oprot.WriteFieldBegin(ctx, "hasResultSet", thrift.BOOL, 2); err != nil { |