DataSourceReference

@Serializable
sealed class DataSourceReference(source)

Serializable locator for one or more numeric datasets that feed a distribution-fitting job.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
@Serializable
data class Database(val connection: DatabaseConnectionRef, val source: DbSource, val layout: DatasetLayout = DatasetLayout.WIDE, val idColumn: String? = null, val valueColumn: String? = null, val datasetColumns: List<String>? = null) : DataSourceReference

A database table or query. Numeric columns are read into datasets.

Link copied to clipboard
@Serializable
data class DelimitedFile(val path: String, val delimiter: Delimiter = Delimiter.COMMA, val hasHeader: Boolean = true, val layout: DatasetLayout = DatasetLayout.WIDE, val idColumn: String? = null, val valueColumn: String? = null, val datasetColumns: List<String>? = null) : DataSourceReference

A delimited text file on disk. Layout, delimiter, header policy, and column-role bindings together fully describe how to extract datasets.

Link copied to clipboard
@Serializable
data class Generated(val rv: RVData, val sampleSize: Int, val streamNumber: Int = 0, val name: String = "generated") : DataSourceReference

Synthetic data sampled from a KSL random variable, specified by the canonical serializable RVData (typed RVType + a name→DoubleArray parameter map, which faithfully carries scalar, integer, and array-valued parameters).

Link copied to clipboard
@Serializable
data class Inline(val datasets: Map<String, DoubleArray>) : DataSourceReference

Self-contained: one or more named series embedded directly in the reference. Insertion order of datasets is preserved by the importer.