pub struct ContainerCompute { /* private fields */ }Expand description
A loaded container transform. Each run spawns the entry process with cwd = the transform’s
directory (so relative paths in the command resolve against it) and speaks Arrow IPC over stdio.
Trait Implementations§
Source§impl Compute for ContainerCompute
impl Compute for ContainerCompute
Source§fn manifest(&self) -> &TransformManifest
fn manifest(&self) -> &TransformManifest
The manifest this compute was loaded from.
Source§fn run(&self, inputs: &[RecordBatch]) -> Result<RecordBatch, ComputeError>
fn run(&self, inputs: &[RecordBatch]) -> Result<RecordBatch, ComputeError>
Transform one set of input batches into one output batch (batch-vectorized). The number of
input batches matches
manifest().inputs. Returns ComputeError to fail closed —
governance wraps this; the compute never touches the write path.Auto Trait Implementations§
impl Forget for ContainerCompute
impl Freeze for ContainerCompute
impl RefUnwindSafe for ContainerCompute
impl Send for ContainerCompute
impl Sync for ContainerCompute
impl Unpin for ContainerCompute
impl UnsafeUnpin for ContainerCompute
impl UnwindSafe for ContainerCompute
Blanket Implementations§
impl<T> Allocation for T
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