| 365 | }; |
| 366 | |
| 367 | Result<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 | |
| 375 | template <typename RunEndType, typename ValueType, bool has_validity_buffer> |
| 376 | class RunEndDecodingLoop { |
nothing calls this directly
no test coverage detected