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

Method Decode

cpp/src/parquet/decoder.cc:1886–1894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1884 }
1885
1886 int Decode(bool* buffer, int max_values) override {
1887 max_values = std::min(max_values, num_values_);
1888
1889 if (decoder_->GetBatch(buffer, max_values) != max_values) {
1890 ParquetException::EofException();
1891 }
1892 num_values_ -= max_values;
1893 return max_values;
1894 }
1895
1896 int Decode(uint8_t* buffer, int max_values) override {
1897 ParquetException::NYI("Decode(uint8_t*, int) for RleBooleanDecoder");

Callers

nothing calls this directly

Calls 2

NYIFunction · 0.85
GetBatchMethod · 0.45

Tested by

no test coverage detected