Skip to main content

decode_equity_batch

Function decode_equity_batch 

Source
pub fn decode_equity_batch(
    metadata: &HashMap<String, String>,
    record_batch: &RecordBatch,
) -> Result<Vec<Equity>, EncodingError>
Expand description

Helper function to decode Equity from RecordBatch (Cannot implement DecodeFromRecordBatch trait due to Into<Data> bound)

ยงErrors

Returns an EncodingError if the RecordBatch cannot be decoded.