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

Method ReadField1

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

Source from the content-addressed store, hash-verified

2203}
2204
2205func (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
2214func (p *TDataNodeLocation) ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
2215 p.ClientRpcEndPoint = &TEndPoint{}

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected