Enum dataflow::logging::materialized::MaterializedEvent[][src]

pub enum MaterializedEvent {
    Dataflow(GlobalIdbool),
    DataflowDependency {
        dataflow: GlobalId,
        source: GlobalId,
    },
    KafkaSourceStatistics {
        source_id: SourceInstanceId,
        old: Option<Jsonb>,
        new: Option<Jsonb>,
    },
    Peek(Peekbool),
    SourceInfo {
        source_name: String,
        source_id: SourceInstanceId,
        partition_id: Option<String>,
        offset: i64,
        timestamp: i64,
    },
    Frontier(GlobalIdTimestampi64),
}
Expand description

A logged materialized event.

Variants

Dataflow(GlobalIdbool)

Tuple Fields

1: bool

Dataflow command, true for create and false for drop.

DataflowDependency

Fields

dataflow: GlobalId

Globally unique identifier for the dataflow.

source: GlobalId

Globally unique identifier for the source on which the dataflow depends.

Dataflow depends on a named source of data.

KafkaSourceStatistics

Fields

source_id: SourceInstanceId

Materialize source identifier.

old: Option<Jsonb>

The old JSONB statistics blob to retract, if any.

new: Option<Jsonb>

The new JSONB statistics blob to produce, if any.

Underling librdkafka statistics for a Kafka source.

Peek(Peekbool)

Tuple Fields

0: Peek
1: bool

Peek command, true for install and false for retire.

SourceInfo

Fields

source_name: String

Name of the source

source_id: SourceInstanceId

Source identifier

partition_id: Option<String>

Partition identifier

offset: i64

Difference between the previous offset and current highest offset we’ve seen

timestamp: i64

Difference between the previous timestamp and current highest timestamp we’ve seen

Tracks the source name, id, partition id, and received/ingested offsets

Frontier(GlobalIdTimestampi64)

Tuple Fields

2: i64

Available frontier information for views.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

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

Performs the conversion.

Upcasts this ProgressEventTimestamp to Any. Read more

Returns the name of the concrete type of this object. Read more

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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