Expand description
Declarative dataflow infrastructure
This crate contains types, traits, and logic for assembling differential dataflow computations from declaratively specified programs, without any additional compilation.
Re-exports§
pub use binding::AsBinding;
pub use binding::AttributeBinding;
pub use binding::Binding;
pub use plan::Hector;
pub use plan::ImplContext;
pub use plan::Implementable;
pub use plan::Plan;
pub use timestamp::Rewind;
pub use timestamp::Time;
Modules§
- Binding language, mainly for use in Hector-powered plans.
- Logic for working with attributes under a shared timestamp semantics.
- Loggers and logging events for declarative dataflow.
- Extension traits for
Stream
implementing various declarative-specific operators. - Types and traits for implementing query plans.
- Server logic for driving the library via commands.
- Types and operators to feed outputs into external systems.
- Types and operators to work with external data sources.
- Various timestamp implementations.
Structs§
- Per-attribute semantics.
- A collection and variable bindings.
- A client-facing, non-exceptional error.
- Per-relation semantics.
- A named relation.
- A wrapper around a vector of ShutdownButton’s. Ensures they will be pressed on dropping the handle.
- Transaction data.
Enums§
- @TODO
- Attributes can be indexed in two ways, once from eid to value and the other way around. More powerful query capabilities may rely on both directions being available, whereas simple queries, such as star-joins and pull queries, might get by with just a forward index.
- Attribute indices can have various operations applied to them, based on their semantics.
- Anything that can be returned to clients.
- Attributes might only appear in certain classes of queries. If that is the case, indexing overhead can be reduced.
- Possible data values.
Functions§
- Returns a deduplicates list of all rules used in the definition of the specified names. Includes the specified names.
- Takes a query plan and turns it into a differential dataflow.
- @TODO
- Helper function to create a query plan. The resulting query will provide values for the requested target variables, under the constraints expressed by the bindings provided.
Type Aliases§
- A unique attribute identifier.
- A worker-local client connection identifier.
- A unique entity identifier.
- Alias for a
Ratio
of 32-bit-sized integers. - A handle to an arranged relation.
- A (tuple, time, diff) triple, as sent back to clients.
- A trace of values indexed by self.
- A trace of (K, V) pairs indexed by key.