MCPcopy Create free account
hub / github.com/apache/paimon-rust / write

Method write

crates/paimon/src/table/table_write.rs:55–62  ·  view source on GitHub ↗
(&mut self, batch: &RecordBatch)

Source from the content-addressed store, hash-verified

53
54impl FileWriter {
55 async fn write(&mut self, batch: &RecordBatch) -> Result<()> {
56 match self {
57 FileWriter::Append(w) => w.write(batch).await,
58 FileWriter::AppendBlob(w) => w.write(batch).await,
59 FileWriter::KeyValue(w) => w.write(batch).await,
60 FileWriter::Postpone(w) => w.write(batch).await,
61 }
62 }
63
64 async fn prepare_commit(mut self) -> Result<Vec<DataFileMeta>> {
65 match self {

Callers 1

write_bucketMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected