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

Method ReadField3

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

Source from the content-addressed store, hash-verified

5886}
5887
5888func (p *TSFetchMetadataResp) ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
5889 _, size, err := iprot.ReadListBegin(ctx)
5890 if err != nil {
5891 return thrift.PrependError("error reading list begin: ", err)
5892 }
5893 tSlice := make([]string, 0, size)
5894 p.ColumnsList = tSlice
5895 for i := 0; i < size; i ++ {
5896var _elem37 string
5897 if v, err := iprot.ReadString(ctx); err != nil {
5898 return thrift.PrependError("error reading field 0: ", err)
5899} else {
5900 _elem37 = v
5901}
5902 p.ColumnsList = append(p.ColumnsList, _elem37)
5903 }
5904 if err := iprot.ReadListEnd(ctx); err != nil {
5905 return thrift.PrependError("error reading list end: ", err)
5906 }
5907 return nil
5908}
5909
5910func (p *TSFetchMetadataResp) ReadField4(ctx context.Context, iprot thrift.TProtocol) error {
5911 if v, err := iprot.ReadString(ctx); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected