Index

A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AnyObject - Class in io.github.mfvanek.pg.model.dbobject
An immutable generalized representation of an object in a database.
argumentNotNegative(int, String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the given integer value is not negative.

B

BIG_SERIAL - Enum constant in enum class io.github.mfvanek.pg.model.column.SerialType
Constant for the PostgreSQL "bigserial" type.
BLOAT_PERCENTAGE_FIELD - Static variable in interface io.github.mfvanek.pg.model.bloat.BloatAware
Constant representing the field name for bloat percentage.
BLOAT_PERCENTAGE_THRESHOLD_FIELD - Static variable in class io.github.mfvanek.pg.model.context.PgContext
Represents the field name for the bloat percentage threshold setting.
BLOAT_SIZE_IN_BYTES_FIELD - Static variable in interface io.github.mfvanek.pg.model.bloat.BloatAware
Constant representing the field name for bloat size in bytes.
BloatAware - Interface in io.github.mfvanek.pg.model.bloat
Allows getting information about bloat in a database.

C

CHECK - Enum constant in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
Check constraint.
column - Variable in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
The column associated with this instance.
Column - Class in io.github.mfvanek.pg.model.column
An immutable representation of a column in a database table/index/foreign key.
COLUMN_FIELD - Static variable in interface io.github.mfvanek.pg.model.column.ColumnTypeAware
Represents the constant value for identifying the "column" field.
COLUMN_NAME_FIELD - Static variable in interface io.github.mfvanek.pg.model.column.ColumnNameAware
Represents the name of the column field.
COLUMN_TYPE_FIELD - Static variable in interface io.github.mfvanek.pg.model.column.ColumnTypeAware
The field name representing the type of column in a database.
ColumnNameAware - Interface in io.github.mfvanek.pg.model.column
Allows getting column name.
COLUMNS_FIELD - Static variable in interface io.github.mfvanek.pg.model.column.ColumnsAware
Represents the field name used for storing a list of columns in the context of a database object.
ColumnsAware - Interface in io.github.mfvanek.pg.model.column
Representing an object that is aware of a collection of Column instances (zero or more).
columnType - Variable in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
The type of the column.
ColumnTypeAware - Interface in io.github.mfvanek.pg.model.column
Allows getting column name and type.
ColumnWithSerialType - Class in io.github.mfvanek.pg.model.column
An immutable representation of column with serial type in database table.
ColumnWithType - Class in io.github.mfvanek.pg.model.column
An immutable representation of column with type in database table.
combine(T, T, T...) - Static method in class io.github.mfvanek.pg.model.index.utils.DuplicatedIndexesParser
Combines given database objects into list.
compareTo(Column) - Method in class io.github.mfvanek.pg.model.column.Column
compareTo(ColumnWithSerialType) - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
compareTo(ColumnWithType) - Method in class io.github.mfvanek.pg.model.column.ColumnWithType
compareTo(AnyObject) - Method in class io.github.mfvanek.pg.model.dbobject.AnyObject
compareTo(StoredFunction) - Method in class io.github.mfvanek.pg.model.function.StoredFunction
compareTo(Index) - Method in class io.github.mfvanek.pg.model.index.Index
compareTo(IndexWithBloat) - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
compareTo(IndexWithColumns) - Method in class io.github.mfvanek.pg.model.index.IndexWithColumns
compareTo(UnusedIndex) - Method in class io.github.mfvanek.pg.model.index.UnusedIndex
compareTo(Table) - Method in class io.github.mfvanek.pg.model.table.Table
compareTo(TableWithBloat) - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
compareTo(TableWithColumns) - Method in class io.github.mfvanek.pg.model.table.TableWithColumns
compareTo(TableWithMissingIndex) - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Constraint - Class in io.github.mfvanek.pg.model.constraint
An immutable representation of constraint in a database.
CONSTRAINT - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A constraint in a database.
CONSTRAINT_FIELD - Static variable in class io.github.mfvanek.pg.model.constraint.ForeignKey
Represents the name of the field that defines a database constraint.
CONSTRAINT_NAME_FIELD - Static variable in interface io.github.mfvanek.pg.model.constraint.ConstraintNameAware
A constant representing the field name for the database constraint.
CONSTRAINT_TYPE_FIELD - Static variable in class io.github.mfvanek.pg.model.constraint.Constraint
A constant representing the field name for the type of constraint.
ConstraintNameAware - Interface in io.github.mfvanek.pg.model.constraint
Represents an entity that is aware of a database constraint name.
ConstraintsAware - Interface in io.github.mfvanek.pg.model.constraint
Represents an entity that is aware of database constraints.
ConstraintType - Enum Class in io.github.mfvanek.pg.model.constraint
A mapping to PostgreSQL constraint types.
convertToBytes(int) - Method in enum class io.github.mfvanek.pg.model.units.MemoryUnit
Converts given information units amount to bytes according to it MemoryUnit.dimension.
countNotNegative(long, String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the given count is not negative.

D

DATA_TYPE_FIELD - Static variable in class io.github.mfvanek.pg.model.sequence.SequenceState
Represents the field name for storing the data type of the sequence.
DbObject - Interface in io.github.mfvanek.pg.model.dbobject
A generalized representation of a database object.
DEFAULT_BLOAT_PERCENTAGE_THRESHOLD - Static variable in class io.github.mfvanek.pg.model.context.PgContext
Default bloat percentage threshold.
DEFAULT_REMAINING_PERCENTAGE_THRESHOLD - Static variable in class io.github.mfvanek.pg.model.context.PgContext
Default sequence remaining values percentage threshold.
DEFAULT_SCHEMA_NAME - Static variable in class io.github.mfvanek.pg.model.context.PgContext
Default schema name.
DuplicatedForeignKeys - Class in io.github.mfvanek.pg.model.constraint
An immutable representation of duplicated foreign keys in a database.
DuplicatedIndexes - Class in io.github.mfvanek.pg.model.index
An immutable representation of duplicated indexes in a database.
DuplicatedIndexesParser - Class in io.github.mfvanek.pg.model.index.utils
Utility class for parsing duplicated index information from a formatted string and combining database objects into lists.

E

EFFECTIVE_CACHE_SIZE - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter effective_cache_size, with a default value of 4GB.
enrichWith(String, PgContext) - Static method in class io.github.mfvanek.pg.model.context.PgContext
Complement the given object name with the specified schema name if it is necessary.
enrichWithSchema(String) - Method in class io.github.mfvanek.pg.model.context.PgContext
Complement the given object (table or index) name with the specified schema name if it is necessary.
equals(Object) - Method in class io.github.mfvanek.pg.model.column.Column
equals(Object) - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
equals(Object) - Method in class io.github.mfvanek.pg.model.column.ColumnWithType
equals(Object) - Method in class io.github.mfvanek.pg.model.constraint.Constraint
equals(Object) - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
equals(Object) - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
equals(Object) - Method in class io.github.mfvanek.pg.model.context.PgContext
equals(Object) - Method in class io.github.mfvanek.pg.model.dbobject.AnyObject
equals(Object) - Method in class io.github.mfvanek.pg.model.function.StoredFunction
equals(Object) - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
equals(Object) - Method in class io.github.mfvanek.pg.model.index.Index
equals(Object) - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
equals(Object) - Method in class io.github.mfvanek.pg.model.index.IndexWithColumns
equals(Object) - Method in class io.github.mfvanek.pg.model.index.UnusedIndex
equals(Object) - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
equals(Object) - Method in class io.github.mfvanek.pg.model.table.Table
equals(Object) - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
equals(Object) - Method in class io.github.mfvanek.pg.model.table.TableWithColumns
equals(Object) - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
ExcludeFromJacocoGeneratedReport - Annotation Interface in io.github.mfvanek.pg.model.annotations
Custom annotation to exclude some methods from Jacoco code coverage report.

F

FOREIGN_KEY - Enum constant in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
Foreign key constraint.
FOREIGN_KEYS_FIELD - Static variable in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Represents the field name used to store information about foreign keys in the context of duplicated foreign key constraints.
ForeignKey - Class in io.github.mfvanek.pg.model.constraint
An immutable representation of a foreign key in a database.
FUNCTION - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A function in a database.
FUNCTION_NAME_FIELD - Static variable in class io.github.mfvanek.pg.model.function.StoredFunction
Constant representing the field name for a stored procedure or function name within the StoredFunction class.
FUNCTION_SIGNATURE_FIELD - Static variable in class io.github.mfvanek.pg.model.function.StoredFunction
Constant representing the field name for a function's signature.

G

GB - Enum constant in enum class io.github.mfvanek.pg.model.units.MemoryUnit
Represents a gigabyte, equivalent to 1,024 megabytes or 1,073,741,824 bytes.
getBloatPercentage() - Method in interface io.github.mfvanek.pg.model.bloat.BloatAware
Retrieves bloat percentage (in the range from 0 to 100 inclusive).
getBloatPercentage() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Retrieves bloat percentage (in the range from 0 to 100 inclusive).
getBloatPercentage() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
Retrieves bloat percentage (in the range from 0 to 100 inclusive).
getBloatPercentageThreshold() - Method in class io.github.mfvanek.pg.model.context.PgContext
Returns the specified bloat percentage threshold.
getBloatSizeInBytes() - Method in interface io.github.mfvanek.pg.model.bloat.BloatAware
Retrieves bloat amount in bytes.
getBloatSizeInBytes() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Retrieves bloat amount in bytes.
getBloatSizeInBytes() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
Retrieves bloat amount in bytes.
getColumnName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves column name in the table.
getColumnName() - Method in class io.github.mfvanek.pg.model.column.Column
Retrieves column name in the table.
getColumnName() - Method in interface io.github.mfvanek.pg.model.column.ColumnNameAware
Retrieves column name in the table.
getColumns() - Method in interface io.github.mfvanek.pg.model.column.ColumnsAware
Retrieves a list of Column instances associated with this object.
getColumns() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Retrieves columns of foreign key constraint (one or more).
getColumns() - Method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Retrieves columns in index (one or more).
getColumns() - Method in class io.github.mfvanek.pg.model.table.TableWithColumns
Retrieves columns of table (zero or more).
getColumnType() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves column type in the table.
getColumnType() - Method in interface io.github.mfvanek.pg.model.column.ColumnTypeAware
Retrieves column type in the table.
getColumnType() - Method in enum class io.github.mfvanek.pg.model.column.SerialType
Returns the string representation of this PostgreSQL serial type.
getConstraintName() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
Retrieves the name of the database constraint associated with this entity.
getConstraintName() - Method in interface io.github.mfvanek.pg.model.constraint.ConstraintNameAware
Retrieves the name of the database constraint associated with this entity.
getConstraintName() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Retrieves the name of the database constraint associated with this entity.
getConstraints() - Method in interface io.github.mfvanek.pg.model.constraint.ConstraintsAware
Retrieves the list of database constraints associated with this entity.
getConstraints() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Retrieves the list of database constraints associated with this entity.
getConstraintType() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
Retrieves type of constraint.
getConstraintType() - Method in interface io.github.mfvanek.pg.model.constraint.ConstraintNameAware
Retrieves type of constraint.
getConstraintType() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Retrieves type of constraint.
getDataType() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
Returns the data type of the sequence.
getDefaultValue() - Method in enum class io.github.mfvanek.pg.model.settings.ImportantParam
Returns the default value for this parameter.
getFirstColumn() - Method in interface io.github.mfvanek.pg.model.column.ColumnsAware
Retrieves the first column in the list.
getForeignKeys() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Retrieves duplicated foreign keys.
getFunctionName() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
Retrieves procedure/function name.
getFunctionSignature() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
Retrieves procedure/function arguments.
getIndexes() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Retrieves a list of indexes associated with this entity.
getIndexes() - Method in interface io.github.mfvanek.pg.model.index.IndexesAware
Retrieves a list of indexes associated with this entity.
getIndexName() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Retrieves index name.
getIndexName() - Method in class io.github.mfvanek.pg.model.index.Index
Retrieves index name.
getIndexName() - Method in interface io.github.mfvanek.pg.model.index.IndexNameAware
Retrieves index name.
getIndexNames() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Retrieves names of all duplicated indexes.
getIndexScans() - Method in class io.github.mfvanek.pg.model.index.UnusedIndex
Returns the number of scans performed on this index.
getIndexScans() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Retrieves the number of index scans performed on this table.
getIndexSizeInBytes() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Retrieves index size in bytes.
getIndexSizeInBytes() - Method in class io.github.mfvanek.pg.model.index.Index
Retrieves index size in bytes.
getIndexSizeInBytes() - Method in interface io.github.mfvanek.pg.model.index.IndexSizeAware
Retrieves index size in bytes.
getName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.column.Column
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.dbobject.AnyObject
Retrieves database object name.
getName() - Method in interface io.github.mfvanek.pg.model.dbobject.DbObject
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.index.Index
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
Retrieves database object name.
getName() - Method in enum class io.github.mfvanek.pg.model.settings.ImportantParam
Retrieves the name of the parameter.
getName() - Method in interface io.github.mfvanek.pg.model.settings.ParamNameAware
Retrieves the name of the parameter.
getName() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.table.Table
Retrieves database object name.
getObjectType() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.column.Column
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.dbobject.AnyObject
Retrieves database object type.
getObjectType() - Method in interface io.github.mfvanek.pg.model.dbobject.DbObject
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.index.Index
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.table.Table
Retrieves database object type.
getPgConType() - Method in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
Retrieves internal PostgreSQL constraint type.
getRemainingPercentage() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
Returns the remaining percentage of the sequence.
getRemainingPercentageThreshold() - Method in class io.github.mfvanek.pg.model.context.PgContext
Returns the specified remaining percentage threshold.
getSchemaName() - Method in class io.github.mfvanek.pg.model.context.PgContext
Returns the specified schema name.
getSeqScans() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Retrieves the number of sequential scans performed on this table.
getSequenceName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves the name of the associated sequence.
getSequenceName() - Method in interface io.github.mfvanek.pg.model.sequence.SequenceNameAware
Retrieves the name of the sequence associated with the implementing object.
getSequenceName() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
Retrieves the name of the sequence associated with the implementing object.
getSerialType() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves raw type of serial column.
getTableName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.column.Column
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.index.Index
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.table.Table
Retrieves table name.
getTableName() - Method in interface io.github.mfvanek.pg.model.table.TableNameAware
Retrieves table name.
getTableSizeInBytes() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
Retrieves table size in bytes.
getTableSizeInBytes() - Method in class io.github.mfvanek.pg.model.table.Table
Retrieves table size in bytes.
getTableSizeInBytes() - Method in interface io.github.mfvanek.pg.model.table.TableSizeAware
Retrieves table size in bytes.
getTotalSize() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Retrieves the total size in bytes of all duplicated indexes.
getValidateSql() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
Builds and returns sql query to validate current constraint.

H

hashCode() - Method in class io.github.mfvanek.pg.model.column.Column
hashCode() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
hashCode() - Method in class io.github.mfvanek.pg.model.column.ColumnWithType
hashCode() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
hashCode() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
hashCode() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
hashCode() - Method in class io.github.mfvanek.pg.model.context.PgContext
hashCode() - Method in class io.github.mfvanek.pg.model.dbobject.AnyObject
hashCode() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
hashCode() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
hashCode() - Method in class io.github.mfvanek.pg.model.index.Index
hashCode() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
hashCode() - Method in class io.github.mfvanek.pg.model.index.IndexWithColumns
hashCode() - Method in class io.github.mfvanek.pg.model.index.UnusedIndex
hashCode() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
hashCode() - Method in class io.github.mfvanek.pg.model.table.Table
hashCode() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
hashCode() - Method in class io.github.mfvanek.pg.model.table.TableWithColumns
hashCode() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex

I

IDLE_IN_TRANSACTION_SESSION_TIMEOUT - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter idle_in_transaction_session_timeout, with a default value of 0.
ImportantParam - Enum Class in io.github.mfvanek.pg.model.settings
Enumeration of PostgreSQL configuration parameters considered important for database performance and behavior.
index - Variable in class io.github.mfvanek.pg.model.index.IndexWithBloat
The Index instance associated with this object.
Index - Class in io.github.mfvanek.pg.model.index
An immutable representation of database index.
INDEX - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
An index in a database.
INDEX_FIELD - Static variable in interface io.github.mfvanek.pg.model.index.IndexSizeAware
The name of the field that defines an index.
INDEX_NAME_FIELD - Static variable in interface io.github.mfvanek.pg.model.index.IndexNameAware
Constant representing the field name for index names in a database entity.
INDEX_SCANS_FIELD - Static variable in class io.github.mfvanek.pg.model.index.UnusedIndex
Represents the field name for the number of scans performed on an index.
INDEX_SCANS_FIELD - Static variable in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Represents the field name used to store information about index scans.
INDEX_SIZE_IN_BYTES_FIELD - Static variable in interface io.github.mfvanek.pg.model.index.IndexSizeAware
Represents the field name used for retrieving the size of an index in bytes.
INDEXES_FIELD - Static variable in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Represents the field name used to store information about indexes.
IndexesAware - Interface in io.github.mfvanek.pg.model.index
Represents an entity that is aware of and can provide a list of indexes.
IndexNameAware - Interface in io.github.mfvanek.pg.model.index
Allows getting index name.
indexNameNotBlank(String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the provided index name is not blank.
IndexSizeAware - Interface in io.github.mfvanek.pg.model.index
Allows getting index size in bytes.
IndexWithBloat - Class in io.github.mfvanek.pg.model.index
An immutable representation of a database index with information about bloat.
IndexWithColumns - Class in io.github.mfvanek.pg.model.index
An immutable representation of a database index with information about size and columns.
innerToString() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
An auxiliary utility method for implementing toString() in child classes.
io.github.mfvanek.pg.model.annotations - package io.github.mfvanek.pg.model.annotations
Custom annotations.
io.github.mfvanek.pg.model.bloat - package io.github.mfvanek.pg.model.bloat
Bloat related classes and interfaces.
io.github.mfvanek.pg.model.column - package io.github.mfvanek.pg.model.column
Column related classes and interfaces.
io.github.mfvanek.pg.model.constraint - package io.github.mfvanek.pg.model.constraint
Constraint related classes and interfaces.
io.github.mfvanek.pg.model.context - package io.github.mfvanek.pg.model.context
Context related classes and interfaces.
io.github.mfvanek.pg.model.dbobject - package io.github.mfvanek.pg.model.dbobject
General database object related classes and interfaces.
io.github.mfvanek.pg.model.function - package io.github.mfvanek.pg.model.function
Stored procedure/function-related classes and interfaces.
io.github.mfvanek.pg.model.index - package io.github.mfvanek.pg.model.index
An index related classes and interfaces.
io.github.mfvanek.pg.model.index.utils - package io.github.mfvanek.pg.model.index.utils
An additional index related utilities.
io.github.mfvanek.pg.model.predicates - package io.github.mfvanek.pg.model.predicates
Set of classes for filtering DbObject instances.
io.github.mfvanek.pg.model.sequence - package io.github.mfvanek.pg.model.sequence
Sequence related classes and interfaces.
io.github.mfvanek.pg.model.settings - package io.github.mfvanek.pg.model.settings
Settings related classes and interfaces.
io.github.mfvanek.pg.model.settings.validation - package io.github.mfvanek.pg.model.settings.validation
An additional validation methods related to database parameters.
io.github.mfvanek.pg.model.table - package io.github.mfvanek.pg.model.table
Table related classes and interfaces.
io.github.mfvanek.pg.model.units - package io.github.mfvanek.pg.model.units
Units of information for pg-index-health models.
io.github.mfvanek.pg.model.validation - package io.github.mfvanek.pg.model.validation
Various validation methods for pg-index-health models.
isDefaultSchema() - Method in class io.github.mfvanek.pg.model.context.PgContext
Determines whether the specified schema is default or not.
isNotNull() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Shows whether a column can or cannot accept null values.
isNotNull() - Method in class io.github.mfvanek.pg.model.column.Column
Shows whether a column can or cannot accept null values.
isNotNull() - Method in interface io.github.mfvanek.pg.model.column.ColumnNameAware
Shows whether a column can or cannot accept null values.
isNullable() - Method in interface io.github.mfvanek.pg.model.column.ColumnNameAware
Shows whether a column can accept null values.

K

KB - Enum constant in enum class io.github.mfvanek.pg.model.units.MemoryUnit
Represents a kilobyte, equivalent to 1,024 bytes.

L

LOCK_TIMEOUT - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter lock_timeout, with a default value of 0.
LOG_MIN_DURATION_STATEMENT - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter log_min_duration_statement, with a default value of -1.

M

MAINTENANCE_WORK_MEM - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter maintenance_work_mem, with a default value of 64MB.
MATERIALIZED_VIEW - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A materialized view of a query.
MB - Enum constant in enum class io.github.mfvanek.pg.model.units.MemoryUnit
Represents a megabyte, equivalent to 1,024 kilobytes or 1,048,576 bytes.
MemoryUnit - Enum Class in io.github.mfvanek.pg.model.units
Units of information.

N

NOT_NULL_FIELD - Static variable in interface io.github.mfvanek.pg.model.column.ColumnNameAware
Represents a constant for identifying a "not null" column constraint.
notBlank(String, String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the provided string argument is not blank.

O

OBJECT_NAME_FIELD - Static variable in class io.github.mfvanek.pg.model.dbobject.AnyObject
A constant representing the field name for an object's name in a database.
OBJECT_TYPE_FIELD - Static variable in class io.github.mfvanek.pg.model.dbobject.AnyObject
A constant representing the field name for an object's type in a database.
of(long) - Static method in class io.github.mfvanek.pg.model.predicates.SkipSmallIndexesPredicate
Creates a SkipSmallIndexesPredicate with the specified size threshold.
of(long) - Static method in class io.github.mfvanek.pg.model.predicates.SkipSmallTablesPredicate
Creates a SkipSmallTablesPredicate with the specified size threshold.
of(long, double) - Static method in class io.github.mfvanek.pg.model.predicates.SkipBloatUnderThresholdPredicate
Creates a predicate to skip BloatAware objects with bloat below specified thresholds.
of(Column, SerialType, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of a given serial type.
of(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object of a given column and type.
of(Constraint, List<Column>) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Creates a new ForeignKey object with the specified Constraint and associated columns.
of(ForeignKey, ForeignKey, ForeignKey...) - Static method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Constructs an DuplicatedForeignKeys object from given foreign keys.
of(PgContext) - Static method in class io.github.mfvanek.pg.model.predicates.SkipFlywayTablesPredicate
Returns a predicate that skips Flyway tables in the specified schema context.
of(PgContext) - Static method in class io.github.mfvanek.pg.model.predicates.SkipLiquibaseTablesPredicate
Returns a predicate that skips Liquibase tables in the specified schema context.
of(PgContext, Column, SerialType, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of a given serial type and context.
of(PgContext, String) - Static method in class io.github.mfvanek.pg.model.table.Table
Constructs a Table object with zero size and given context.
of(PgContext, String) - Static method in class io.github.mfvanek.pg.model.table.TableWithBloat
Constructs a TableWithBloat object with given context and zero bloat.
of(PgContext, String) - Static method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Constructs a TableWithMissingIndex object with given context and zero size.
of(PgContext, String, long) - Static method in class io.github.mfvanek.pg.model.table.Table
Constructs a Table object with given context.
of(PgContext, String, long, long, double) - Static method in class io.github.mfvanek.pg.model.table.TableWithBloat
Constructs a TableWithBloat object with given context.
of(PgContext, String, long, long, long) - Static method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Constructs a TableWithMissingIndex object with given context.
of(PgContext, String, String) - Static method in class io.github.mfvanek.pg.model.function.StoredFunction
Constructs a StoredFunction object with given context.
of(PgContext, String, String) - Static method in class io.github.mfvanek.pg.model.index.Index
Constructs an Index object with zero size and given context.
of(PgContext, String, String) - Static method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Constructs a IndexWithBloat object with given context and zero bloat.
of(PgContext, String, String) - Static method in class io.github.mfvanek.pg.model.index.UnusedIndex
Creates a new UnusedIndex instance with zero size and given context.
of(PgContext, String, String, double) - Static method in class io.github.mfvanek.pg.model.sequence.SequenceState
Constructs a SequenceState object with given context.
of(PgContext, String, String, long) - Static method in class io.github.mfvanek.pg.model.index.Index
Constructs an Index object with given context.
of(PgContext, String, String, long, long) - Static method in class io.github.mfvanek.pg.model.index.UnusedIndex
Creates a new UnusedIndex instance with the specified parameters and given context.
of(PgContext, String, String, long, long, double) - Static method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Constructs a IndexWithBloat object with given context.
of(PgContext, String, String, List<Column>) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with given columns and context.
of(PgContext, Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipBySequenceNamePredicate
Creates a predicate to skip a collection of sequence names in the given PostgreSQL context.
of(PgContext, Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipDbObjectsByNamePredicate
Creates a predicate to skip multiple object names in the given context.
of(PgContext, Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipIndexesByNamePredicate
Creates a predicate to skip a collection of index names in a specified schema context.
of(PgContext, Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipTablesByNamePredicate
Creates a predicate to skip specific tables in the specified schema context.
of(Index, long) - Static method in class io.github.mfvanek.pg.model.index.UnusedIndex
Constructs a UnusedIndex object.
of(Index, long, double) - Static method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Constructs a IndexWithBloat object with given index and bloat.
of(Index, Index, Index...) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Constructs an DuplicatedIndexes object from given indexes.
of(Index, List<Column>) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with given index and columns.
of(Table, long, double) - Static method in class io.github.mfvanek.pg.model.table.TableWithBloat
Constructs a TableWithBloat object.
of(Table, long, long) - Static method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Constructs a TableWithMissingIndex object.
of(Table, List<Column>) - Static method in class io.github.mfvanek.pg.model.table.TableWithColumns
Creates a TableWithColumns from the given table and list of columns.
of(String) - Static method in class io.github.mfvanek.pg.model.context.PgContext
Creates PgContext for given schema with a default bloat percentage threshold.
of(String) - Static method in class io.github.mfvanek.pg.model.table.Table
Constructs a Table object with zero size.
of(String) - Static method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Constructs a TableWithMissingIndex object with zero size.
of(String, double) - Static method in class io.github.mfvanek.pg.model.context.PgContext
Creates PgContext for given schema with a given bloat percentage threshold.
of(String, double, double) - Static method in class io.github.mfvanek.pg.model.context.PgContext
Creates a PgContext for the given schema with the specified bloat percentage threshold and remaining percentage threshold.
of(String, long) - Static method in class io.github.mfvanek.pg.model.table.Table
Constructs a Table object.
of(String, long, long, double) - Static method in class io.github.mfvanek.pg.model.table.TableWithBloat
Constructs a TableWithBloat object.
of(String, long, long, long) - Static method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Constructs a TableWithMissingIndex object.
of(String, String) - Static method in class io.github.mfvanek.pg.model.function.StoredFunction
Constructs a StoredFunction object.
of(String, String) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Constructs an DuplicatedIndexes object from given table name and raw string queried from a database.
of(String, String) - Static method in class io.github.mfvanek.pg.model.index.Index
Constructs an Index object with zero size.
of(String, String) - Static method in class io.github.mfvanek.pg.model.index.UnusedIndex
Creates a new UnusedIndex instance with zero size.
of(String, String, double) - Static method in class io.github.mfvanek.pg.model.sequence.SequenceState
Constructs a SequenceState object.
of(String, String, long) - Static method in class io.github.mfvanek.pg.model.index.Index
Constructs an Index object.
of(String, String, long, long) - Static method in class io.github.mfvanek.pg.model.index.UnusedIndex
Creates a new UnusedIndex instance with the specified parameters.
of(String, String, long, long, double) - Static method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Constructs a IndexWithBloat object.
of(String, String, List<Column>) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with given columns.
of(Collection<ForeignKey>) - Static method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Constructs an DuplicatedForeignKeys object from a given list of foreign keys.
of(Collection<Index>) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Constructs an DuplicatedIndexes object from a given list of indexes.
of(Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipByColumnNamePredicate
Creates a predicate to skip a collection of column names.
of(Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipByConstraintNamePredicate
Creates a predicate to skip a collection of constraint names.
of(Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipDbObjectsByNamePredicate
Creates a predicate to skip multiple fully qualified object names.
ofBigint(Column) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object with the "bigint" type for the specified column.
ofBigSerial(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of bigserial type.
ofBigSerial(PgContext, Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of bigserial type and context.
ofColumn(Constraint, Column) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with given Constraint and Column.
ofColumn(PgContext, String, String, Column) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with given Column and context.
ofColumn(String, String, Column) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with given Column.
ofColumns(PgContext, String, String, long, List<Column>) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with given columns and context.
ofColumns(PgContext, String, String, List<Column>) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with zero size, given columns and context.
ofColumns(String, String, long, List<Column>) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with given columns.
ofDefault() - Static method in class io.github.mfvanek.pg.model.context.PgContext
Creates PgContext for default schema with a default bloat percentage threshold.
ofDefault() - Static method in class io.github.mfvanek.pg.model.predicates.SkipFlywayTablesPredicate
Returns a predicate that skips Flyway tables in the default schema.
ofDefault() - Static method in class io.github.mfvanek.pg.model.predicates.SkipLiquibaseTablesPredicate
Returns a predicate that skips Liquibase tables in the default context.
ofDefault(Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipBySequenceNamePredicate
Creates a predicate to skip a collection of sequence names in the default context.
ofDefault(Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipIndexesByNamePredicate
Creates a predicate to skip a collection of index names in the default schema.
ofDefault(Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipTablesByNamePredicate
Creates a predicate to skip specific tables in the default schema.
ofInteger(Column) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object with the "integer" type for the specified column.
ofName(PgContext, String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipBySequenceNamePredicate
Creates a predicate to skip a specific sequence name in the given PostgreSQL context.
ofName(PgContext, String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipDbObjectsByNamePredicate
Creates a predicate to skip a specific object name in the given context.
ofName(PgContext, String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipIndexesByNamePredicate
Creates a predicate to skip a single index name in a specified schema context.
ofName(PgContext, String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipTablesByNamePredicate
Creates a predicate to skip a specific table in the specified schema context.
ofName(String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipByColumnNamePredicate
Creates a predicate to skip a specific column name.
ofName(String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipByConstraintNamePredicate
Creates a predicate to skip a specific constraint name.
ofName(String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipBySequenceNamePredicate
Creates a predicate to skip a specific sequence name in the default context.
ofName(String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipDbObjectsByNamePredicate
Creates a predicate to skip a specific fully qualified object name.
ofName(String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipIndexesByNamePredicate
Creates a predicate to skip a single index name in the default schema.
ofName(String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipTablesByNamePredicate
Creates a predicate to skip a specific table in the default schema.
ofNoArgs(PgContext, String) - Static method in class io.github.mfvanek.pg.model.function.StoredFunction
Constructs a StoredFunction object without arguments/signature with given context.
ofNoArgs(String) - Static method in class io.github.mfvanek.pg.model.function.StoredFunction
Constructs a StoredFunction object without arguments/signature.
ofNotNull(PgContext, String, String) - Static method in class io.github.mfvanek.pg.model.column.Column
Constructs a not null Column object with given context.
ofNotNull(PgContext, String, String, String) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object of zero size with one not-null column and given context.
ofNotNull(String, String) - Static method in class io.github.mfvanek.pg.model.column.Column
Constructs a not null Column object.
ofNotNullColumn(PgContext, String, String) - Static method in class io.github.mfvanek.pg.model.table.TableWithColumns
Creates a TableWithColumns for the given table and a single non-nullable column.
ofNotNullColumn(PgContext, String, String, String) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with not null column and given context.
ofNotNullColumn(String, String, String) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with not null column.
ofNullable(PgContext, String, String) - Static method in class io.github.mfvanek.pg.model.column.Column
Constructs a nullable Column object with given context.
ofNullable(PgContext, String, String, String) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object of zero size with one nullable column and given context.
ofNullable(String, String) - Static method in class io.github.mfvanek.pg.model.column.Column
Constructs a nullable Column object.
ofNullableColumn(PgContext, String, String) - Static method in class io.github.mfvanek.pg.model.table.TableWithColumns
Creates a TableWithColumns for the given table and a single nullable column.
ofNullableColumn(PgContext, String, String, String) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with nullable column and given context.
ofNullableColumn(String, String, String) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with nullable column.
ofRaw(String, String) - Static method in class io.github.mfvanek.pg.model.dbobject.AnyObject
Constructs an AnyObject instance.
ofSerial(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of serial type.
ofSerial(PgContext, Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of serial type.
ofSingle(PgContext, String, String, long, Column) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with one column and given context.
ofSingle(Index, Column) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with one column and given index.
ofSingle(Table, Column) - Static method in class io.github.mfvanek.pg.model.table.TableWithColumns
Creates a TableWithColumns containing a single column.
ofSingle(String, String, long, Column) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with one column.
ofSmallint(Column) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object with the "smallint" type for the specified column.
ofSmallSerial(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of smallserial type.
ofSmallSerial(PgContext, Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of smallserial type.
ofText(Column) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object with the "text" type for the specified column.
ofTimestamp(Column) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object with the "timestamp without time zone" type for the specified column.
ofTimestamptz(Column) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object with the "timestamp with time zone" type for the specified column.
ofType(PgContext, String, PgObjectType) - Static method in class io.github.mfvanek.pg.model.dbobject.AnyObject
Constructs an AnyObject instance with given context.
ofType(PgContext, String, String, ConstraintType) - Static method in class io.github.mfvanek.pg.model.constraint.Constraint
Constructs a Constraint object with given ConstraintType and context.
ofType(String, PgObjectType) - Static method in class io.github.mfvanek.pg.model.dbobject.AnyObject
Constructs an AnyObject instance.
ofType(String, String, ConstraintType) - Static method in class io.github.mfvanek.pg.model.constraint.Constraint
Constructs a Constraint object with given ConstraintType.
ofUuid(Column) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object with the "uuid" type for the specified column.
ofVarchar(Column) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithType
Constructs a ColumnWithType object with the "character varying" type for the specified column.

P

ParamNameAware - Interface in io.github.mfvanek.pg.model.settings
Represents an entity that is aware of its parameter name.
ParamValidators - Class in io.github.mfvanek.pg.model.settings.validation
Utility class for validating PostgreSQL parameter values.
paramValueNotNull(String, String) - Static method in class io.github.mfvanek.pg.model.settings.validation.ParamValidators
Validates that the given parameter value is not null, and returns the trimmed value.
parseAsIndexNameAndSize(String) - Static method in class io.github.mfvanek.pg.model.index.utils.DuplicatedIndexesParser
Parses a formatted string containing duplicated index information and returns a list of entries with index names and their corresponding sizes.
PARTITIONED_INDEX - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A partitioned index in a database.
PARTITIONED_TABLE - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A partitioned table in a database.
PgContext - Class in io.github.mfvanek.pg.model.context
An immutable representation of a context for running maintenance queries.
PgObjectType - Enum Class in io.github.mfvanek.pg.model.dbobject
A mapping to PostgreSQL object types.

R

RANDOM_PAGE_COST - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter random_page_cost, with a default value of 4.
REMAINING_PERCENTAGE_FIELD - Static variable in class io.github.mfvanek.pg.model.sequence.SequenceState
Represents the field name for storing the remaining percentage of the sequence value.
REMAINING_PERCENTAGE_THRESHOLD_FIELD - Static variable in class io.github.mfvanek.pg.model.context.PgContext
A constant field name used to represent the remaining percentage threshold in a PostgreSQL schema context.

S

SCHEMA_NAME_FIELD - Static variable in class io.github.mfvanek.pg.model.context.PgContext
Represents the name of the schema field used for database operations or context within PostgreSQL schema management.
SEQ_SCANS_FIELD - Static variable in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Represents the field name used to store information about sequential scans.
SEQUENCE - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A sequence in a database.
SEQUENCE_NAME_FIELD - Static variable in interface io.github.mfvanek.pg.model.sequence.SequenceNameAware
Represents the field name for storing the name of the sequence.
SequenceNameAware - Interface in io.github.mfvanek.pg.model.sequence
Represents an object that is aware of a database sequence name.
SequenceState - Class in io.github.mfvanek.pg.model.sequence
An immutable representation of a sequence's state in a database.
SERIAL - Enum constant in enum class io.github.mfvanek.pg.model.column.SerialType
Constant for the PostgreSQL "serial" type.
SERIAL_TYPE_FIELD - Static variable in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
The field name representing the type of serial column in a database.
SerialType - Enum Class in io.github.mfvanek.pg.model.column
A mapping to PostgreSQL serial types.
SHARED_BUFFERS - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter shared_buffers, with a default value of 128MB.
sizeNotNegative(long, String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the given size is not negative.
SkipBloatUnderThresholdPredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that filters out database objects with bloat values under specified thresholds.
SkipByColumnNamePredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that filters out database objects based on a specified set of column names.
SkipByConstraintNamePredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that filters out database objects based on a specified set of constraint names.
SkipBySequenceNamePredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that filters out database objects based on a specified set of sequence names.
SkipDbObjectsByNamePredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate for filtering database objects by their fully qualified names.
SkipFlywayTablesPredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that tests if a given DbObject is a Flyway-related table.
SkipIndexesByNamePredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that skips specified indexes by name in database objects implementing the DbObject interface.
SkipLiquibaseTablesPredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that tests if a given DbObject is a Liquibase-related table.
SkipSmallIndexesPredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that filters out small indexes based on a specified size threshold.
SkipSmallTablesPredicate - Class in io.github.mfvanek.pg.model.predicates
A predicate that filters out small tables based on a specified size threshold.
SkipTablesByNamePredicate - Class in io.github.mfvanek.pg.model.predicates
Predicate implementation for filtering database tables by specific names.
SMALL_SERIAL - Enum constant in enum class io.github.mfvanek.pg.model.column.SerialType
Constant for the PostgreSQL "smallserial" type.
STATEMENT_TIMEOUT - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter statement_timeout, with a default value of 0.
StoredFunction - Class in io.github.mfvanek.pg.model.function
A representation of any stored procedure/function.

T

table - Variable in class io.github.mfvanek.pg.model.table.TableWithBloat
The Table instance associated with this object.
Table - Class in io.github.mfvanek.pg.model.table
An immutable representation of a database table.
TABLE - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A table (relation, entity) in a database.
TABLE_FIELD - Static variable in interface io.github.mfvanek.pg.model.table.TableSizeAware
The name of the field that defines a table.
TABLE_NAME_FIELD - Static variable in interface io.github.mfvanek.pg.model.table.TableNameAware
Represents the name of the table field as a constant string.
TABLE_SIZE_IN_BYTES_FIELD - Static variable in interface io.github.mfvanek.pg.model.table.TableSizeAware
Represents the field name used for retrieving the size of a table in bytes.
TableNameAware - Interface in io.github.mfvanek.pg.model.table
Allows getting table name.
tableNameNotBlank(String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the provided table name is not blank.
TableSizeAware - Interface in io.github.mfvanek.pg.model.table
Allows getting table size in bytes.
TableWithBloat - Class in io.github.mfvanek.pg.model.table
An immutable representation of a database table with information about bloat.
TableWithColumns - Class in io.github.mfvanek.pg.model.table
An immutable representation of a database table with its columns.
TableWithMissingIndex - Class in io.github.mfvanek.pg.model.table
An immutable representation of a table in a database with additional information on reads amount via index or sequential scans.
TEMP_FILE_LIMIT - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter temp_file_limit, with a default value of -1.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipFlywayTablesPredicate
Evaluates this predicate on the given DbObject.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipBloatUnderThresholdPredicate
Tests whether the specified DbObject meets or exceeds the bloat thresholds.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipByColumnNamePredicate
Tests whether the given database object should be skipped based on its column name.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipByConstraintNamePredicate
Tests whether the given database object should be skipped based on its constraint name.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipBySequenceNamePredicate
Tests whether the given database object should be skipped based on its sequence name.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipDbObjectsByNamePredicate
Tests whether the specified DbObject should be included based on its name.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipIndexesByNamePredicate
Tests whether the specified DbObject should be skipped based on its index name.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipSmallIndexesPredicate
Evaluates whether the given DbObject should pass the filter based on its size.
test(DbObject) - Method in class io.github.mfvanek.pg.model.predicates.SkipSmallTablesPredicate
Evaluates whether the given DbObject should pass the filter based on its size.
thresholdInBytes - Variable in class io.github.mfvanek.pg.model.predicates.SkipSmallIndexesPredicate
The size threshold in bytes for filtering DbObject instances.
toColumn() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves the current instance as a Column.
toConstraint() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Retrieves the constraint associated with this foreign key.
toIndex() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
Returns the Index instance associated with this object.
toString() - Method in class io.github.mfvanek.pg.model.column.Column
toString() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
toString() - Method in class io.github.mfvanek.pg.model.column.ColumnWithType
toString() - Method in enum class io.github.mfvanek.pg.model.column.SerialType
toString() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
toString() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
toString() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
toString() - Method in class io.github.mfvanek.pg.model.context.PgContext
toString() - Method in class io.github.mfvanek.pg.model.dbobject.AnyObject
toString() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
toString() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
toString() - Method in class io.github.mfvanek.pg.model.index.Index
toString() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
toString() - Method in class io.github.mfvanek.pg.model.index.IndexWithColumns
toString() - Method in class io.github.mfvanek.pg.model.index.UnusedIndex
toString() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
toString() - Method in enum class io.github.mfvanek.pg.model.settings.ImportantParam
toString() - Method in class io.github.mfvanek.pg.model.table.Table
toString() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
toString() - Method in class io.github.mfvanek.pg.model.table.TableWithColumns
toString() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
toString() - Method in enum class io.github.mfvanek.pg.model.units.MemoryUnit
toTable() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
Returns the Table instance associated with this object.
TOTAL_SIZE_FIELD - Static variable in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Represents the field name used to store the total size of duplicated indexes.

U

UnusedIndex - Class in io.github.mfvanek.pg.model.index
An immutable representation of an unused database index with information about its usage and size.

V

validateThatNotEmpty(Collection<T>) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the provided list is not empty.
validateThatTableIsTheSame(String, Collection<? extends TableNameAware>) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Validates that all rows have the same table name as the expected table name.
validateThatTableIsTheSame(List<T>) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Validates that all rows have the same table name.
Validators - Class in io.github.mfvanek.pg.model.validation
Utility class providing various validation methods.
validPercent(double, String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the given percent value is between 0.0 and 100.0 inclusive.
valueFrom(String) - Static method in enum class io.github.mfvanek.pg.model.column.SerialType
Retrieves SerialType from PostgreSQL serial column type.
valueFrom(String) - Static method in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
Retrieves ConstraintType from internal PostgreSQL constraint type.
valueFrom(String) - Static method in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
Retrieves PgObjectType from given literal representation.
valueIsPositive(long, String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the given value is positive.
valueOf(String) - Static method in enum class io.github.mfvanek.pg.model.column.SerialType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.mfvanek.pg.model.settings.ImportantParam
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.mfvanek.pg.model.units.MemoryUnit
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.mfvanek.pg.model.column.SerialType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.mfvanek.pg.model.settings.ImportantParam
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.mfvanek.pg.model.units.MemoryUnit
Returns an array containing the constants of this enum class, in the order they are declared.
VIEW - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A view in a database.

W

withoutColumns(PgContext, String) - Static method in class io.github.mfvanek.pg.model.table.TableWithColumns
Creates a TableWithColumns instance with no columns from the given context and table name.
withoutColumns(Table) - Static method in class io.github.mfvanek.pg.model.table.TableWithColumns
Creates a TableWithColumns instance with no columns.
WORK_MEM - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
PostgreSQL parameter work_mem, with a default value of 4MB.
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values