Enum dataflow_types::client::StorageCommand[][src]

pub enum StorageCommand {
    CreateSources(Vec<(GlobalId, (SourceDesc, Antichain<Timestamp>))>),
    DropSources(Vec<GlobalId>),
    Insert {
        id: GlobalId,
        updates: Vec<Update>,
    },
    DurabilityFrontierUpdates(Vec<(GlobalId, Antichain<Timestamp>)>),
    AddSourceTimestamping {
        id: GlobalId,
        connector: SourceConnector,
        bindings: Vec<(PartitionId, Timestamp, MzOffset)>,
    },
    AllowSourceCompaction(Vec<(GlobalId, Antichain<Timestamp>)>),
    DropSourceTimestamping {
        id: GlobalId,
    },
    AdvanceAllLocalInputs {
        advance_to: Timestamp,
    },
}
Expand description

Commands related to the ingress and egress of collections.

Variants

CreateSources(Vec<(GlobalId, (SourceDesc, Antichain<Timestamp>))>)

Tuple Fields

Create the enumerated sources, each associated with its identifier.

For each identifier, there is a source description and a valid since frontier.

DropSources(Vec<GlobalId>)

Tuple Fields

Drop the sources bound to these names.

Insert

Fields

id: GlobalId

Identifier of the local input.

updates: Vec<Update>

A list of updates to be introduced to the input.

Insert updates into the local input named id.

DurabilityFrontierUpdates(Vec<(GlobalId, Antichain<Timestamp>)>)

Tuple Fields

Update durability information for sources.

Each entry names a source and provides a frontier before which the source can be exactly replayed across restarts (i.e. we can assign the same timestamps to all the same data)

AddSourceTimestamping

Fields

id: GlobalId

The ID of the timestamped source

connector: SourceConnector

The connector for the timestamped source.

bindings: Vec<(PartitionId, Timestamp, MzOffset)>

Previously stored timestamp bindings.

Add a new source to be aware of for timestamping.

AllowSourceCompaction(Vec<(GlobalId, Antichain<Timestamp>)>)

Tuple Fields

Enable compaction in sources.

Each entry in the vector names a source and provides a frontier after which accumulations must be correct.

DropSourceTimestamping

Fields

id: GlobalId

The ID id of the formerly timestamped source.

Drop all timestamping info for a source

AdvanceAllLocalInputs

Fields

advance_to: Timestamp

The timestamp to advance to.

Advance all local inputs to the given timestamp.

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

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Performs the conversion.

Serialize this value into the given Serde serializer. 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