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

Method ReadField1

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

Source from the content-addressed store, hash-verified

1560}
1561
1562func (p *TRegionReplicaSet) ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
1563 p.RegionId = &TConsensusGroupId{}
1564 if err := p.RegionId.Read(ctx, iprot); err != nil {
1565 return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.RegionId), err)
1566 }
1567 return nil
1568}
1569
1570func (p *TRegionReplicaSet) ReadField2(ctx context.Context, iprot thrift.TProtocol) error {
1571 _, size, err := iprot.ReadListBegin(ctx)

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected