risingwave_connector::parser

Trait AccessBuilder

source
pub trait AccessBuilder {
    // Required method
    async fn generate_accessor(
        &mut self,
        payload: Vec<u8>,
    ) -> ConnectorResult<AccessImpl<'_>>;
}
Expand description

Parses raw bytes into a specific format (avro, json, protobuf, …), and then builds an Access from the parsed data.

Required Methods§

source

async fn generate_accessor( &mut self, payload: Vec<u8>, ) -> ConnectorResult<AccessImpl<'_>>

Object Safety§

This trait is not object safe.

Implementors§