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

Method ReadField3

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

Source from the content-addressed store, hash-verified

4234}
4235
4236func (p *TSPrepareReq) ReadField3(ctx context.Context, iprot thrift.TProtocol) error {
4237 if v, err := iprot.ReadString(ctx); err != nil {
4238 return thrift.PrependError("error reading field 3: ", err)
4239} else {
4240 p.StatementName = v
4241}
4242 return nil
4243}
4244
4245func (p *TSPrepareReq) Write(ctx context.Context, oprot thrift.TProtocol) error {
4246 if err := oprot.WriteStructBegin(ctx, "TSPrepareReq"); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected