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

Method ReadField3

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

Source from the content-addressed store, hash-verified

1932}
1933
1934func (p *TConfigNodeLocation) ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
1935 p.ConsensusEndPoint = &TEndPoint{}
1936 if err := p.ConsensusEndPoint.Read(ctx, iprot); err != nil {
1937 return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.ConsensusEndPoint), err)
1938 }
1939 return nil
1940}
1941
1942func (p *TConfigNodeLocation) Write(ctx context.Context, oprot thrift.TProtocol) error {
1943 if err := oprot.WriteStructBegin(ctx, "TConfigNodeLocation"); err != nil {

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected