Schema
class Column
Enumeration of column types. Supported types are: TEXT, CATEGORICAL, BOOLEAN, NUMERIC, INTEGER, DATETIME, DATE, TIME, COORDINATES.
class Table
Table.__init__
Class representing a table in a relational dataset.
Arguments:
columns
- Dictionary mapping each feature column to aColumn
object and each foreign key column to aForeignKey
object. A single optionalPrimaryKey
may be specified.**kwargs
- AdditionalColumn
,PrimaryKey
orForeignKey
objects.
class Schema
Schema.__init__
Schema of a relational dataset.
Arguments:
tables
- Dictionary associating each data table to aTable
object. Tables will be reordered to allow traversing from the graph roots to its leaves.**kwargs
- AdditionalTable
objects.
class PrimaryKey
Primary key
class ForeignKey
ForeignKey.__init__
Foreign key of a relational dataset, namely a relation between two tables.
Arguments:
parent
- Parent table (table to which the key refers to).