Available on crate feature
parse only.Expand description
Rustic types for validating and working with Substrait simple extensions.
The raw YAML structs live in crate::text::simple_extensions. This
module parses those values into the typed representations used by this
crate:
ExtensionFile– a fully validated extension document (URN plus its definitions).SimpleExtensions– the validated objects declared by a single extension file.CustomType/Type– type definitions and type expressions.ScalarFunction– parsed scalar function declarations.Registry– a reusable lookup structure that stores validated extension files and exposes typed access to their contents.
Modules§
- argument
- Parsing of type arguments:
simple_extensions::ArgumentsItem.
Structs§
- Custom
Type - A validated Simple Extension type definition
- Extension
File - A parsed and validated
RawExtensions: a simple extensions file. - Options
- Validated function options
- Registry
- Extension Registry that manages Substrait extensions
- Scalar
Function - A validated scalar function definition with one or more implementations
- Scalar
Function Impl - A single function implementation (overload) with parsed signature types.
- Simple
Extensions - The contents (types and functions) in an
ExtensionFile. - Type
- A type expression with nullability.
- Variadic
Behavior - Validated variadic behavior with min/max constraints
Enums§
- Extension
Type Error - Error types for extension type validation
- Integer
Parameter - An integer literal or a named parameter in a type expression.
- Nullability
Handling - How a function handles null inputs and produces nullable outputs
- Simple
Extensions Error - Errors for converting from YAML to SimpleExtensions.
- Type
Expr - A parsed type expression from a type string, with lifetime tied to the original string.
- Type
Kind - The structure of a type expression, without its nullability.
- Type
Parameter - A parameter, used in parameterized types