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

Method with_batches

datafusion-cli/src/print_format.rs:547–550  ·  view source on GitHub ↗

set the batches to convert

(mut self, batches: Vec<RecordBatch>)

Source from the content-addressed store, hash-verified

545
546 /// set the batches to convert
547 fn with_batches(mut self, batches: Vec<RecordBatch>) -> Self {
548 self.batches = batches;
549 self
550 }
551
552 /// set maxrows
553 fn with_maxrows(mut self, maxrows: MaxRows) -> Self {

Callers 15

print_emptyFunction · 0.45
print_csv_no_headerFunction · 0.45
print_csv_with_headerFunction · 0.45
print_tsv_no_headerFunction · 0.45
print_tsv_with_headerFunction · 0.45
print_tableFunction · 0.45
print_jsonFunction · 0.45
print_ndjsonFunction · 0.45
print_maxrows_unlimitedFunction · 0.45

Calls

no outgoing calls

Tested by 15

print_emptyFunction · 0.36
print_csv_no_headerFunction · 0.36
print_csv_with_headerFunction · 0.36
print_tsv_no_headerFunction · 0.36
print_tsv_with_headerFunction · 0.36
print_tableFunction · 0.36
print_jsonFunction · 0.36
print_ndjsonFunction · 0.36
print_maxrows_unlimitedFunction · 0.36