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

Method with_batch_size

datafusion/catalog/src/stream.rs:161–164  ·  view source on GitHub ↗

Set the batch size (the number of rows to load at one time)

(mut self, batch_size: usize)

Source from the content-addressed store, hash-verified

159
160 /// Set the batch size (the number of rows to load at one time)
161 pub fn with_batch_size(mut self, batch_size: usize) -> Self {
162 self.batch_size = batch_size;
163 self
164 }
165
166 /// Specify whether the file has a header (only applicable for [`StreamEncoding::Csv`])
167 pub fn with_header(mut self, header: bool) -> Self {

Callers 7

csv_openerFunction · 0.45
fifo_tableFunction · 0.45
mainFunction · 0.45
createMethod · 0.45
readerMethod · 0.45
runMethod · 0.45
update_configMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected