Crate dora_operator_api

Crate dora_operator_api 

Source
Expand description

The operator API is a framework to implement dora operators. The implemented operator will be managed by dora.

This framework enable us to make optimisation and provide advanced features. It is the recommended way of using dora.

An operator requires to be registered and implement the DoraOperator trait. It is composed of an on_event method that defines the behaviour of the operator when there is an event such as receiving an input for example.

Try it out with:

dora new op --kind operator

Re-exports§

pub use dora_operator_api_types as types;

Modules§

raw

Macros§

register_operator

Structs§

ArrowData
Wrapper type for an Arrow ArrayRef.
DoraOutputSender

Enums§

DoraStatus
Event

Traits§

DoraOperator
IntoArrow
Data that can be converted to an Arrow array.

Functions§

into_vec
Tries to convert the given Arrow array into a Vec of integers or floats.