Module connectorx::destinations
source · Expand description
This module defines three traits Destination
, DestinationPartition
, and Consume
to define a destination.
This module also contains destination implementations for various dataframes.
Modules§
- Destination implementation for Arrow and Polars.
- Destination implementation for Arrow2.
- Destination implementation for Arrow and Polars.
Traits§
- A type implemented
Consume<T>
means that it can consume a valueT
by adding it to it’s own buffer. - A
Destination
is associated with aTypeSystem
and aPartitionDestination
.PartitionDestination
allows multiple threads write data into the buffer owned byDestination
. PartitionDestination
writes values to its own region.PartitionDestination
is parameterized on lifetime'a
, which is the lifetime of the parentDestination
. Usually, aPartitionDestination
can never live longer than the parent.