pub trait BoundedSpatialRecordSource {
// Required methods
fn schema(&self) -> &SchemaDescriptor;
fn options(&self) -> &StreamOptions;
fn memory_tracker(&self) -> &MemoryTracker;
fn cancellation_token(&self) -> CancellationToken;
fn max_chunk_bytes(&self) -> u64;
fn next_chunk(&mut self) -> Option<RecordsResult<SpatialRecordChunk>>;
}Expand description
Pull-based bounded source. Existing SpatialRecordSource remains unchanged.
Required Methods§
Sourcefn schema(&self) -> &SchemaDescriptor
fn schema(&self) -> &SchemaDescriptor
Schema shared by every emitted record.
Sourcefn options(&self) -> &StreamOptions
fn options(&self) -> &StreamOptions
Validated execution options.
Sourcefn memory_tracker(&self) -> &MemoryTracker
fn memory_tracker(&self) -> &MemoryTracker
Exact tracker shared by emitted chunk leases.
Sourcefn cancellation_token(&self) -> CancellationToken
fn cancellation_token(&self) -> CancellationToken
Cooperative cancellation state checked at chunk boundaries.
Sourcefn max_chunk_bytes(&self) -> u64
fn max_chunk_bytes(&self) -> u64
Conservative maximum resident bytes for one emitted chunk.
Sourcefn next_chunk(&mut self) -> Option<RecordsResult<SpatialRecordChunk>>
fn next_chunk(&mut self) -> Option<RecordsResult<SpatialRecordChunk>>
Returns the next leased chunk, or None after an explicit end.