pub enum ProjectionMappingInput<'a> {
GraphNode {
epoch: u64,
node_id: u64,
},
DeleteDocument {
epoch: u64,
document_id: &'a str,
},
RelationalKey {
epoch: u64,
table: &'a str,
key: &'a RelationalKey,
},
End {
source_epoch: u64,
},
}Expand description
Every input remains owned by the session until the mapper acknowledges Done.
Variants§
GraphNode
A native changed key; a missing end-epoch node denotes deletion for the fixed projector, even when there is no built-in Search document ID.
DeleteDocument
RelationalKey
End
Trait Implementations§
Source§impl<'a> Clone for ProjectionMappingInput<'a>
impl<'a> Clone for ProjectionMappingInput<'a>
impl<'a> Copy for ProjectionMappingInput<'a>
Auto Trait Implementations§
impl<'a> Forget for ProjectionMappingInput<'a>
impl<'a> Freeze for ProjectionMappingInput<'a>
impl<'a> Move for ProjectionMappingInput<'a>
impl<'a> RefUnwindSafe for ProjectionMappingInput<'a>
impl<'a> Send for ProjectionMappingInput<'a>
impl<'a> Sync for ProjectionMappingInput<'a>
impl<'a> Unpin for ProjectionMappingInput<'a>
impl<'a> UnsafeUnpin for ProjectionMappingInput<'a>
impl<'a> UnwindSafe for ProjectionMappingInput<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more