Skip to main content

Module proto

Module proto 

Source
Available on crate feature proto only.
Expand description

The PhysicalExpr face of the session-scoped ProtoDecoderRegistry, which routes extension expressions to their decoders by name: ExtensionExprFromProto::register_proto and physical_expr_names, all keyed on dyn PhysicalExpr. The store itself is shared with every other extension kind, so a session carries one registry.

Structs§

PhysicalExprDecodeCtx
Decoder context handed to per-expression try_from_proto constructors.
PhysicalExprEncodeCtx
Encoder context handed to super::PhysicalExpr::try_to_proto.
ProtoDecoderRegistry
A store of extension decoders, keyed by the trait they produce and the name the encoder wrote on the wire.

Traits§

ExtensionExprFromProto
The wire name of an extension PhysicalExpr, and the constructor that rebuilds it.

Functions§

extension_expr_node
Build the PhysicalExprNode for an extension expression T: an Extension variant carrying payload, the encoded children, and T’s NAME.
physical_expr_names
Every extension expression name registered in registry, in arbitrary order.