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

Method ReadField6

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

Source from the content-addressed store, hash-verified

2244}
2245
2246func (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
2254func (p *TDataNodeLocation) Write(ctx context.Context, oprot thrift.TProtocol) error {
2255 if err := oprot.WriteStructBegin(ctx, "TDataNodeLocation"); err != nil {

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected