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

Method skipped_on_limit

datafusion/datasource/src/file_stream/work_source.rs:50–55  ·  view source on GitHub ↗

Return how many queued files should be counted as already processed when this stream stops early after hitting a global limit.

(&self)

Source from the content-addressed store, hash-verified

48 /// Return how many queued files should be counted as already processed
49 /// when this stream stops early after hitting a global limit.
50 pub(super) fn skipped_on_limit(&self) -> usize {
51 match self {
52 Self::Local(files) => files.len(),
53 Self::Shared(_) => 0,
54 }
55 }
56}
57
58/// Shared source of work for sibling `FileStream`s

Callers 1

poll_scanMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected