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

Method Encode

cpp/src/parquet/geospatial/statistics.cc:321–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319bool GeoStatistics::is_valid() const { return impl_->is_valid(); }
320
321std::optional<EncodedGeoStatistics> GeoStatistics::Encode() const {
322 if (is_valid()) {
323 return impl_->Encode();
324 } else {
325 return std::nullopt;
326 }
327}
328
329void GeoStatistics::Decode(const EncodedGeoStatistics& encoded) {
330 impl_->Decode(encoded);

Callers 1

TESTFunction · 0.45

Calls 1

is_validFunction · 0.50

Tested by 1

TESTFunction · 0.36