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

Method DeltaByteArrayEncoder

cpp/src/parquet/encoder.cc:1444–1452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1442 using T = typename DType::c_type;
1443
1444 explicit DeltaByteArrayEncoder(const ColumnDescriptor* descr,
1445 MemoryPool* pool = ::arrow::default_memory_pool())
1446 : EncoderImpl(descr, Encoding::DELTA_BYTE_ARRAY, pool),
1447 sink_(pool),
1448 prefix_length_encoder_(/*descr=*/nullptr, pool),
1449 suffix_encoder_(descr, pool),
1450 last_value_(""),
1451 empty_(static_cast<uint32_t>(kEmpty.size()),
1452 reinterpret_cast<const uint8_t*>(kEmpty.data())) {}
1453
1454 std::shared_ptr<Buffer> FlushValues() override;
1455

Callers

nothing calls this directly

Calls 3

default_memory_poolFunction · 0.85
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected