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

Function MakeFileWriter

cpp/src/arrow/ipc/writer.cc:1559–1566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1557}
1558
1559Result<std::shared_ptr<RecordBatchWriter>> MakeFileWriter(
1560 io::OutputStream* sink, const std::shared_ptr<Schema>& schema,
1561 const IpcWriteOptions& options,
1562 const std::shared_ptr<const KeyValueMetadata>& metadata) {
1563 return std::make_shared<internal::IpcFormatWriter>(
1564 std::make_unique<internal::PayloadFileWriter>(options, schema, metadata, sink),
1565 schema, options, /*is_file_format=*/true);
1566}
1567
1568Result<std::shared_ptr<RecordBatchWriter>> MakeFileWriter(
1569 std::shared_ptr<io::OutputStream> sink, const std::shared_ptr<Schema>& schema,

Callers 8

InitMethod · 0.85
SerializeRecordBatchFunction · 0.85
WriteTableFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.85
GenInitialFileFunction · 0.85
RunMainFunction · 0.85

Calls

no outgoing calls

Tested by 1

InitMethod · 0.68