Skip to main content

Crate datafusion_proto_models

Crate datafusion_proto_models 

Source
Expand description

prost-generated DataFusion protobuf model types.

This crate contains the generated structs for DataFusion’s logical and physical plan protobuf schemas (see proto/datafusion.proto), plus the From / TryFrom conversions between them and the datafusion-common types they mirror. Those conversions live here because their DataFusion side sits below this crate in the dependency graph and so cannot host the impls itself — see from_proto and to_proto. It is the schema source of truth for datafusion-proto.

Most users should depend on datafusion-proto instead, which re-exports these types under datafusion_proto::protobuf.

Modules§

datafusion_common
Re-export of the datafusion_proto_common types as exposed through this crate’s generated module, for callers that want the common-only namespace.
from_proto
Conversions from the protobuf messages in this crate to their datafusion-common counterparts.
generated
protobuf
All DataFusion protobuf model types.
to_proto
Conversions from datafusion-common types to the protobuf messages in this crate.