Dialect¶
-
class
sqlalchemy_redshift.dialect.
RedshiftDialect
(*args, **kw)[source]¶ Define Redshift-specific behavior.
Most public methods are overrides of the underlying interfaces defined in
Dialect
andInspector
.-
create_connect_args
(*args, **kwargs)[source]¶ Build DB-API compatible connection arguments.
Overrides interface
create_connect_args()
.
-
ddl_compiler
¶ alias of
RedshiftDDLCompiler
-
get_columns
(connection, table_name, schema=None, **kw)[source]¶ Return information about columns in table_name.
Overrides interface
get_columns()
.
-
get_foreign_keys
(connection, table_name, schema=None, **kw)[source]¶ Return information about foreign keys in table_name.
Overrides interface
get_pk_constraint()
.
-
get_indexes
(connection, table_name, schema, **kw)[source]¶ Return information about indexes in table_name.
Because Redshift does not support traditional indexes, this always returns an empty list.
Overrides interface
get_indexes()
.
-
get_pk_constraint
(connection, table_name, schema=None, **kw)[source]¶ Return information about the primary key constraint on table_name.
Overrides interface
get_pk_constraint()
.
-
get_table_names
(connection, schema=None, **kw)[source]¶ Return a list of table names for schema.
Overrides interface
get_table_names()
.
-
get_table_options
(connection, table_name, schema, **kw)[source]¶ Return a dictionary of options specified when the table of the given name was created.
Overrides interface
get_table_options()
.
-
get_unique_constraints
(connection, table_name, schema=None, **kw)[source]¶ Return information about unique constraints in table_name.
Overrides interface
get_unique_constraints()
.
-