| 134 | } |
| 135 | |
| 136 | void StringChunkData::initializeScanState(SegmentState& state, const Column* column) const { |
| 137 | ColumnChunkData::initializeScanState(state, column); |
| 138 | |
| 139 | auto* stringColumn = dynamic_cast_checked<const StringColumn*>(column); |
| 140 | state.childrenStates.resize(CHILD_COLUMN_COUNT); |
| 141 | indexColumnChunk->initializeScanState(state.childrenStates[INDEX_COLUMN_CHILD_READ_STATE_IDX], |
| 142 | stringColumn->getIndexColumn()); |
| 143 | dictionaryChunk->getOffsetChunk()->initializeScanState( |
| 144 | state.childrenStates[OFFSET_COLUMN_CHILD_READ_STATE_IDX], |
| 145 | stringColumn->getDictionary().getOffsetColumn()); |
| 146 | dictionaryChunk->getStringDataChunk()->initializeScanState( |
| 147 | state.childrenStates[DATA_COLUMN_CHILD_READ_STATE_IDX], |
| 148 | stringColumn->getDictionary().getDataColumn()); |
| 149 | } |
| 150 | |
| 151 | void StringChunkData::write(const ValueVector* vector, offset_t offsetInVector, |
| 152 | offset_t offsetInChunk) { |
nothing calls this directly
no test coverage detected