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

Method projection

datafusion/catalog/src/table.rs:428–430  ·  view source on GitHub ↗

Get the column projection for the scan. Returns a reference to the projection column indices, or `None` if no projection was specified (meaning all columns should be included).

(&self)

Source from the content-addressed store, hash-verified

426 /// Returns a reference to the projection column indices, or `None` if
427 /// no projection was specified (meaning all columns should be included).
428 pub fn projection(&self) -> Option<&'a [usize]> {
429 self.projection
430 }
431
432 /// Set the filter expressions for the scan.
433 ///

Callers 3

scan_with_argsMethod · 0.45
scan_with_argsMethod · 0.45
scan_with_argsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected