MCPcopy Create free account
hub / github.com/apache/arrow / State

Method State

cpp/src/arrow/dataset/dataset.cc:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 const std::shared_ptr<ScanOptions>& options) {
108 struct State {
109 State(std::shared_ptr<InMemoryFragment> fragment, int64_t batch_size)
110 : fragment(std::move(fragment)),
111 batch_index(0),
112 offset(0),
113 batch_size(batch_size) {}
114
115 std::shared_ptr<RecordBatch> Next() {
116 const auto& next_parent = fragment->record_batches_[batch_index];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected