Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
DataFilePaths in datafusion::execution::context - Rust
[go: Go Back, main page]

Trait DataFilePaths

Source
pub trait DataFilePaths {
    // Required method
    fn to_urls(self) -> Result<Vec<ListingTableUrl>>;
}
Expand description

DataFilePaths adds a method to convert strings and vector of strings to vector of ListingTableUrl URLs. This allows methods such SessionContext::read_csv and SessionContext::read_avro to take either a single file or multiple files.

Required Methods§

Source

fn to_urls(self) -> Result<Vec<ListingTableUrl>>

Parse to a vector of ListingTableUrl URLs.

Implementations on Foreign Types§

Source§

impl DataFilePaths for &str

Source§

impl DataFilePaths for &String

Source§

impl DataFilePaths for String

Source§

impl<P> DataFilePaths for Vec<P>
where P: AsRef<str>,

Implementors§