hydra.dsl.tabular module

DSL functions for hydra.tabular.

hydra.dsl.tabular.column_type(name: TypedTerm[ColumnName], type: TypedTerm[Type]) → TypedTerm[ColumnType]

DSL constructor for hydra.tabular.ColumnType.

hydra.dsl.tabular.column_type_name(x: TypedTerm[ColumnType]) → TypedTerm[ColumnName]

DSL accessor for the name field of hydra.tabular.ColumnType.

hydra.dsl.tabular.column_type_type(x: TypedTerm[ColumnType]) → TypedTerm[Type]

DSL accessor for the type field of hydra.tabular.ColumnType.

hydra.dsl.tabular.column_type_with_name(original: TypedTerm[ColumnType], new_val: TypedTerm[ColumnName]) → TypedTerm[ColumnType]

DSL updater for the name field of hydra.tabular.ColumnType.

hydra.dsl.tabular.column_type_with_type(original: TypedTerm[ColumnType], new_val: TypedTerm[Type]) → TypedTerm[ColumnType]

DSL updater for the type field of hydra.tabular.ColumnType.

hydra.dsl.tabular.data_row(x: TypedTerm[Sequence[object]]) → TypedTerm[DataRow[V]]

DSL constructor for the hydra.tabular.DataRow wrapper.

hydra.dsl.tabular.decode_data_row(v: TypedTerm[Callable[[Graph, Term], object]]) → TypedTerm[Callable[[Graph, Term], object]]

DSL composition builder for the decoder of hydra.tabular.DataRow.

hydra.dsl.tabular.decode_table(v: TypedTerm[Callable[[Graph, Term], object]]) → TypedTerm[Callable[[Graph, Term], object]]

DSL composition builder for the decoder of hydra.tabular.Table.

hydra.dsl.tabular.encode_data_row(v: TypedTerm[Callable[[V], Term]]) → TypedTerm[Callable[[DataRow[V]], Term]]

DSL composition builder for the encoder of hydra.tabular.DataRow.

hydra.dsl.tabular.encode_table(v: TypedTerm[Callable[[V], Term]]) → TypedTerm[Callable[[Table[V]], Term]]

DSL composition builder for the encoder of hydra.tabular.Table.

hydra.dsl.tabular.header_row(x: TypedTerm[Sequence[str]]) → TypedTerm[HeaderRow]

DSL constructor for the hydra.tabular.HeaderRow wrapper.

hydra.dsl.tabular.table(header: TypedTerm[object], data: TypedTerm[Sequence[DataRow[V]]]) → TypedTerm[Table[V]]

DSL constructor for hydra.tabular.Table.

hydra.dsl.tabular.table_data(x: TypedTerm[Table[V]]) → TypedTerm[Sequence[DataRow[V]]]

DSL accessor for the data field of hydra.tabular.Table.

hydra.dsl.tabular.table_header(x: TypedTerm[Table[V]]) → TypedTerm[object]

DSL accessor for the header field of hydra.tabular.Table.

hydra.dsl.tabular.table_type(name: TypedTerm[RelationName], columns: TypedTerm[Sequence[ColumnType]]) → TypedTerm[TableType]

DSL constructor for hydra.tabular.TableType.

hydra.dsl.tabular.table_type_columns(x: TypedTerm[TableType]) → TypedTerm[Sequence[ColumnType]]

DSL accessor for the columns field of hydra.tabular.TableType.

hydra.dsl.tabular.table_type_name(x: TypedTerm[TableType]) → TypedTerm[RelationName]

DSL accessor for the name field of hydra.tabular.TableType.

hydra.dsl.tabular.table_type_with_columns(original: TypedTerm[TableType], new_val: TypedTerm[Sequence[ColumnType]]) → TypedTerm[TableType]

DSL updater for the columns field of hydra.tabular.TableType.

hydra.dsl.tabular.table_type_with_name(original: TypedTerm[TableType], new_val: TypedTerm[RelationName]) → TypedTerm[TableType]

DSL updater for the name field of hydra.tabular.TableType.

hydra.dsl.tabular.table_with_data(original: TypedTerm[Table[V]], new_val: TypedTerm[Sequence[DataRow[V]]]) → TypedTerm[Table[V]]

DSL updater for the data field of hydra.tabular.Table.

hydra.dsl.tabular.table_with_header(original: TypedTerm[Table[V]], new_val: TypedTerm[object]) → TypedTerm[Table[V]]

DSL updater for the header field of hydra.tabular.Table.

hydra.dsl.tabular.un_data_row(x: TypedTerm[DataRow[V]]) → TypedTerm[Sequence[object]]

DSL accessor for the body of hydra.tabular.DataRow.

hydra.dsl.tabular.un_header_row(x: TypedTerm[HeaderRow]) → TypedTerm[Sequence[str]]

DSL accessor for the body of hydra.tabular.HeaderRow.