pub struct RemotePhysicalCodec {
pub transform_codec: Arc<dyn TransformCodec>,
pub unparse_codec: Arc<dyn UnparseCodec>,
pub connection_codec: Arc<dyn ConnectionCodec>,
}
Fields§
§transform_codec: Arc<dyn TransformCodec>
§unparse_codec: Arc<dyn UnparseCodec>
§connection_codec: Arc<dyn ConnectionCodec>
Implementations§
Source§impl RemotePhysicalCodec
impl RemotePhysicalCodec
pub fn with_transform_codec( self, transform_codec: impl Into<Arc<dyn TransformCodec>>, ) -> Self
pub fn with_unparse_codec( self, unparse_codec: impl Into<Arc<dyn UnparseCodec>>, ) -> Self
pub fn with_connection_codec( self, connection_codec: impl Into<Arc<dyn ConnectionCodec>>, ) -> Self
Trait Implementations§
Source§impl Debug for RemotePhysicalCodec
impl Debug for RemotePhysicalCodec
Source§impl Default for RemotePhysicalCodec
impl Default for RemotePhysicalCodec
Source§impl PhysicalExtensionCodec for RemotePhysicalCodec
impl PhysicalExtensionCodec for RemotePhysicalCodec
fn try_decode( &self, buf: &[u8], inputs: &[Arc<dyn ExecutionPlan>], registry: &dyn FunctionRegistry, ) -> 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 RemotePhysicalCodec
impl !RefUnwindSafe for RemotePhysicalCodec
impl Send for RemotePhysicalCodec
impl Sync for RemotePhysicalCodec
impl Unpin for RemotePhysicalCodec
impl !UnwindSafe for RemotePhysicalCodec
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> 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