pub struct RemoteFragmentEndpoint { /* private fields */ }Expand description
Worker-side endpoint for the internal fragment protocol.
The cluster transport supplies authenticated node-to-node delivery. This endpoint owns bounded active cursors and returns one Arrow IPC batch per pull. Pull framing provides backpressure without buffering a whole result on either peer.
Implementations§
Source§impl RemoteFragmentEndpoint
impl RemoteFragmentEndpoint
Sourcepub fn new(executor: Arc<dyn FragmentExecutor>) -> Self
pub fn new(executor: Arc<dyn FragmentExecutor>) -> Self
Creates a bounded worker endpoint.
Sourcepub fn with_limits(
executor: Arc<dyn FragmentExecutor>,
max_executions: usize,
max_message_bytes: usize,
) -> Self
pub fn with_limits( executor: Arc<dyn FragmentExecutor>, max_executions: usize, max_message_bytes: usize, ) -> Self
Creates a worker endpoint with explicit cursor and frame bounds.
Sourcepub fn active_executions(&self) -> usize
pub fn active_executions(&self) -> usize
Number of live remote fragment cursors.
Sourcepub fn lifecycle_metrics(&self) -> FragmentLifecycleSnapshot
pub fn lifecycle_metrics(&self) -> FragmentLifecycleSnapshot
Fragment lifecycle metrics including active cursor count (P0.4-T6).
Auto Trait Implementations§
impl !Freeze for RemoteFragmentEndpoint
impl !RefUnwindSafe for RemoteFragmentEndpoint
impl !UnwindSafe for RemoteFragmentEndpoint
impl Send for RemoteFragmentEndpoint
impl Sync for RemoteFragmentEndpoint
impl Unpin for RemoteFragmentEndpoint
impl UnsafeUnpin for RemoteFragmentEndpoint
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> 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