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

Method Init

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

Source from the content-addressed store, hash-verified

1228 explicit RegionResolver(S3Options options) : builder_(std::move(options)) {}
1229
1230 Status Init() {
1231 DCHECK(builder_.options().endpoint_override.empty());
1232 // On Windows with AWS SDK >= 1.8, it is necessary to disable redirects (ARROW-10085).
1233 builder_.mutable_config()->followRedirects =
1234 Aws::Client::FollowRedirectsPolicy::NEVER;
1235 return builder_.BuildClient().Value(&holder_);
1236 }
1237
1238 static inline std::mutex instance_mutex_;
1239 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