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

Method ReportUnencodedDataBytes

cpp/src/parquet/encoder.cc:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 MemoryPool* memory_pool() const override { return pool_; }
103
104 int64_t ReportUnencodedDataBytes() override {
105 if (descr_->physical_type() != Type::BYTE_ARRAY) {
106 throw ParquetException("ReportUnencodedDataBytes is only supported for BYTE_ARRAY");
107 }
108 int64_t bytes = unencoded_byte_array_data_bytes_;
109 unencoded_byte_array_data_bytes_ = 0;
110 return bytes;
111 }
112
113 protected:
114 // For accessing type-specific metadata, like FIXED_LEN_BYTE_ARRAY

Callers 4

CheckRoundtripMethod · 0.80
CheckRoundtripMethod · 0.80
CheckRoundtripMethod · 0.80

Calls 2

ParquetExceptionFunction · 0.85
physical_typeMethod · 0.80

Tested by 3

CheckRoundtripMethod · 0.64
CheckRoundtripMethod · 0.64
CheckRoundtripMethod · 0.64