MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / row_order

Method row_order

src/sql/src/plan.rs:915–923  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

913
914impl SubscribeOutput {
915 pub fn row_order(&self) -> &[ColumnOrder] {
916 match self {
917 SubscribeOutput::Diffs => &[],
918 // This ordering prepends the diff, so its `order_by` field cannot be applied to rows.
919 SubscribeOutput::WithinTimestampOrderBy { .. } => &[],
920 SubscribeOutput::EnvelopeUpsert { order_by_keys } => order_by_keys,
921 SubscribeOutput::EnvelopeDebezium { order_by_keys } => order_by_keys,
922 }
923 }
924}
925
926#[derive(Debug, Clone)]

Callers 2

process_responseMethod · 0.80
optimizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected