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

Method with_header

datafusion/catalog/src/stream.rs:167–170  ·  view source on GitHub ↗

Specify whether the file has a header (only applicable for [`StreamEncoding::Csv`])

(mut self, header: bool)

Source from the content-addressed store, hash-verified

165
166 /// Specify whether the file has a header (only applicable for [`StreamEncoding::Csv`])
167 pub fn with_header(mut self, header: bool) -> Self {
168 self.header = header;
169 self
170 }
171
172 /// Specify an encoding for the stream
173 pub fn with_encoding(mut self, encoding: StreamEncoding) -> Self {

Callers 10

try_newMethod · 0.45
fifo_tableFunction · 0.45
read_csv_batchesFunction · 0.45
try_fromMethod · 0.45
createMethod · 0.45
readerMethod · 0.45
writerMethod · 0.45

Calls

no outgoing calls

Tested by 4

fifo_tableFunction · 0.36
read_csv_batchesFunction · 0.36