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

Method writeField12

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

Source from the content-addressed store, hash-verified

2102}
2103
2104func (p *TSExecuteStatementResp) writeField12(ctx context.Context, oprot thrift.TProtocol) (err error) {
2105 if p.IsSetTracingInfo() {
2106 if err := oprot.WriteFieldBegin(ctx, "tracingInfo", thrift.STRUCT, 12); err != nil {
2107 return thrift.PrependError(fmt.Sprintf("%T write field begin error 12:tracingInfo: ", p), err) }
2108 if err := p.TracingInfo.Write(ctx, oprot); err != nil {
2109 return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.TracingInfo), err)
2110 }
2111 if err := oprot.WriteFieldEnd(ctx); err != nil {
2112 return thrift.PrependError(fmt.Sprintf("%T write field end error 12:tracingInfo: ", p), err) }
2113 }
2114 return err
2115}
2116
2117func (p *TSExecuteStatementResp) writeField13(ctx context.Context, oprot thrift.TProtocol) (err error) {
2118 if p.IsSetQueryResult_() {

Callers 1

WriteMethod · 0.95

Calls 2

IsSetTracingInfoMethod · 0.95
WriteMethod · 0.45

Tested by

no test coverage detected