| 4278 | } |
| 4279 | |
| 4280 | func (p *TSPrepareReq) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 4281 | if err := oprot.WriteFieldBegin(ctx, "statementName", thrift.STRING, 3); err != nil { |
| 4282 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:statementName: ", p), err) } |
| 4283 | if err := oprot.WriteString(ctx, string(p.StatementName)); err != nil { |
| 4284 | return thrift.PrependError(fmt.Sprintf("%T.statementName (3) field write error: ", p), err) } |
| 4285 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 4286 | return thrift.PrependError(fmt.Sprintf("%T write field end error 3:statementName: ", p), err) } |
| 4287 | return err |
| 4288 | } |
| 4289 | |
| 4290 | func (p *TSPrepareReq) Equals(other *TSPrepareReq) bool { |
| 4291 | if p == other { |