Module simple_extensions

Module simple_extensions 

Source
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 / ConcreteType – type definitions and resolved type structures used when checking function signatures.
  • ScalarFunction – validated scalar function definitions with resolved signatures.
  • 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§

ConcreteType
A concrete, fully-resolved type instance with nullability.
CustomType
A validated Simple Extension type definition
ExtensionFile
A parsed and validated RawExtensions: a simple extensions file.
Options
Validated function options
Registry
Extension Registry that manages Substrait extensions
ScalarFunction
A validated scalar function definition with one or more implementations
ScalarFunctionImpl
A single function implementation (overload) with signature and resolved types
SimpleExtensions
The contents (types and functions) in an ExtensionFile.
VariadicBehavior
Validated variadic behavior with min/max constraints

Enums§

ExtensionTypeError
Error types for extension type validation
NullabilityHandling
How a function handles null inputs and produces nullable outputs
SimpleExtensionsError
Errors for converting from YAML to SimpleExtensions.
TypeExpr
A parsed type expression from a type string, with lifetime tied to the original string.