pub struct UnifiedEventStream { /* private fields */ }Expand description
Builder that merges heterogeneous parquet cursors into a single chronological stream.
Implementations§
Source§impl UnifiedEventStream
impl UnifiedEventStream
Sourcepub fn from_flight_recorder(
root: impl AsRef<Path>,
symbols: &[Symbol],
) -> Result<Self>
pub fn from_flight_recorder( root: impl AsRef<Path>, symbols: &[Symbol], ) -> Result<Self>
Construct a stream backed by parquet files located under a flight-recorder root.
Sourcepub fn from_paths(
symbols: &[Symbol],
tick_paths: Vec<PathBuf>,
order_book_paths: Vec<PathBuf>,
depth_paths: Vec<PathBuf>,
) -> Result<Self>
pub fn from_paths( symbols: &[Symbol], tick_paths: Vec<PathBuf>, order_book_paths: Vec<PathBuf>, depth_paths: Vec<PathBuf>, ) -> Result<Self>
Construct a stream from explicit parquet path lists.
Sourcepub fn into_stream(self) -> impl Stream<Item = Result<UnifiedEvent>>
pub fn into_stream(self) -> impl Stream<Item = Result<UnifiedEvent>>
Convert this stream into a futures::Stream implementation.
Auto Trait Implementations§
impl Freeze for UnifiedEventStream
impl !RefUnwindSafe for UnifiedEventStream
impl Send for UnifiedEventStream
impl Sync for UnifiedEventStream
impl Unpin for UnifiedEventStream
impl !UnwindSafe for UnifiedEventStream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more