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

Method Decode

cpp/src/parquet/decoder.cc:1935–1943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1933 }
1934
1935 int Decode(bool* buffer, int max_values) override {
1936 max_values = std::min(max_values, num_values_);
1937
1938 if (decoder_->GetBatch(buffer, max_values) != max_values) {
1939 ParquetException::EofException();
1940 }
1941 num_values_ -= max_values;
1942 return max_values;
1943 }
1944
1945 int Decode(uint8_t* buffer, int max_values) override {
1946 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