Method
ReadField1
(ctx context.Context, iprot thrift.TProtocol)
Source from the content-addressed store, hash-verified
| 2203 | } |
| 2204 | |
| 2205 | func (p *TDataNodeLocation) ReadField1(ctx context.Context, iprot thrift.TProtocol) error { |
| 2206 | if v, err := iprot.ReadI32(ctx); err != nil { |
| 2207 | return thrift.PrependError("error reading field 1: ", err) |
| 2208 | } else { |
| 2209 | p.DataNodeId = v |
| 2210 | } |
| 2211 | return nil |
| 2212 | } |
| 2213 | |
| 2214 | func (p *TDataNodeLocation) ReadField2(ctx context.Context, iprot thrift.TProtocol) error { |
| 2215 | p.ClientRpcEndPoint = &TEndPoint{} |
Tested by
no test coverage detected