Documentation
¶
Overview ¶
Package schema provides types and utilities for working with dataset schemas
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnSchema ¶
type ColumnSchema struct {
// Name is the identifier of the column
Name string
// Type represents the data type of values in this column
Type ValueType
}
ColumnSchema describes a column in a dataset, including its name and data type.
type Schema ¶
type Schema struct {
// Columns is a slice of ColumnSchema defining all columns in the dataset
Columns []ColumnSchema
}
Schema represents the complete structure of a dataset, containing all column definitions.
func FromColumns ¶
func FromColumns(columns []ColumnSchema) Schema
Click to show internal directories.
Click to hide internal directories.