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

Method Write

rpc/client.go:36264–36275  ·  view source on GitHub ↗
(ctx context.Context, oprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

36262}
36263
36264func (p *IClientRPCServiceExecuteRawDataQueryResult) Write(ctx context.Context, oprot thrift.TProtocol) error {
36265 if err := oprot.WriteStructBegin(ctx, "executeRawDataQuery_result"); err != nil {
36266 return thrift.PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) }
36267 if p != nil {
36268 if err := p.writeField0(ctx, oprot); err != nil { return err }
36269 }
36270 if err := oprot.WriteFieldStop(ctx); err != nil {
36271 return thrift.PrependError("write field stop error: ", err) }
36272 if err := oprot.WriteStructEnd(ctx); err != nil {
36273 return thrift.PrependError("write struct stop error: ", err) }
36274 return nil
36275}
36276
36277func (p *IClientRPCServiceExecuteRawDataQueryResult) writeField0(ctx context.Context, oprot thrift.TProtocol) (err error) {
36278 if p.IsSetSuccess() {

Callers 1

ProcessMethod · 0.95

Calls 1

writeField0Method · 0.95

Tested by

no test coverage detected