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

Class EndpointConfigKey

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

Source from the content-addressed store, hash-verified

1016// bearable - if not ideal.
1017
1018struct EndpointConfigKey {
1019 explicit EndpointConfigKey(const Aws::S3::S3ClientConfiguration& config)
1020 : region(config.region),
1021 scheme(config.scheme),
1022 endpoint_override(config.endpointOverride),
1023 use_virtual_addressing(config.useVirtualAddressing) {}
1024
1025 Aws::String region;
1026 Aws::Http::Scheme scheme;
1027 Aws::String endpoint_override;
1028 bool use_virtual_addressing;
1029
1030 bool operator==(const EndpointConfigKey& other) const noexcept {
1031 return region == other.region && scheme == other.scheme &&
1032 endpoint_override == other.endpoint_override &&
1033 use_virtual_addressing == other.use_virtual_addressing;
1034 }
1035};
1036
1037} // namespace
1038} // namespace arrow::fs

Callers 1

LookupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected