View Source LastfmArchive.Behaviour.DataFrameIo behaviour (lastfm_archive v1.2.1)
Behaviour, macro and functions for Explorer.DataFrame related I/Os.
Summary
Types
@type data_frame() :: Explorer.DataFrame.t()
@type filepath() :: String.t()
@type options() :: Keyword.t()
Callbacks
@callback dump_csv!(data_frame(), options()) :: data()
@callback dump_ipc!(data_frame(), options()) :: data()
@callback dump_ipc_stream!(data_frame(), options()) :: data()
@callback dump_parquet!(data_frame(), options()) :: data()
@callback from_csv!(filepath(), options()) :: data_frame()
@callback from_ipc!(filepath(), options()) :: data_frame()
@callback from_ipc_stream!(filepath(), options()) :: data_frame()
@callback from_parquet!(filepath(), options()) :: data_frame()
@callback to_csv!(data_frame(), filepath(), options()) :: :ok
@callback to_ipc!(data_frame(), filepath(), options()) :: :ok
@callback to_ipc_stream!(data_frame(), filepath(), options()) :: :ok
@callback to_parquet!(data_frame(), filepath(), options()) :: :ok