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

Method ReadField3

rpc/client.go:1670–1690  ·  view source on GitHub ↗
(ctx context.Context, iprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

1668}
1669
1670func (p *TSExecuteStatementResp) ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
1671 _, size, err := iprot.ReadListBegin(ctx)
1672 if err != nil {
1673 return thrift.PrependError("error reading list begin: ", err)
1674 }
1675 tSlice := make([]string, 0, size)
1676 p.Columns = tSlice
1677 for i := 0; i < size; i ++ {
1678var _elem12 string
1679 if v, err := iprot.ReadString(ctx); err != nil {
1680 return thrift.PrependError("error reading field 0: ", err)
1681} else {
1682 _elem12 = v
1683}
1684 p.Columns = append(p.Columns, _elem12)
1685 }
1686 if err := iprot.ReadListEnd(ctx); err != nil {
1687 return thrift.PrependError("error reading list end: ", err)
1688 }
1689 return nil
1690}
1691
1692func (p *TSExecuteStatementResp) ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
1693 if v, err := iprot.ReadString(ctx); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected