IndexSpec#
- class lsst.daf.butler.ddl.IndexSpec(*columns: str, **kwargs: Any)#
Bases:
objectSpecification of an index on table columns.
Parameters#
- *columns
str Names of the columns to index.
- **kwargs
Any Additional keyword arguments to pass directly to
sqlalchemy.schema.Indexconstructor. This could be used to provide backend-specific options, e.g. to create aGISTindex in PostgreSQL one can passpostgresql_using="gist".
Attributes Summary
Column names to include in the index (
Tuple[str]).Additional keyword arguments passed directly to
sqlalchemy.schema.Indexconstructor (dict[str,Any]).Attributes Documentation
- columns: tuple[str, ...] = <dataclasses._MISSING_TYPE object>#
Column names to include in the index (
Tuple[str]).
- kwargs: dict[str, Any] = <dataclasses._MISSING_TYPE object>#
Additional keyword arguments passed directly to
sqlalchemy.schema.Indexconstructor (dict[str,Any]).
- *columns