pub enum JsonFlowNodeType {
Show 17 variants
SourceInlineData {},
SourceTable {
table: u64,
},
SourceView {
view: u64,
},
SourceFlow {
flow: u64,
},
Filter {
conditions: Vec<JsonExpression>,
},
Map {
expressions: Vec<JsonExpression>,
},
Extend {
expressions: Vec<JsonExpression>,
},
Join {
join_type: JoinType,
left: Vec<JsonExpression>,
right: Vec<JsonExpression>,
alias: Option<String>,
},
Aggregate {
by: Vec<JsonExpression>,
map: Vec<JsonExpression>,
},
Append,
Sort {
by: Vec<SortKey>,
},
Take {
limit: usize,
},
Distinct {
expressions: Vec<JsonExpression>,
},
Apply {
operator: String,
expressions: Vec<JsonExpression>,
},
SinkView {
view: u64,
},
SinkSubscription {
subscription: String,
},
Window {
window_type: WindowType,
size: WindowSize,
slide: Option<WindowSlide>,
group_by: Vec<JsonExpression>,
aggregations: Vec<JsonExpression>,
min_events: usize,
max_window_count: Option<usize>,
max_window_age: Option<Duration>,
},
}Expand description
JSON-serializable version of FlowNodeType that uses JsonExpression for clean expression serialization without Fragment metadata.
Variants§
SourceInlineData
SourceTable
SourceView
SourceFlow
Filter
Fields
§
conditions: Vec<JsonExpression>Map
Fields
§
expressions: Vec<JsonExpression>Extend
Fields
§
expressions: Vec<JsonExpression>Join
Aggregate
Append
Sort
Take
Distinct
Fields
§
expressions: Vec<JsonExpression>Apply
SinkView
SinkSubscription
Window
Fields
§
window_type: WindowType§
size: WindowSize§
slide: Option<WindowSlide>§
group_by: Vec<JsonExpression>§
aggregations: Vec<JsonExpression>Trait Implementations§
Source§impl Clone for JsonFlowNodeType
impl Clone for JsonFlowNodeType
Source§fn clone(&self) -> JsonFlowNodeType
fn clone(&self) -> JsonFlowNodeType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonFlowNodeType
impl Debug for JsonFlowNodeType
Source§impl From<&FlowNodeType> for JsonFlowNodeType
impl From<&FlowNodeType> for JsonFlowNodeType
Source§fn from(node_type: &FlowNodeType) -> Self
fn from(node_type: &FlowNodeType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsonFlowNodeType
impl RefUnwindSafe for JsonFlowNodeType
impl Send for JsonFlowNodeType
impl Sync for JsonFlowNodeType
impl Unpin for JsonFlowNodeType
impl UnsafeUnpin for JsonFlowNodeType
impl UnwindSafe for JsonFlowNodeType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more