Skip to main content

Module data

Module data 

Source
Expand description

Generic DataFrame FFI Functions for JIT

Industry-agnostic functions for accessing DataFrame rows and fields. Column indices are resolved at compile time from field names.

Functionsยง

jit_eval_data_datetime_ref
Stub for eval_data_datetime_ref - not yet implemented
jit_eval_data_relative
Stub for eval_data_relative - not yet implemented
jit_get_current_row
Get the current row index.
jit_get_field
Get a field value from the current or offset row by column index.
jit_get_field_typed
Get a field from a typed object using precomputed offset.
jit_get_row_count
Get the total number of rows in the DataFrame.
jit_get_row_ref
Create a lightweight row reference (just stores the row index).
jit_get_row_timestamp
Get the timestamp for a data row.
jit_load_col_bool
Load a boolean value from a column (stored as f64: 0.0=false, else true).
jit_load_col_f64
Load an f64 value from a column by index and row reference.
jit_load_col_i64
Load an i64 value from a column (stored as f64, cast back to integer).
jit_load_col_str
Load a string value from a column.
jit_row_get_field
Get a field value from a row reference.
jit_set_field_typed
Set a field on a typed object using precomputed offset.