Skip to main content

NodeOp

Enum NodeOp 

Source
pub enum NodeOp {
Show 23 variants Scan { table: String, filters: Vec<String>, }, Filter { predicate: String, }, Project { columns: Vec<String>, }, Aggregate { group_keys: Vec<String>, }, Join { join_type: JoinType, }, Exchange { partitioning: Partitioning, }, Sink { format: String, }, CoalescePartitions { target_partitions: usize, }, CreateLiveTable { name: String, query: String, }, RefreshLiveTable { name: String, }, DropLiveTable { name: String, }, KeyBy { key_column: String, }, Watermark { event_time_column: String, lag_ms: u64, }, Window { spec: Box<WindowExecutionSpec>, }, StreamSource { source_id: String, bounded: bool, }, StateTtl { ttl_ms: u64, }, GlobalSort { keys: Vec<(String, bool)>, }, SortMergeJoin { join_type: JoinType, left_keys: Vec<String>, right_keys: Vec<String>, }, WindowJoin { join_type: JoinType, left_keys: Vec<String>, right_keys: Vec<String>, time_column: String, window_ms: u64, }, Unnest { array_column: String, output_column: String, with_ordinality: bool, }, Cep { key_column: String, event_time_column: String, stage_column: String, }, SkewJoin { keys: Vec<String>, factor: u32, join_type: JoinType, }, Other { description: String, },
}
Expand description

Typed operator classification for a plan node.

Variants§

§

Scan

Table or file scan, with optional pushed-down filter predicates.

Fields

§table: String
§filters: Vec<String>
§

Filter

Row filter with a predicate expression string.

Fields

§predicate: String
§

Project

Column projection.

Fields

§columns: Vec<String>
§

Aggregate

Aggregation with optional group keys.

Fields

§group_keys: Vec<String>
§

Join

Join of two inputs.

Fields

§join_type: JoinType
§

Exchange

Data exchange / shuffle between partitions.

Fields

§partitioning: Partitioning
§

Sink

Output sink.

Fields

§format: String
§

CoalescePartitions

AQE coalesce: merge many small partitions into fewer larger ones.

Inserted by the AQE CoalesceRule when runtime statistics show that partition count can be reduced to improve downstream task efficiency.

Fields

§target_partitions: usize

Number of output partitions after coalescing.

§

CreateLiveTable

Create a live table backed by a streaming query.

Fields

§name: String
§query: String
§

RefreshLiveTable

Refresh materialized state for a live table.

Fields

§name: String
§

DropLiveTable

Drop a live table.

Fields

§name: String
§

KeyBy

Key stream by column before windowing.

Fields

§key_column: String
§

Watermark

Event-time watermark on a keyed stream.

Fields

§event_time_column: String
§lag_ms: u64
§

Window

Windowed streaming operator (tumbling, sliding, or session window).

§

StreamSource

Bounded or unbounded stream source.

Fields

§source_id: String
§bounded: bool
§

StateTtl

Operator state TTL for streaming nodes.

Fields

§ttl_ms: u64
§

GlobalSort

E2.2: Globally-sorted output produced by a three-stage pipeline: local sort → range-partition shuffle → merge-sort. The executor treats this as a batch pipeline that produces a single sorted partition.

Fields

§keys: Vec<(String, bool)>

Ordered list of (column, ascending) sort keys.

§

SortMergeJoin

E2.2 / E2.4: Sort-merge join using pre-sorted, range-partitioned inputs.

Fields

§join_type: JoinType
§left_keys: Vec<String>

Column names used as equi-join keys (must match sort order).

§right_keys: Vec<String>
§

WindowJoin

E3.2: Time-windowed join: buffer both streams in the window interval, emit matched pairs when the window closes.

Fields

§join_type: JoinType
§left_keys: Vec<String>

Column names used as equi-join keys.

§right_keys: Vec<String>
§time_column: String

Event-time column used to determine window membership.

§window_ms: u64

Window duration in milliseconds.

§

Unnest

E5.2: Expand an array-typed column into one row per element.

Equivalent to UNNEST(array_column) in SQL or a LATERAL join over an array. The output_column name is used for the expanded element. If with_ordinality is true an extra ordinality column (u64) is appended with the 1-based position of each element.

Fields

§array_column: String
§output_column: String
§with_ordinality: bool
§

Cep

CEP sequential pattern match on a keyed stream.

stage_column names the column whose string value identifies which pattern stage each row belongs to. The executor groups rows by key_column, routes each row to PartitionedCepMatcher::process_event with the row’s stage name, and emits concatenated match batches.

Fields

§key_column: String
§event_time_column: String
§stage_column: String
§

SkewJoin

AQE skew mitigation: split a hot partition into N sub-partitions by appending a salt column to the join key. The build side is replicated factor times so that each salted sub-partition of the probe side joins against the full build side in parallel. The unsalt node strips the salt column from the post-join output.

Equivalent to Spark AQE’s OptimizeSkewedJoin rule.

Fields

§keys: Vec<String>

The join key columns on both sides (must match).

§factor: u32

Number of sub-partitions the hot side is split into.

§join_type: JoinType

Original join type — kept so the executor can dispatch correctly.

§

Other

Operator not covered by the above variants.

Fields

§description: String

Trait Implementations§

Source§

impl Clone for NodeOp

Source§

fn clone(&self) -> NodeOp

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NodeOp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for NodeOp

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for NodeOp

Source§

impl PartialEq for NodeOp

Source§

fn eq(&self, other: &NodeOp) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for NodeOp

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for NodeOp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<L> LayerExt<L> for L

Source§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in Layered.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more