| 1927 | } |
| 1928 | |
| 1929 | func (p *TSExecuteStatementResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 1930 | if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil { |
| 1931 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) } |
| 1932 | if err := p.Status.Write(ctx, oprot); err != nil { |
| 1933 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err) |
| 1934 | } |
| 1935 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 1936 | return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) } |
| 1937 | return err |
| 1938 | } |
| 1939 | |
| 1940 | func (p *TSExecuteStatementResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 1941 | if p.IsSetQueryId() { |