DatasetImporter

fun interface DatasetImporter(source)

Resolves a serializable DataSourceReference into a list of in-memory numeric datasets. Implementations are expected to be pure functions of their reference plus the file system / inline data; no side effects on shared state.

The default implementation is DefaultDatasetImporter; the interface exists so front-ends and tests can substitute alternative readers (in-memory fixtures, classpath resources, mocked databases later).

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun import(reference: DataSourceReference): List<NamedDataset>

Resolves the reference and returns one or more non-empty datasets. Throws ImportException when the reference is unresolvable or any dataset would be empty.