Expand description
Versioned spatial records, schema evolution, and chunked host streams.
This crate stays Arrow-free. Arrow C Data/Stream/Device live in
spatialrust-arrow behind independent features.
Structs§
- Cancellation
Token - Cloneable cooperative cancellation state checked at chunk boundaries.
- Chunk
Identity - Stable location of one chunk in its source stream.
- Legacy
Bounded Sink - Adapts an existing synchronous sink to leased record chunks.
- Legacy
Bounded Source - Adapts an existing record source without changing its public trait.
- Memory
Budget - Hard limit for memory explicitly owned by a streaming execution.
- Memory
Chunk Sink - Collects records into an owned point cloud.
- Memory
Chunk Source - Splits one in-memory cloud into fixed-size record chunks.
- Memory
Reservation - RAII token that releases an exact tracked byte count on drop.
- Memory
Snapshot - Point-in-time memory accounting values.
- Memory
Tracker - Concurrent, exact accounting for memory explicitly owned by a stream.
- Migration
Policy - Migration permissions when projecting a record onto a target schema.
- Prefetch
Record Source - Single-worker deterministic prefetch with count and memory backpressure.
- Record
Bounds3 - Finite axis-aligned bounds carried by a record chunk.
- Record
Provenance - Generic source lineage for one
crate::SpatialRecord. - Recycling
Memory Chunk Source - In-memory source used to verify real buffer recycling and lease accounting.
- Schema
Compat Report - Detailed schema comparison report.
- Schema
Descriptor - Named, versioned
PointSchemacontract. - Schema
Id - Stable schema family identifier independent of field order serialization.
- Schema
Version - Semantic schema version used for evolution checks.
- Spatial
Record - One versioned point-cloud observation with attached metadata.
- Spatial
Record Chunk - One owned record plus the memory lease that keeps it inside the hard limit.
- Stream
Options - Common bounded-stream execution options.
- Streaming
Phase Receipt - Timing and allocation counters for one named execution phase.
- Streaming
Receipt - Versioned, deterministic accounting receipt for one streaming execution.
- Streaming
Transfer Receipt - One named, explicit transfer included in a streaming receipt.
- Streaming
Workload - One canonical scale/chunk/budget combination for reproducible comparisons.
Enums§
- Compat
Verdict - High-level comparison result between two schemas.
- Field
Fill - How to fill fields missing from the source cloud.
- Records
Error - Shared record/stream failures.
- Stream
Ordering - Ordering guarantee requested from a streaming source or pipeline.
- Streaming
Transfer Direction - Direction of an explicit host/device transfer.
Constants§
- DEFAULT_
STREAM_ CHUNK_ POINTS - Default number of points requested from a streaming source.
- DEFAULT_
STREAM_ MEMORY_ BUDGET_ BYTES - Default hard limit for explicitly tracked streaming memory (256 MiB).
- RECORD_
PROVENANCE_ VERSION - Current version of the record-provenance contract.
- STREAMING_
RECEIPT_ SCHEMA - Stable identifier for the versioned JSON receipt contract.
- STREAMING_
RECEIPT_ VERSION - Current streaming receipt schema version.
Traits§
- Bounded
Spatial Record Sink - Push-based bounded sink that cannot retain a record beyond the chunk lease.
- Bounded
Spatial Record Source - Pull-based bounded source. Existing
SpatialRecordSourceremains unchanged. - Spatial
Record Sink - Push-based sink for versioned spatial records.
- Spatial
Record Source - Pull-based source of versioned spatial records.
Functions§
- canonical_
streaming_ workloads - Returns the canonical 1M/10M/100M streaming workload matrix.
- compare_
schemas - Compares
actualagainstexpectedusing id/version plus field contracts. - migrate_
record - Projects
recordontotargetunder an explicit migration policy. - record_
storage_ bytes - Returns the allocated scalar capacity bytes owned by a record.
Type Aliases§
- Records
Result - Result type for record and stream operations.