MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / ReadField5

Method ReadField5

common/common.go:2238–2244  ·  view source on GitHub ↗
(ctx context.Context, iprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

2236}
2237
2238func (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
2246func (p *TDataNodeLocation) ReadField6(ctx context.Context, iprot thrift.TProtocol) error {
2247 p.SchemaRegionConsensusEndPoint = &TEndPoint{}

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected