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

Method ForScheme

cpp/src/arrow/flight/types.cc:764–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764arrow::Result<Location> Location::ForScheme(const std::string& scheme,
765 const std::string& host, const int port) {
766 std::stringstream uri_string;
767 uri_string << scheme << "://" << host << ':' << port;
768 return Location::Parse(uri_string.str());
769}
770
771std::string Location::scheme() const {
772 std::string scheme = uri_->scheme();

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
ParseFunction · 0.50

Tested by

no test coverage detected