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

Method with_limit

datafusion/datasource/src/file_stream/mod.rs:260–263  ·  view source on GitHub ↗

Specify the limit

(mut self, limit: Option<usize>)

Source from the content-addressed store, hash-verified

258
259 /// Specify the limit
260 pub fn with_limit(mut self, limit: Option<usize>) -> Self {
261 self.limit = limit;
262 self
263 }
264
265 /// Specify the index of files in the stream which should
266 /// throw an error when opening

Callers 5

resultMethod · 0.45
create_and_collectFunction · 0.45
test_configMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_configMethod · 0.36