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

Method Init

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

Source from the content-addressed store, hash-verified

1288 explicit RegionResolver(S3Options options) : builder_(std::move(options)) {}
1289
1290 Status Init() {
1291 DCHECK(builder_.options().endpoint_override.empty());
1292 // On Windows with AWS SDK >= 1.8, it is necessary to disable redirects (ARROW-10085).
1293 builder_.mutable_config()->followRedirects =
1294 Aws::Client::FollowRedirectsPolicy::NEVER;
1295 return builder_.BuildClient().Value(&holder_);
1296 }
1297
1298 static inline std::mutex instance_mutex_;
1299 static inline std::shared_ptr<RegionResolver> instance_;

Callers 4

MakeMethod · 0.45
OpenInputFileMethod · 0.45
MakeMethod · 0.45
OpenOutputStreamMethod · 0.45

Calls 5

mutable_configMethod · 0.80
BuildClientMethod · 0.80
emptyMethod · 0.45
optionsMethod · 0.45
ValueMethod · 0.45

Tested by

no test coverage detected