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

Method DecodeArrow

cpp/src/parquet/decoder.cc:1284–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1282 using BASE::DictDecoderImpl;
1283
1284 int DecodeArrow(int num_values, int null_count, const uint8_t* valid_bits,
1285 int64_t valid_bits_offset,
1286 ::arrow::BinaryDictionary32Builder* builder) override {
1287 int result = 0;
1288 if (null_count == 0) {
1289 PARQUET_THROW_NOT_OK(DecodeArrowNonNull(num_values, builder, &result));
1290 } else {
1291 PARQUET_THROW_NOT_OK(DecodeArrow(num_values, null_count, valid_bits,
1292 valid_bits_offset, builder, &result));
1293 }
1294 return result;
1295 }
1296
1297 int DecodeArrow(int num_values, int null_count, const uint8_t* valid_bits,
1298 int64_t valid_bits_offset,

Callers

nothing calls this directly

Calls 7

OKFunction · 0.50
ReserveMethod · 0.45
IsSetMethod · 0.45
NextMethod · 0.45
GetBatchMethod · 0.45
AppendMethod · 0.45
AppendNullMethod · 0.45

Tested by

no test coverage detected