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

Method writeField15

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

Source from the content-addressed store, hash-verified

2147}
2148
2149func (p *TSExecuteStatementResp) writeField15(ctx context.Context, oprot thrift.TProtocol) (err error) {
2150 if p.IsSetDatabase() {
2151 if err := oprot.WriteFieldBegin(ctx, "database", thrift.STRING, 15); err != nil {
2152 return thrift.PrependError(fmt.Sprintf("%T write field begin error 15:database: ", p), err) }
2153 if err := oprot.WriteString(ctx, string(*p.Database)); err != nil {
2154 return thrift.PrependError(fmt.Sprintf("%T.database (15) field write error: ", p), err) }
2155 if err := oprot.WriteFieldEnd(ctx); err != nil {
2156 return thrift.PrependError(fmt.Sprintf("%T write field end error 15:database: ", p), err) }
2157 }
2158 return err
2159}
2160
2161func (p *TSExecuteStatementResp) writeField16(ctx context.Context, oprot thrift.TProtocol) (err error) {
2162 if p.IsSetTableModel() {

Callers 1

WriteMethod · 0.95

Calls 1

IsSetDatabaseMethod · 0.95

Tested by

no test coverage detected