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§
sourcetype RecentTuples: Deref<Target = [Tuple]>
type RecentTuples: Deref<Target = [Tuple]>
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.)
sourcetype StableTuples: Deref<Target = [Relation<Tuple>]>
type StableTuples: Deref<Target = [Relation<Tuple>]>
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§
sourcefn recent(self) -> Self::RecentTuples
fn recent(self) -> Self::RecentTuples
Get the set of recent tuples.
sourcefn stable(self) -> Self::StableTuples
fn stable(self) -> Self::StableTuples
Get the set of stable tuples.