| 756 | } |
| 757 | |
| 758 | arrow::Result<Location> Location::ForGrpcUnix(const std::string& path) { |
| 759 | std::stringstream uri_string; |
| 760 | uri_string << "grpc+unix://" << path; |
| 761 | return Location::Parse(uri_string.str()); |
| 762 | } |
| 763 | |
| 764 | arrow::Result<Location> Location::ForScheme(const std::string& scheme, |
| 765 | const std::string& host, const int port) { |