Trait datafrog::JoinInput

source ·
pub trait JoinInput<'me, Tuple: Ord>: Copy {
    type RecentTuples: Deref<Target = [Tuple]>;
    type StableTuples: Deref<Target = [Relation<Tuple>]>;

    fn recent(self) -> Self::RecentTuples;
    fn stable(self) -> Self::StableTuples;
}
Expand description

An input that can be used with from_join; either a Variable or a Relation.

Required Associated Types§

If we are on iteration N of the loop, these are the tuples added on iteration N-1. (For a Relation, this is always an empty slice.)

If we are on iteration N of the loop, these are the tuples added on iteration N - 2 or before. (For a Relation, this is just self.)

Required Methods§

Get the set of recent tuples.

Get the set of stable tuples.

Implementors§