| 1938 | } |
| 1939 | |
| 1940 | func (p *TSExecuteStatementResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 1941 | if p.IsSetQueryId() { |
| 1942 | if err := oprot.WriteFieldBegin(ctx, "queryId", thrift.I64, 2); err != nil { |
| 1943 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryId: ", p), err) } |
| 1944 | if err := oprot.WriteI64(ctx, int64(*p.QueryId)); err != nil { |
| 1945 | return thrift.PrependError(fmt.Sprintf("%T.queryId (2) field write error: ", p), err) } |
| 1946 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 1947 | return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryId: ", p), err) } |
| 1948 | } |
| 1949 | return err |
| 1950 | } |
| 1951 | |
| 1952 | func (p *TSExecuteStatementResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 1953 | if p.IsSetColumns() { |