| 462 | |
| 463 | template <typename DType> |
| 464 | std::unique_ptr<DictDecoder<DType>> MakeDictDecoder( |
| 465 | const ColumnDescriptor* descr = NULLPTR, |
| 466 | ::arrow::MemoryPool* pool = ::arrow::default_memory_pool()) { |
| 467 | using OutType = DictDecoder<DType>; |
| 468 | auto decoder = detail::MakeDictDecoder(DType::type_num, descr, pool); |
| 469 | return std::unique_ptr<OutType>(dynamic_cast<OutType*>(decoder.release())); |
| 470 | } |
| 471 | |
| 472 | template <typename DType> |
| 473 | std::unique_ptr<typename EncodingTraits<DType>::Decoder> MakeTypedDecoder( |
nothing calls this directly
no test coverage detected