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

Method writeField7

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

Source from the content-addressed store, hash-verified

5694}
5695
5696func (p *TSFetchResultsResp) writeField7(ctx context.Context, oprot thrift.TProtocol) (err error) {
5697 if p.IsSetMoreData() {
5698 if err := oprot.WriteFieldBegin(ctx, "moreData", thrift.BOOL, 7); err != nil {
5699 return thrift.PrependError(fmt.Sprintf("%T write field begin error 7:moreData: ", p), err) }
5700 if err := oprot.WriteBool(ctx, bool(*p.MoreData)); err != nil {
5701 return thrift.PrependError(fmt.Sprintf("%T.moreData (7) field write error: ", p), err) }
5702 if err := oprot.WriteFieldEnd(ctx); err != nil {
5703 return thrift.PrependError(fmt.Sprintf("%T write field end error 7:moreData: ", p), err) }
5704 }
5705 return err
5706}
5707
5708func (p *TSFetchResultsResp) Equals(other *TSFetchResultsResp) bool {
5709 if p == other {

Callers 1

WriteMethod · 0.95

Calls 1

IsSetMoreDataMethod · 0.95

Tested by

no test coverage detected