| 740 | } |
| 741 | |
| 742 | void Value::copyFromColLayoutStruct(const struct_entry_t& structEntry, ValueVector* vec) { |
| 743 | for (auto i = 0u; i < childrenSize; i++) { |
| 744 | children[i]->setNull(StructVector::getFieldVector(vec, i)->isNull(structEntry.pos)); |
| 745 | if (!children[i]->isNull()) { |
| 746 | auto fieldVector = StructVector::getFieldVector(vec, i); |
| 747 | children[i]->copyFromColLayout(fieldVector->getData() + |
| 748 | fieldVector->getNumBytesPerValue() * structEntry.pos, |
| 749 | fieldVector.get()); |
| 750 | } |
| 751 | } |
| 752 | } |
| 753 | |
| 754 | void Value::copyFromUnion(const uint8_t* unionValue) { |
| 755 | auto childrenTypes = StructType::getFieldTypes(dataType); |
nothing calls this directly
no test coverage detected