| 2236 | } |
| 2237 | |
| 2238 | func (p *TDataNodeLocation) ReadField5(ctx context.Context, iprot thrift.TProtocol) error { |
| 2239 | p.DataRegionConsensusEndPoint = &TEndPoint{} |
| 2240 | if err := p.DataRegionConsensusEndPoint.Read(ctx, iprot); err != nil { |
| 2241 | return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.DataRegionConsensusEndPoint), err) |
| 2242 | } |
| 2243 | return nil |
| 2244 | } |
| 2245 | |
| 2246 | func (p *TDataNodeLocation) ReadField6(ctx context.Context, iprot thrift.TProtocol) error { |
| 2247 | p.SchemaRegionConsensusEndPoint = &TEndPoint{} |