| 64 | } |
| 65 | |
| 66 | void StringColumn::lookupInternal(const SegmentState& state, offset_t nodeOffset, |
| 67 | ValueVector* resultVector, uint32_t posInVector) const { |
| 68 | auto [nodeGroupIdx, offsetInChunk] = StorageUtils::getNodeGroupIdxAndOffsetInChunk(nodeOffset); |
| 69 | string_index_t index = 0; |
| 70 | indexColumn->scanSegment(getChildState(state, ChildStateIndex::INDEX), offsetInChunk, 1, |
| 71 | reinterpret_cast<uint8_t*>(&index)); |
| 72 | std::vector<std::pair<string_index_t, uint64_t>> offsetsToScan; |
| 73 | offsetsToScan.emplace_back(index, posInVector); |
| 74 | dictionary.scan(getChildState(state, ChildStateIndex::OFFSET), |
| 75 | getChildState(state, ChildStateIndex::DATA), offsetsToScan, resultVector, |
| 76 | getChildState(state, ChildStateIndex::INDEX).metadata); |
| 77 | } |
| 78 | |
| 79 | void StringColumn::writeSegment(ColumnChunkData& persistentChunk, SegmentState& state, |
| 80 | offset_t dstOffsetInSegment, const ColumnChunkData& data, offset_t srcOffset, |
nothing calls this directly
no test coverage detected