MCPcopy Create free account
hub / github.com/apache/arrow / Write

Method Write

cpp/src/arrow/flight/transport/grpc/grpc_client.cc:225–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 : stream_(stream) {}
224
225 Status Write(const std::string& token) override {
226 pb::HandshakeRequest response;
227 response.set_payload(token);
228 if (stream_->Write(response)) {
229 return Status::OK();
230 }
231 return FromGrpcStatus(stream_->Finish());
232 }
233
234 private:
235 std::shared_ptr<::grpc::ClientReaderWriter<pb::HandshakeRequest, pb::HandshakeResponse>>

Callers 3

AuthenticateMethod · 0.45
AuthenticateMethod · 0.45
WritePayloadFunction · 0.45

Calls 3

FromGrpcStatusFunction · 0.85
OKFunction · 0.50
FinishMethod · 0.45

Tested by 1

AuthenticateMethod · 0.36