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

Method is_collection

datafusion/datasource/src/url.rs:204–206  ·  view source on GitHub ↗

Returns `true` if `path` refers to a collection of objects

(&self)

Source from the content-addressed store, hash-verified

202
203 /// Returns `true` if `path` refers to a collection of objects
204 pub fn is_collection(&self) -> bool {
205 self.url.path().ends_with(DELIMITER)
206 }
207
208 /// Returns the file extension of the last path segment if it exists
209 ///

Callers 8

list_prefixed_filesMethod · 0.80
is_folderMethod · 0.80
single_file_outputMethod · 0.80
createMethod · 0.80
_read_typeMethod · 0.80
register_type_checkMethod · 0.80
insert_intoMethod · 0.80
validate_partitionsMethod · 0.80

Calls 1

pathMethod · 0.45

Tested by

no test coverage detected