| 1950 | } |
| 1951 | |
| 1952 | func (p *TSExecuteStatementResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 1953 | if p.IsSetColumns() { |
| 1954 | if err := oprot.WriteFieldBegin(ctx, "columns", thrift.LIST, 3); err != nil { |
| 1955 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:columns: ", p), err) } |
| 1956 | if err := oprot.WriteListBegin(ctx, thrift.STRING, len(p.Columns)); err != nil { |
| 1957 | return thrift.PrependError("error writing list begin: ", err) |
| 1958 | } |
| 1959 | for _, v := range p.Columns { |
| 1960 | if err := oprot.WriteString(ctx, string(v)); err != nil { |
| 1961 | return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) } |
| 1962 | } |
| 1963 | if err := oprot.WriteListEnd(ctx); err != nil { |
| 1964 | return thrift.PrependError("error writing list end: ", err) |
| 1965 | } |
| 1966 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 1967 | return thrift.PrependError(fmt.Sprintf("%T write field end error 3:columns: ", p), err) } |
| 1968 | } |
| 1969 | return err |
| 1970 | } |
| 1971 | |
| 1972 | func (p *TSExecuteStatementResp) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 1973 | if p.IsSetOperationType() { |