MCPcopy Create free account
hub / github.com/apache/datafusion / write

Method write

datafusion/datasource/src/write/mod.rs:59–62  ·  view source on GitHub ↗
(&mut self, buf: &[u8])

Source from the content-addressed store, hash-verified

57
58impl Write for SharedBuffer {
59 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
60 let mut buffer = self.buffer.try_lock().unwrap();
61 Write::write(&mut *buffer, buf)
62 }
63
64 fn flush(&mut self) -> std::io::Result<()> {
65 let mut buffer = self.buffer.try_lock().unwrap();

Callers 15

write_allMethod · 0.45
plan_to_jsonFunction · 0.45
serializeMethod · 0.45
plan_to_csvFunction · 0.45
serializeMethod · 0.45
create_datasetFunction · 0.45
create_datasetFunction · 0.45
column_serializer_taskFunction · 0.45

Calls

no outgoing calls