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

Method ReadField1

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

Source from the content-addressed store, hash-verified

33780}
33781
33782func (p *IClientRPCServiceInsertRecordsArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error {
33783 p.Req = &TSInsertRecordsReq{}
33784 if err := p.Req.Read(ctx, iprot); err != nil {
33785 return thrift.PrependError(fmt.Sprintf("%T error reading struct: ", p.Req), err)
33786 }
33787 return nil
33788}
33789
33790func (p *IClientRPCServiceInsertRecordsArgs) Write(ctx context.Context, oprot thrift.TProtocol) error {
33791 if err := oprot.WriteStructBegin(ctx, "insertRecords_args"); err != nil {

Callers 1

ReadMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected