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

Function RunEndEncodeInit

cpp/src/arrow/compute/kernels/vector_run_end_encode.cc:367–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365};
366
367Result<std::unique_ptr<KernelState>> RunEndEncodeInit(KernelContext*,
368 const KernelInitArgs& args) {
369 auto* options = checked_cast<const RunEndEncodeOptions*>(args.options);
370 auto run_end_type =
371 options ? options->run_end_type : RunEndEncodeOptions::Defaults().run_end_type;
372 return std::make_unique<RunEndEncodingState>(std::move(run_end_type));
373}
374
375template <typename RunEndType, typename ValueType, bool has_validity_buffer>
376class RunEndDecodingLoop {

Callers

nothing calls this directly

Calls 1

DefaultsFunction · 0.50

Tested by

no test coverage detected