Package org.pgcodekeeper.core.schema.pg
Interface PgIndexParamContainer
- All Known Implementing Classes:
PgConstraintExclude,PgConstraintPk
public interface PgIndexParamContainer
Interface for PostgreSQL objects that can contain index parameters.
Provides methods for adding index options, include columns, and tablespace settings.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddInclude(String include) Adds a column to the INCLUDE clause of the index.voidAdds an index parameter (WITH clause option).voidsetTablespace(String tablespace) Sets the tablespace for this index.
-
Method Details
-
addParam
Adds an index parameter (WITH clause option).- Parameters:
key- parameter namevalue- parameter value
-
addInclude
Adds a column to the INCLUDE clause of the index.- Parameters:
include- column name to include
-
setTablespace
Sets the tablespace for this index.- Parameters:
tablespace- tablespace name
-