| 2244 | } |
| 2245 | |
| 2246 | func (p *TDataNodeLocation) ReadField6(ctx context.Context, iprot thrift.TProtocol) error { |
| 2247 | p.SchemaRegionConsensusEndPoint = &TEndPoint{} |
| 2248 | if err := p.SchemaRegionConsensusEndPoint.Read(ctx, iprot); err != nil { |
| 2249 | return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.SchemaRegionConsensusEndPoint), err) |
| 2250 | } |
| 2251 | return nil |
| 2252 | } |
| 2253 | |
| 2254 | func (p *TDataNodeLocation) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 2255 | if err := oprot.WriteStructBegin(ctx, "TDataNodeLocation"); err != nil { |