| 5694 | } |
| 5695 | |
| 5696 | func (p *TSFetchResultsResp) writeField7(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5697 | if p.IsSetMoreData() { |
| 5698 | if err := oprot.WriteFieldBegin(ctx, "moreData", thrift.BOOL, 7); err != nil { |
| 5699 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 7:moreData: ", p), err) } |
| 5700 | if err := oprot.WriteBool(ctx, bool(*p.MoreData)); err != nil { |
| 5701 | return thrift.PrependError(fmt.Sprintf("%T.moreData (7) field write error: ", p), err) } |
| 5702 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 5703 | return thrift.PrependError(fmt.Sprintf("%T write field end error 7:moreData: ", p), err) } |
| 5704 | } |
| 5705 | return err |
| 5706 | } |
| 5707 | |
| 5708 | func (p *TSFetchResultsResp) Equals(other *TSFetchResultsResp) bool { |
| 5709 | if p == other { |