springql_core/pipeline/pipeline_graph/stream_node.rs
1// This file is part of https://github.com/SpringQL/SpringQL which is licensed under MIT OR Apache-2.0. See file LICENSE-MIT or LICENSE-APACHE for full license details.
2
3use std::sync::Arc;
4
5use crate::pipeline::{name::StreamName, stream_model::StreamModel};
6
7#[derive(Clone, Eq, PartialEq, Debug)]
8pub enum StreamNode {
9 Stream(Arc<StreamModel>),
10 VirtualRoot,
11 VirtualLeaf { parent_sink_stream: StreamName },
12}