(ctx context.Context, oprot thrift.TProtocol)
| 5944 | } |
| 5945 | |
| 5946 | func (p *TSFetchMetadataResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5947 | if p.IsSetMetadataInJson() { |
| 5948 | if err := oprot.WriteFieldBegin(ctx, "metadataInJson", thrift.STRING, 2); err != nil { |
| 5949 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:metadataInJson: ", p), err) } |
| 5950 | if err := oprot.WriteString(ctx, string(*p.MetadataInJson)); err != nil { |
| 5951 | return thrift.PrependError(fmt.Sprintf("%T.metadataInJson (2) field write error: ", p), err) } |
| 5952 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 5953 | return thrift.PrependError(fmt.Sprintf("%T write field end error 2:metadataInJson: ", p), err) } |
| 5954 | } |
| 5955 | return err |
| 5956 | } |
| 5957 | |
| 5958 | func (p *TSFetchMetadataResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5959 | if p.IsSetColumnsList() { |
no test coverage detected