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

Method IpcFileWriter

cpp/src/arrow/dataset/file_ipc.cc:229–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229IpcFileWriter::IpcFileWriter(std::shared_ptr<io::OutputStream> destination,
230 std::shared_ptr<ipc::RecordBatchWriter> writer,
231 std::shared_ptr<Schema> schema,
232 std::shared_ptr<IpcFileWriteOptions> options,
233 fs::FileLocator destination_locator)
234 : FileWriter(std::move(schema), std::move(options), std::move(destination),
235 std::move(destination_locator)),
236 batch_writer_(std::move(writer)) {}
237
238Status IpcFileWriter::Write(const std::shared_ptr<RecordBatch>& batch) {
239 return batch_writer_->WriteRecordBatch(*batch);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected