pub struct DataflowBuilder<'a, T> {
    pub catalog: &'a CatalogState,
    pub compute: ComputeController<'a, T>,
}
Expand description

Borrows of catalog and indexes sufficient to build dataflow descriptions.

Fields

catalog: &'a CatalogStatecompute: ComputeController<'a, T>

A handle to the compute abstraction, which describes indexes by identifier.

This can also be used to grab a handle to the storage abstraction, through its storage_mut() method.

Implementations

Imports the view, source, or table with id into the provided dataflow description.

Imports the view with the specified ID and expression into the provided dataflow description.

You should generally prefer calling DataflowBuilder::import_into_dataflow, which can handle objects of any type as long as they exist in the catalog. This method exists for when the view does not exist in the catalog, e.g., because it is identified by a GlobalId::Transient.

Builds a dataflow description for the index with the specified ID.

Builds a dataflow description for the sink with the specified name, ID, source, and output connection.

For as long as this dataflow is active, id can be used to reference the sink (primarily to drop it, at the moment).

Like build_sink_dataflow, but builds the sink dataflow into the existing dataflow description instead of creating one from scratch.

Creates a new index oracle for the same compute instance as the dataflow builder.

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

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

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

Calls U::from(self).

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

Wrap the input message T in a tonic::Request

Should always be Self

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