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

Class EndpointConfigKey

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

Source from the content-addressed store, hash-verified

956// bearable - if not ideal.
957
958struct EndpointConfigKey {
959 explicit EndpointConfigKey(const Aws::S3::S3ClientConfiguration& config)
960 : region(config.region),
961 scheme(config.scheme),
962 endpoint_override(config.endpointOverride),
963 use_virtual_addressing(config.useVirtualAddressing) {}
964
965 Aws::String region;
966 Aws::Http::Scheme scheme;
967 Aws::String endpoint_override;
968 bool use_virtual_addressing;
969
970 bool operator==(const EndpointConfigKey& other) const noexcept {
971 return region == other.region && scheme == other.scheme &&
972 endpoint_override == other.endpoint_override &&
973 use_virtual_addressing == other.use_virtual_addressing;
974 }
975};
976
977} // namespace
978} // namespace arrow::fs

Callers 1

LookupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected