pub struct DistributedCodec;Expand description
DataFusion PhysicalExtensionCodec implementation that allows serializing and deserializing the custom ExecutionPlans in this project
Implementations§
Source§impl DistributedCodec
impl DistributedCodec
pub fn new_combined_with_user( cfg: &SessionConfig, ) -> ComposedPhysicalExtensionCodec
Trait Implementations§
Source§impl Debug for DistributedCodec
impl Debug for DistributedCodec
Source§impl PhysicalExtensionCodec for DistributedCodec
impl PhysicalExtensionCodec for DistributedCodec
fn try_decode( &self, buf: &[u8], inputs: &[Arc<dyn ExecutionPlan>], ctx: &TaskContext, ) -> Result<Arc<dyn ExecutionPlan>>
fn try_encode( &self, node: Arc<dyn ExecutionPlan>, buf: &mut Vec<u8>, ) -> Result<()>
fn try_decode_udf( &self, name: &str, _buf: &[u8], ) -> Result<Arc<ScalarUDF>, DataFusionError>
fn try_encode_udf( &self, _node: &ScalarUDF, _buf: &mut Vec<u8>, ) -> Result<(), DataFusionError>
fn try_decode_expr( &self, _buf: &[u8], _inputs: &[Arc<dyn PhysicalExpr>], ) -> Result<Arc<dyn PhysicalExpr>, DataFusionError>
fn try_encode_expr( &self, _node: &Arc<dyn PhysicalExpr>, _buf: &mut Vec<u8>, ) -> Result<(), DataFusionError>
fn try_decode_udaf( &self, name: &str, _buf: &[u8], ) -> Result<Arc<AggregateUDF>, DataFusionError>
fn try_encode_udaf( &self, _node: &AggregateUDF, _buf: &mut Vec<u8>, ) -> Result<(), DataFusionError>
fn try_decode_udwf( &self, name: &str, _buf: &[u8], ) -> Result<Arc<WindowUDF>, DataFusionError>
fn try_encode_udwf( &self, _node: &WindowUDF, _buf: &mut Vec<u8>, ) -> Result<(), DataFusionError>
Auto Trait Implementations§
impl Freeze for DistributedCodec
impl RefUnwindSafe for DistributedCodec
impl Send for DistributedCodec
impl Sync for DistributedCodec
impl Unpin for DistributedCodec
impl UnsafeUnpin for DistributedCodec
impl UnwindSafe for DistributedCodec
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
Source§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