| 106 | // Fixed width binary |
| 107 | |
| 108 | FixedSizeBinaryBuilder::FixedSizeBinaryBuilder(const std::shared_ptr<DataType>& type, |
| 109 | MemoryPool* pool, int64_t alignment) |
| 110 | : ArrayBuilder(pool, alignment), |
| 111 | byte_width_(checked_cast<const FixedSizeBinaryType&>(*type).byte_width()), |
| 112 | byte_builder_(pool, alignment) {} |
| 113 | |
| 114 | void FixedSizeBinaryBuilder::CheckValueSize(int64_t size) { |
| 115 | DCHECK_EQ(size, byte_width_) << "Appending wrong size to FixedSizeBinaryBuilder"; |
nothing calls this directly
no test coverage detected