MCPcopy Create free account
hub / github.com/apache/arrow / FixedSizeBinaryBuilder

Method FixedSizeBinaryBuilder

cpp/src/arrow/array/builder_binary.cc:108–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106// Fixed width binary
107
108FixedSizeBinaryBuilder::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
114void FixedSizeBinaryBuilder::CheckValueSize(int64_t size) {
115 DCHECK_EQ(size, byte_width_) << "Appending wrong size to FixedSizeBinaryBuilder";

Callers

nothing calls this directly

Calls 1

byte_widthMethod · 0.45

Tested by

no test coverage detected