Interface ICompressOptionContainer

All Known Implementing Classes:
PgBaseType, PgColumn

public interface ICompressOptionContainer
Interface for database objects that support compression options. Provides functionality for managing compression type, level, and block size settings.
  • Field Details

    • DEFAULT_COMPESS_TYPE

      static final String DEFAULT_COMPESS_TYPE
      Default compression type.
      See Also:
    • DEFAULT_COMPESS_LEVEL

      static final int DEFAULT_COMPESS_LEVEL
      Default compression level.
      See Also:
    • DEFAULT_BLOCK_SIZE

      static final int DEFAULT_BLOCK_SIZE
      Default block size.
      See Also:
  • Method Details

    • setCompressType

      void setCompressType(String compressType)
      Sets the compression type for this object.
      Parameters:
      compressType - the compression type to set
    • setCompressLevel

      void setCompressLevel(int compressLevel)
      Sets the compression level for this object.
      Parameters:
      compressLevel - the compression level to set
    • setBlockSize

      void setBlockSize(int blockSize)
      Sets the block size for this object.
      Parameters:
      blockSize - the block size to set
    • fillCompressOptions

      static void fillCompressOptions(ICompressOptionContainer statement, String compressOptions)
      Parses and fills compression options from a comma-separated string.
      Parameters:
      statement - the statement to apply options to
      compressOptions - the options string to parse