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

Method writeField2

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

Source from the content-addressed store, hash-verified

6348}
6349
6350func (p *TSGetTimeZoneResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) {
6351 if err := oprot.WriteFieldBegin(ctx, "timeZone", thrift.STRING, 2); err != nil {
6352 return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:timeZone: ", p), err) }
6353 if err := oprot.WriteString(ctx, string(p.TimeZone)); err != nil {
6354 return thrift.PrependError(fmt.Sprintf("%T.timeZone (2) field write error: ", p), err) }
6355 if err := oprot.WriteFieldEnd(ctx); err != nil {
6356 return thrift.PrependError(fmt.Sprintf("%T write field end error 2:timeZone: ", p), err) }
6357 return err
6358}
6359
6360func (p *TSGetTimeZoneResp) Equals(other *TSGetTimeZoneResp) bool {
6361 if p == other {

Callers 1

WriteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected