(ctx context.Context, iprot thrift.TProtocol)
| 2413 | } |
| 2414 | |
| 2415 | func (p *TSOpenSessionResp) ReadField1(ctx context.Context, iprot thrift.TProtocol) error { |
| 2416 | p.Status = &common.TSStatus{} |
| 2417 | if err := p.Status.Read(ctx, iprot); err != nil { |
| 2418 | return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Status), err) |
| 2419 | } |
| 2420 | return nil |
| 2421 | } |
| 2422 | |
| 2423 | func (p *TSOpenSessionResp) ReadField2(ctx context.Context, iprot thrift.TProtocol) error { |
| 2424 | if v, err := iprot.ReadI32(ctx); err != nil { |