| 36262 | } |
| 36263 | |
| 36264 | func (p *IClientRPCServiceExecuteRawDataQueryResult) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 36265 | if err := oprot.WriteStructBegin(ctx, "executeRawDataQuery_result"); err != nil { |
| 36266 | return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) } |
| 36267 | if p != nil { |
| 36268 | if err := p.writeField0(ctx, oprot); err != nil { return err } |
| 36269 | } |
| 36270 | if err := oprot.WriteFieldStop(ctx); err != nil { |
| 36271 | return thrift.PrependError("write field stop error: ", err) } |
| 36272 | if err := oprot.WriteStructEnd(ctx); err != nil { |
| 36273 | return thrift.PrependError("write struct stop error: ", err) } |
| 36274 | return nil |
| 36275 | } |
| 36276 | |
| 36277 | func (p *IClientRPCServiceExecuteRawDataQueryResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 36278 | if p.IsSetSuccess() { |