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

Method poll_next

datafusion/datasource/src/file_stream/mod.rs:121–127  ·  view source on GitHub ↗
(
        mut self: Pin<&mut Self>,
        cx: &mut Context<'_>,
    )

Source from the content-addressed store, hash-verified

119 type Item = Result<RecordBatch>;
120
121 fn poll_next(
122 mut self: Pin<&mut Self>,
123 cx: &mut Context<'_>,
124 ) -> Poll<Option<Self::Item>> {
125 let result = self.poll_inner(cx);
126 self.baseline_metrics.record_poll(result)
127 }
128}
129
130impl RecordBatchStream for FileStream {

Callers

nothing calls this directly

Calls 2

poll_innerMethod · 0.80
record_pollMethod · 0.80

Tested by

no test coverage detected