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

Method with_format

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

set the format

(mut self, format: PrintFormat)

Source from the content-addressed store, hash-verified

533
534 /// set the format
535 fn with_format(mut self, format: PrintFormat) -> Self {
536 self.format = format;
537 self
538 }
539
540 // set the schema
541 fn with_schema(mut self, schema: SchemaRef) -> 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