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 Type
    Method
    Description
    void
    addInclude(String include)
    Adds a column to the INCLUDE clause of the index.
    void
    addParam(String key, String value)
    Adds an index parameter (WITH clause option).
    void
    setTablespace(String tablespace)
    Sets the tablespace for this index.
  • Method Details

    • addParam

      void addParam(String key, String value)
      Adds an index parameter (WITH clause option).
      Parameters:
      key - parameter name
      value - parameter value
    • addInclude

      void addInclude(String include)
      Adds a column to the INCLUDE clause of the index.
      Parameters:
      include - column name to include
    • setTablespace

      void setTablespace(String tablespace)
      Sets the tablespace for this index.
      Parameters:
      tablespace - tablespace name