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

Method FromUri

cpp/src/arrow/filesystem/s3fs.cc:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156// S3ProxyOptions implementation
157
158Result<S3ProxyOptions> S3ProxyOptions::FromUri(const Uri& uri) {
159 S3ProxyOptions options;
160
161 options.scheme = uri.scheme();
162 options.host = uri.host();
163 options.port = uri.port();
164 options.username = uri.username();
165 options.password = uri.password();
166
167 return options;
168}
169
170Result<S3ProxyOptions> S3ProxyOptions::FromUri(const std::string& uri_string) {
171 Uri uri;

Callers

nothing calls this directly

Calls 6

hostMethod · 0.80
usernameMethod · 0.80
passwordMethod · 0.80
schemeMethod · 0.45
portMethod · 0.45
ParseMethod · 0.45

Tested by

no test coverage detected