(ctx context.Context, oprot thrift.TProtocol)
| 2082 | } |
| 2083 | |
| 2084 | func (p *TSExecuteStatementResp) writeField11(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 2085 | if p.IsSetAliasColumns() { |
| 2086 | if err := oprot.WriteFieldBegin(ctx, "aliasColumns", thrift.LIST, 11); err != nil { |
| 2087 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 11:aliasColumns: ", p), err) } |
| 2088 | if err := oprot.WriteListBegin(ctx, thrift.BYTE, len(p.AliasColumns)); err != nil { |
| 2089 | return thrift.PrependError("error writing list begin: ", err) |
| 2090 | } |
| 2091 | for _, v := range p.AliasColumns { |
| 2092 | if err := oprot.WriteByte(ctx, int8(v)); err != nil { |
| 2093 | return thrift.PrependError(fmt.Sprintf("%T. (0) field write error: ", p), err) } |
| 2094 | } |
| 2095 | if err := oprot.WriteListEnd(ctx); err != nil { |
| 2096 | return thrift.PrependError("error writing list end: ", err) |
| 2097 | } |
| 2098 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 2099 | return thrift.PrependError(fmt.Sprintf("%T write field end error 11:aliasColumns: ", p), err) } |
| 2100 | } |
| 2101 | return err |
| 2102 | } |
| 2103 | |
| 2104 | func (p *TSExecuteStatementResp) writeField12(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 2105 | if p.IsSetTracingInfo() { |
no test coverage detected