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

Method GetSetters

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

Source from the content-addressed store, hash-verified

1378 using Setter = std::function<Status(const std::string& value, ObjectRequest* req)>;
1379
1380 static std::unordered_map<std::string, Setter> GetSetters() {
1381 return {{"ACL", CannedACLSetter()},
1382 {"Cache-Control", StringSetter(&ObjectRequest::SetCacheControl)},
1383 {"Content-Encoding", StringSetter(&ObjectRequest::SetContentEncoding)},
1384 {"Content-Type", ContentTypeSetter()},
1385 {"Content-Language", StringSetter(&ObjectRequest::SetContentLanguage)},
1386 {"Expires", DateTimeSetter(&ObjectRequest::SetExpires)}};
1387 }
1388
1389 private:
1390 static Setter StringSetter(void (ObjectRequest::*req_method)(Aws::String&&)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected