| 744 | } |
| 745 | |
| 746 | arrow::Result<Location> Location::ForGrpcTcp(const std::string& host, const int port) { |
| 747 | std::stringstream uri_string; |
| 748 | uri_string << "grpc+tcp://" << host << ':' << port; |
| 749 | return Location::Parse(uri_string.str()); |
| 750 | } |
| 751 | |
| 752 | arrow::Result<Location> Location::ForGrpcTls(const std::string& host, const int port) { |
| 753 | std::stringstream uri_string; |