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

Method ReadField2

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

Source from the content-addressed store, hash-verified

2212}
2213
2214func (p *TDataNodeLocation) ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
2215 p.ClientRpcEndPoint = &TEndPoint{}
2216 if err := p.ClientRpcEndPoint.Read(ctx, iprot); err != nil {
2217 return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.ClientRpcEndPoint), err)
2218 }
2219 return nil
2220}
2221
2222func (p *TDataNodeLocation) ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
2223 p.InternalEndPoint = &TEndPoint{}

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected