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

Function CreateOutputStream

cpp/src/parquet/platform.cc:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace parquet {
29
30std::shared_ptr<::arrow::io::BufferOutputStream> CreateOutputStream(MemoryPool* pool) {
31 PARQUET_ASSIGN_OR_THROW(auto stream, ::arrow::io::BufferOutputStream::Create(
32 kDefaultOutputStreamSize, pool));
33 return stream;
34}
35
36std::shared_ptr<ResizableBuffer> AllocateBuffer(MemoryPool* pool, int64_t size) {
37 PARQUET_ASSIGN_OR_THROW(auto result, ::arrow::AllocateResizableBuffer(size, pool));

Callers 15

WriteMethod · 0.85
BuildWriterMethod · 0.85
TESTFunction · 0.85
SetUpMethod · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85
BuildWriterMethod · 0.85
WriteFileMethod · 0.85
ConstructFakeMetaDataFunction · 0.85
TestWriteOffsetIndexFunction · 0.85
TESTFunction · 0.85
WritePageIndexesMethod · 0.85

Calls

no outgoing calls

Tested by 15

WriteMethod · 0.68
BuildWriterMethod · 0.68
TESTFunction · 0.68
SetUpMethod · 0.68
ASSERT_OK_AND_ASSIGNFunction · 0.68
BuildWriterMethod · 0.68
WriteFileMethod · 0.68
ConstructFakeMetaDataFunction · 0.68
TestWriteOffsetIndexFunction · 0.68
TESTFunction · 0.68
WritePageIndexesMethod · 0.68