pub struct FlowNativeBridge<'a> { /* private fields */ }Implementations§
Source§impl<'a> FlowNativeBridge<'a>
impl<'a> FlowNativeBridge<'a>
pub fn new(txn: &'a mut FlowTransaction, node: FlowNodeId) -> Self
Trait Implementations§
Source§impl NativeBridge for FlowNativeBridge<'_>
impl NativeBridge for FlowNativeBridge<'_>
fn clock_now_nanos(&self) -> u64
fn state_get(&mut self, key: &EncodedKey) -> Result<Option<EncodedRow>>
fn state_get_many( &mut self, keys: &[EncodedKey], ) -> Result<Vec<(EncodedKey, EncodedRow)>>
fn state_set(&mut self, key: &EncodedKey, value: EncodedRow) -> Result<()>
fn state_remove(&mut self, key: &EncodedKey) -> Result<()>
fn state_drop(&mut self, key: &EncodedKey) -> Result<()>
fn state_clear(&mut self) -> Result<()>
fn state_range( &mut self, range: EncodedKeyRange, ) -> Result<Vec<(EncodedKey, EncodedRow)>>
fn internal_state_get(&mut self, key: &EncodedKey) -> Result<Option<EncodedRow>>
fn internal_state_get_many( &mut self, keys: &[EncodedKey], ) -> Result<Vec<(EncodedKey, EncodedRow)>>
fn internal_state_set( &mut self, key: &EncodedKey, value: EncodedRow, ) -> Result<()>
fn internal_state_remove(&mut self, key: &EncodedKey) -> Result<()>
fn internal_state_drop(&mut self, key: &EncodedKey) -> Result<()>
fn internal_state_range( &mut self, range: EncodedKeyRange, ) -> Result<Vec<(EncodedKey, EncodedRow)>>
fn allocate_row_numbers(&mut self, count: u64) -> Result<RowNumber>
fn store_get(&mut self, key: &EncodedKey) -> Result<Option<EncodedRow>>
fn store_contains(&mut self, key: &EncodedKey) -> Result<bool>
fn store_prefix( &mut self, prefix: &EncodedKey, ) -> Result<Vec<(EncodedKey, EncodedRow)>>
fn store_range( &mut self, range: EncodedKeyRange, ) -> Result<Vec<(EncodedKey, EncodedRow)>>
fn catalog_find_namespace( &mut self, namespace: NamespaceId, version: CommitVersion, ) -> Result<Option<Namespace>>
fn catalog_find_namespace_by_name( &mut self, namespace: &str, version: CommitVersion, ) -> Result<Option<Namespace>>
fn catalog_find_table( &mut self, table: TableId, version: CommitVersion, ) -> Result<Option<Table>>
fn catalog_find_table_by_name( &mut self, namespace: NamespaceId, name: &str, version: CommitVersion, ) -> Result<Option<Table>>
fn catalog_find_row_shape( &mut self, fingerprint: RowShapeFingerprint, ) -> Result<Option<RowShape>>
fn dictionary_id_by_name(&mut self, name: &str) -> Result<Option<DictionaryId>>
fn dictionary_find( &mut self, dictionary: DictionaryId, value: &Value, ) -> Result<Option<DictionaryEntryId>>
fn dictionary_get( &mut self, dictionary: DictionaryId, id: DictionaryEntryId, ) -> Result<Option<Value>>
fn state_get_many_visit( &mut self, keys: &[EncodedKey], visit: &mut dyn FnMut(&EncodedKey, &EncodedRow) -> SdkResult<()>, ) -> SdkResult<()>
fn internal_state_get_many_visit( &mut self, keys: &[EncodedKey], visit: &mut dyn FnMut(&EncodedKey, &EncodedRow) -> SdkResult<()>, ) -> SdkResult<()>
fn state_range_visit( &mut self, range: EncodedKeyRange, visit: &mut dyn FnMut(&EncodedKey, &EncodedRow) -> SdkResult<()>, ) -> SdkResult<()>
fn store_range_visit( &mut self, range: EncodedKeyRange, visit: &mut dyn FnMut(&EncodedKey, &EncodedRow) -> SdkResult<()>, ) -> SdkResult<()>
fn store_prefix_visit( &mut self, prefix: &EncodedKey, visit: &mut dyn FnMut(&EncodedKey, &EncodedRow) -> SdkResult<()>, ) -> SdkResult<()>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FlowNativeBridge<'a>
impl<'a> !Sync for FlowNativeBridge<'a>
impl<'a> !UnwindSafe for FlowNativeBridge<'a>
impl<'a> Freeze for FlowNativeBridge<'a>
impl<'a> Send for FlowNativeBridge<'a>
impl<'a> Unpin for FlowNativeBridge<'a>
impl<'a> UnsafeUnpin for FlowNativeBridge<'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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: Sized + AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: Sized + AsFilelike,
Set the “status” flags for the
self file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request