Initializes the dictionary with values from 'dictionary'. The data in dictionary is not guaranteed to persist in memory after this call so the dictionary decoder needs to copy the data out if necessary.
| 869 | // dictionary is not guaranteed to persist in memory after this call so the |
| 870 | // dictionary decoder needs to copy the data out if necessary. |
| 871 | explicit DictDecoderImpl(const ColumnDescriptor* descr, |
| 872 | MemoryPool* pool = ::arrow::default_memory_pool()) |
| 873 | : TypedDecoderImpl<Type>(descr, Encoding::RLE_DICTIONARY), |
| 874 | dictionary_(AllocateBuffer(pool, 0)), |
| 875 | dictionary_length_(0), |
| 876 | byte_array_data_(AllocateBuffer(pool, 0)), |
| 877 | byte_array_offsets_(AllocateBuffer(pool, 0)), |
| 878 | indices_scratch_space_(AllocateBuffer(pool, 0)) {} |
| 879 | |
| 880 | // Perform type-specific initialization |
| 881 | void SetDict(TypedDecoder<Type>* dictionary) override; |
nothing calls this directly
no test coverage detected