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() :: String.t() | binary()
@type data_frame() :: Explorer.DataFrame.t()
@type filepath() :: String.t()
@type options() :: Keyword.t()

Callbacks

Link to this callback

dump_csv!(data_frame, options)

View Source
@callback dump_csv!(data_frame(), options()) :: data()
Link to this callback

dump_ipc!(data_frame, options)

View Source
@callback dump_ipc!(data_frame(), options()) :: data()
Link to this callback

dump_ipc_stream!(data_frame, options)

View Source
@callback dump_ipc_stream!(data_frame(), options()) :: data()
Link to this callback

dump_parquet!(data_frame, options)

View Source
@callback dump_parquet!(data_frame(), options()) :: data()
Link to this callback

from_csv!(filepath, options)

View Source
@callback from_csv!(filepath(), options()) :: data_frame()
Link to this callback

from_ipc!(filepath, options)

View Source
@callback from_ipc!(filepath(), options()) :: data_frame()
Link to this callback

from_ipc_stream!(filepath, options)

View Source
@callback from_ipc_stream!(filepath(), options()) :: data_frame()
Link to this callback

from_parquet!(filepath, options)

View Source
@callback from_parquet!(filepath(), options()) :: data_frame()
Link to this callback

to_csv!(data_frame, filepath, options)

View Source
@callback to_csv!(data_frame(), filepath(), options()) :: :ok
Link to this callback

to_ipc!(data_frame, filepath, options)

View Source
@callback to_ipc!(data_frame(), filepath(), options()) :: :ok
Link to this callback

to_ipc_stream!(data_frame, filepath, options)

View Source
@callback to_ipc_stream!(data_frame(), filepath(), options()) :: :ok
Link to this callback

to_parquet!(data_frame, filepath, options)

View Source
@callback to_parquet!(data_frame(), filepath(), options()) :: :ok