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

Method ReadField1

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

Source from the content-addressed store, hash-verified

28553}
28554
28555func (p *IClientRPCServiceOpenSessionArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
28556 p.Req = &TSOpenSessionReq{
28557 ClientProtocol: 2,
28558}
28559 if err := p.Req.Read(ctx, iprot); err != nil {
28560 return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Req), err)
28561 }
28562 return nil
28563}
28564
28565func (p *IClientRPCServiceOpenSessionArgs) Write(ctx context.Context, oprot thrift.TProtocol) error {
28566 if err := oprot.WriteStructBegin(ctx, "openSession_args"); err != nil {

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected