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

Method ReadField10

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

Source from the content-addressed store, hash-verified

1774}
1775
1776func (p *TSExecuteStatementResp) ReadField10(ctx context.Context, iprot thrift.TProtocol) error {
1777 _, size, err := iprot.ReadListBegin(ctx)
1778 if err != nil {
1779 return thrift.PrependError("error reading list begin: ", err)
1780 }
1781 tSlice := make([]string, 0, size)
1782 p.SgColumns = tSlice
1783 for i := 0; i < size; i ++ {
1784var _elem16 string
1785 if v, err := iprot.ReadString(ctx); err != nil {
1786 return thrift.PrependError("error reading field 0: ", err)
1787} else {
1788 _elem16 = v
1789}
1790 p.SgColumns = append(p.SgColumns, _elem16)
1791 }
1792 if err := iprot.ReadListEnd(ctx); err != nil {
1793 return thrift.PrependError("error reading list end: ", err)
1794 }
1795 return nil
1796}
1797
1798func (p *TSExecuteStatementResp) ReadField11(ctx context.Context, iprot thrift.TProtocol) error {
1799 _, size, err := iprot.ReadListBegin(ctx)

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected