hydra.dsl.relational module
DSL functions for hydra.relational.
- hydra.dsl.relational.column_name(x: TypedTerm[str]) TypedTerm[ColumnName]
DSL constructor for the hydra.relational.ColumnName wrapper.
- hydra.dsl.relational.column_schema(name: TypedTerm[ColumnName], domain: TypedTerm[T]) TypedTerm[ColumnSchema[T]]
DSL constructor for hydra.relational.ColumnSchema.
- hydra.dsl.relational.column_schema_domain(x: TypedTerm[ColumnSchema[T]]) TypedTerm[T]
DSL accessor for the domain field of hydra.relational.ColumnSchema.
- hydra.dsl.relational.column_schema_name(x: TypedTerm[ColumnSchema[T]]) TypedTerm[ColumnName]
DSL accessor for the name field of hydra.relational.ColumnSchema.
- hydra.dsl.relational.column_schema_with_domain(original: TypedTerm[ColumnSchema[T]], new_val: TypedTerm[T]) TypedTerm[ColumnSchema[T]]
DSL updater for the domain field of hydra.relational.ColumnSchema.
- hydra.dsl.relational.column_schema_with_name(original: TypedTerm[ColumnSchema[T]], new_val: TypedTerm[ColumnName]) TypedTerm[ColumnSchema[T]]
DSL updater for the name field of hydra.relational.ColumnSchema.
- hydra.dsl.relational.decode_column_schema(t: TypedTerm[Callable[[Graph, Term], object]]) TypedTerm[Callable[[Graph, Term], object]]
DSL composition builder for the decoder of hydra.relational.ColumnSchema.
- hydra.dsl.relational.decode_relation(v: TypedTerm[Callable[[Graph, Term], object]]) TypedTerm[Callable[[Graph, Term], object]]
DSL composition builder for the decoder of hydra.relational.Relation.
- hydra.dsl.relational.decode_relation_schema(t: TypedTerm[Callable[[Graph, Term], object]]) TypedTerm[Callable[[Graph, Term], object]]
DSL composition builder for the decoder of hydra.relational.RelationSchema.
- hydra.dsl.relational.decode_relationship(v: TypedTerm[Callable[[Graph, Term], object]]) TypedTerm[Callable[[Graph, Term], object]]
DSL composition builder for the decoder of hydra.relational.Relationship.
- hydra.dsl.relational.decode_row(v: TypedTerm[Callable[[Graph, Term], object]]) TypedTerm[Callable[[Graph, Term], object]]
DSL composition builder for the decoder of hydra.relational.Row.
- hydra.dsl.relational.encode_column_schema(t: TypedTerm[Callable[[T], Term]]) TypedTerm[Callable[[ColumnSchema[T]], Term]]
DSL composition builder for the encoder of hydra.relational.ColumnSchema.
- hydra.dsl.relational.encode_relation(v: TypedTerm[Callable[[V], Term]]) TypedTerm[Callable[[Relation[V]], Term]]
DSL composition builder for the encoder of hydra.relational.Relation.
- hydra.dsl.relational.encode_relation_schema(t: TypedTerm[Callable[[T], Term]]) TypedTerm[Callable[[RelationSchema[T]], Term]]
DSL composition builder for the encoder of hydra.relational.RelationSchema.
- hydra.dsl.relational.encode_relationship(v: TypedTerm[Callable[[V], Term]]) TypedTerm[Callable[[Relationship[V]], Term]]
DSL composition builder for the encoder of hydra.relational.Relationship.
- hydra.dsl.relational.encode_row(v: TypedTerm[Callable[[V], Term]]) TypedTerm[Callable[[Row[V]], Term]]
DSL composition builder for the encoder of hydra.relational.Row.
- hydra.dsl.relational.foreign_key(foreign_relation: TypedTerm[RelationName], keys: TypedTerm[Mapping[ColumnName, ColumnName]]) TypedTerm[ForeignKey]
DSL constructor for hydra.relational.ForeignKey.
- hydra.dsl.relational.foreign_key_foreign_relation(x: TypedTerm[ForeignKey]) TypedTerm[RelationName]
DSL accessor for the foreignRelation field of hydra.relational.ForeignKey.
- hydra.dsl.relational.foreign_key_keys(x: TypedTerm[ForeignKey]) TypedTerm[Mapping[ColumnName, ColumnName]]
DSL accessor for the keys field of hydra.relational.ForeignKey.
- hydra.dsl.relational.foreign_key_with_foreign_relation(original: TypedTerm[ForeignKey], new_val: TypedTerm[RelationName]) TypedTerm[ForeignKey]
DSL updater for the foreignRelation field of hydra.relational.ForeignKey.
- hydra.dsl.relational.foreign_key_with_keys(original: TypedTerm[ForeignKey], new_val: TypedTerm[Mapping[ColumnName, ColumnName]]) TypedTerm[ForeignKey]
DSL updater for the keys field of hydra.relational.ForeignKey.
- hydra.dsl.relational.primary_key(x: TypedTerm[Sequence[ColumnName]]) TypedTerm[PrimaryKey]
DSL constructor for the hydra.relational.PrimaryKey wrapper.
- hydra.dsl.relational.relation(x: TypedTerm[Sequence[Row[V]]]) TypedTerm[Relation[V]]
DSL constructor for the hydra.relational.Relation wrapper.
- hydra.dsl.relational.relation_name(x: TypedTerm[str]) TypedTerm[RelationName]
DSL constructor for the hydra.relational.RelationName wrapper.
- hydra.dsl.relational.relation_schema(name: TypedTerm[RelationName], columns: TypedTerm[Sequence[ColumnSchema[T]]], primary_keys: TypedTerm[Sequence[PrimaryKey]], foreign_keys: TypedTerm[Sequence[ForeignKey]]) TypedTerm[RelationSchema[T]]
DSL constructor for hydra.relational.RelationSchema.
- hydra.dsl.relational.relation_schema_columns(x: TypedTerm[RelationSchema[T]]) TypedTerm[Sequence[ColumnSchema[T]]]
DSL accessor for the columns field of hydra.relational.RelationSchema.
- hydra.dsl.relational.relation_schema_foreign_keys(x: TypedTerm[RelationSchema[T]]) TypedTerm[Sequence[ForeignKey]]
DSL accessor for the foreignKeys field of hydra.relational.RelationSchema.
- hydra.dsl.relational.relation_schema_name(x: TypedTerm[RelationSchema[T]]) TypedTerm[RelationName]
DSL accessor for the name field of hydra.relational.RelationSchema.
- hydra.dsl.relational.relation_schema_primary_keys(x: TypedTerm[RelationSchema[T]]) TypedTerm[Sequence[PrimaryKey]]
DSL accessor for the primaryKeys field of hydra.relational.RelationSchema.
- hydra.dsl.relational.relation_schema_with_columns(original: TypedTerm[RelationSchema[T]], new_val: TypedTerm[Sequence[ColumnSchema[T]]]) TypedTerm[RelationSchema[T]]
DSL updater for the columns field of hydra.relational.RelationSchema.
- hydra.dsl.relational.relation_schema_with_foreign_keys(original: TypedTerm[RelationSchema[T]], new_val: TypedTerm[Sequence[ForeignKey]]) TypedTerm[RelationSchema[T]]
DSL updater for the foreignKeys field of hydra.relational.RelationSchema.
- hydra.dsl.relational.relation_schema_with_name(original: TypedTerm[RelationSchema[T]], new_val: TypedTerm[RelationName]) TypedTerm[RelationSchema[T]]
DSL updater for the name field of hydra.relational.RelationSchema.
- hydra.dsl.relational.relation_schema_with_primary_keys(original: TypedTerm[RelationSchema[T]], new_val: TypedTerm[Sequence[PrimaryKey]]) TypedTerm[RelationSchema[T]]
DSL updater for the primaryKeys field of hydra.relational.RelationSchema.
- hydra.dsl.relational.relationship(x: TypedTerm[Set[Mapping[ColumnName, V]]]) TypedTerm[Relationship[V]]
DSL constructor for the hydra.relational.Relationship wrapper.
- hydra.dsl.relational.row(x: TypedTerm[Sequence[V]]) TypedTerm[Row[V]]
DSL constructor for the hydra.relational.Row wrapper.
- hydra.dsl.relational.un_column_name(x: TypedTerm[ColumnName]) TypedTerm[str]
DSL accessor for the body of hydra.relational.ColumnName.
- hydra.dsl.relational.un_primary_key(x: TypedTerm[PrimaryKey]) TypedTerm[Sequence[ColumnName]]
DSL accessor for the body of hydra.relational.PrimaryKey.
- hydra.dsl.relational.un_relation(x: TypedTerm[Relation[V]]) TypedTerm[Sequence[Row[V]]]
DSL accessor for the body of hydra.relational.Relation.
- hydra.dsl.relational.un_relation_name(x: TypedTerm[RelationName]) TypedTerm[str]
DSL accessor for the body of hydra.relational.RelationName.
- hydra.dsl.relational.un_relationship(x: TypedTerm[Relationship[V]]) TypedTerm[Set[Mapping[ColumnName, V]]]
DSL accessor for the body of hydra.relational.Relationship.