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

Method ArrowWriteContext

cpp/src/parquet/properties.h:1578–1582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1576/// column chunk. API possibly not stable
1577struct ArrowWriteContext {
1578 ArrowWriteContext(MemoryPool* memory_pool, ArrowWriterProperties* properties)
1579 : memory_pool(memory_pool),
1580 properties(properties),
1581 data_buffer(AllocateBuffer(memory_pool)),
1582 def_levels_buffer(AllocateBuffer(memory_pool)) {}
1583
1584 template <typename T>
1585 ::arrow::Status GetScratchData(const int64_t num_values, T** out) {

Callers

nothing calls this directly

Calls 1

AllocateBufferFunction · 0.70

Tested by

no test coverage detected