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
A 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.
BloatAware - Interface in io.github.mfvanek.pg.model.bloat
Allows getting information about bloat in database.
build() - Method in class io.github.mfvanek.pg.model.settings.ServerSpecificationBuilder
 
builder() - Static method in class io.github.mfvanek.pg.model.settings.ServerSpecification
 

C

CHECK - Enum constant in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
Check constraint.
Column - Class in io.github.mfvanek.pg.model.column
A representation of column in database table.
Column(String, String, boolean) - Constructor for class io.github.mfvanek.pg.model.column.Column
Constructs a Column object.
ColumnNameAware - Interface in io.github.mfvanek.pg.model.column
Allows getting column name.
ColumnWithSerialType - Class in io.github.mfvanek.pg.model.column
A representation of column with serial 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(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(Table) - Method in class io.github.mfvanek.pg.model.table.Table
compareTo(TableWithBloat) - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
compareTo(TableWithMissingIndex) - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
Constraint - Class in io.github.mfvanek.pg.model.constraint
A representation of constraint in a database.
Constraint(String, String, ConstraintType) - Constructor for class io.github.mfvanek.pg.model.constraint.Constraint
Constructs a Constraint object with given ConstraintType.
CONSTRAINT - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A constraint in a database.
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

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
A representation of duplicated foreign keys in a database.
DuplicatedIndexes - Class in io.github.mfvanek.pg.model.index
A 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
 
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.constraint.Constraint
equals(Object) - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
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.sequence.SequenceState
equals(Object) - Method in class io.github.mfvanek.pg.model.settings.PgParamImpl
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.TableWithMissingIndex

F

FOREIGN_KEY - Enum constant in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
Foreign key constraint.
ForeignKey - Class in io.github.mfvanek.pg.model.constraint
A representation of foreign key in a database.
FUNCTION - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A function in a database.

G

GB - Enum constant in enum class io.github.mfvanek.pg.model.units.MemoryUnit
 
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.Column
Retrieves column name in the table.
getColumnName() - Method in interface io.github.mfvanek.pg.model.column.ColumnNameAware
Retrieves column name in the table.
getColumnName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Retrieves column name in the table.
getColumns() - Method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Retrieves columns in index.
getColumnsInConstraint() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Retrieves columns of foreign key constraint.
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.
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.
getCpuCoresAmount() - Method in class io.github.mfvanek.pg.model.settings.ServerSpecification
 
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
 
getDuplicatedIndexes() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Retrieves raw list of duplicated indexes.
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.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 interface io.github.mfvanek.pg.model.index.IndexSizeAware
Retrieves index size in bytes.
getIndexSizeInBytes() - Method in class io.github.mfvanek.pg.model.index.IndexWithSize
Retrieves index size in bytes.
getMemoryAmountInBytes() - Method in class io.github.mfvanek.pg.model.settings.ServerSpecification
 
getName() - Method in class io.github.mfvanek.pg.model.column.Column
Retrieves database object name.
getName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
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.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.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
 
getName() - Method in interface io.github.mfvanek.pg.model.settings.ParamNameAware
 
getName() - Method in class io.github.mfvanek.pg.model.settings.PgParamImpl
 
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.
getNullableColumn() - Method in class io.github.mfvanek.pg.model.index.IndexWithNulls
Retrieves nullable column in index.
getObjectType() - Method in class io.github.mfvanek.pg.model.column.Column
Retrieves database object type.
getObjectType() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
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.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.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 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
Returns the name of the sequence.
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.Column
Retrieves table name.
getTableName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
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.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 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.
getValue() - Method in interface io.github.mfvanek.pg.model.settings.PgParam
 
getValue() - Method in class io.github.mfvanek.pg.model.settings.PgParamImpl
 

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.constraint.Constraint
hashCode() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
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.sequence.SequenceState
hashCode() - Method in class io.github.mfvanek.pg.model.settings.PgParamImpl
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.TableWithMissingIndex
hasSSD() - Method in class io.github.mfvanek.pg.model.settings.ServerSpecification
 

I

IDLE_IN_TRANSACTION_SESSION_TIMEOUT - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
 
ImportantParam - Enum Class in io.github.mfvanek.pg.model.settings
 
Index - Class in io.github.mfvanek.pg.model.index
A base representation of database index.
Index(String, String) - Constructor for class io.github.mfvanek.pg.model.index.Index
Constructs an Index with the specified table and index names.
INDEX - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
An index in a database.
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
Represents database index with information about bloat.
IndexWithColumns - Class in io.github.mfvanek.pg.model.index
Represents database index with information about size and columns.
IndexWithColumns(String, String, long, List<Column>) - Constructor for class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns with the specified table name, index name, size in bytes, and list of columns.
IndexWithNulls - Class in io.github.mfvanek.pg.model.index
Represents database index with information about size and nullable columns.
IndexWithSize - Class in io.github.mfvanek.pg.model.index
Represents database index with information about size.
IndexWithSize(String, String, long) - Constructor for class io.github.mfvanek.pg.model.index.IndexWithSize
Constructs an IndexWithSize object with the specified table name, index name, and index size.
innerToString() - Method in class io.github.mfvanek.pg.model.index.Index
An auxiliary utility method for implementing toString() in child classes.
innerToString() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
An auxiliary utility method for implementing toString() in child classes.
innerToString() - Method in class io.github.mfvanek.pg.model.index.IndexWithColumns
An auxiliary utility method for implementing toString() in child classes.
innerToString() - Method in class io.github.mfvanek.pg.model.index.IndexWithSize
An auxiliary utility method for implementing toString() in child classes.
io.github.mfvanek.pg.model.bloat - package io.github.mfvanek.pg.model.bloat
 
io.github.mfvanek.pg.model.column - package io.github.mfvanek.pg.model.column
 
io.github.mfvanek.pg.model.constraint - package io.github.mfvanek.pg.model.constraint
 
io.github.mfvanek.pg.model.context - package io.github.mfvanek.pg.model.context
 
io.github.mfvanek.pg.model.dbobject - package io.github.mfvanek.pg.model.dbobject
 
io.github.mfvanek.pg.model.function - package io.github.mfvanek.pg.model.function
 
io.github.mfvanek.pg.model.index - package io.github.mfvanek.pg.model.index
 
io.github.mfvanek.pg.model.index.utils - package io.github.mfvanek.pg.model.index.utils
 
io.github.mfvanek.pg.model.predicates - package io.github.mfvanek.pg.model.predicates
 
io.github.mfvanek.pg.model.sequence - package io.github.mfvanek.pg.model.sequence
 
io.github.mfvanek.pg.model.settings - package io.github.mfvanek.pg.model.settings
 
io.github.mfvanek.pg.model.settings.validation - package io.github.mfvanek.pg.model.settings.validation
 
io.github.mfvanek.pg.model.table - package io.github.mfvanek.pg.model.table
 
io.github.mfvanek.pg.model.units - package io.github.mfvanek.pg.model.units
 
io.github.mfvanek.pg.model.validation - package io.github.mfvanek.pg.model.validation
 
isDefaultSchema() - Method in class io.github.mfvanek.pg.model.context.PgContext
Determines whether the specified schema is public or not.
isNotNull() - Method in class io.github.mfvanek.pg.model.column.Column
Shows whether column can or cannot accept null values.
isNotNull() - Method in interface io.github.mfvanek.pg.model.column.ColumnNameAware
Shows whether column can or cannot accept null values.
isNotNull() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Shows whether column can or cannot accept null values.
isNullable() - Method in interface io.github.mfvanek.pg.model.column.ColumnNameAware
Shows whether column can accept null values.

K

KB - Enum constant in enum class io.github.mfvanek.pg.model.units.MemoryUnit
 

L

LOCK_TIMEOUT - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
 
LOG_MIN_DURATION_STATEMENT - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
 

M

MAINTENANCE_WORK_MEM - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
 
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
 
MemoryUnit - Enum Class in io.github.mfvanek.pg.model.units
Units of information.

N

notBlank(String, String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the provided string argument is not blank.

O

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 given serial type.
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, 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.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(IndexWithSize, IndexWithSize, IndexWithSize...) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Constructs an DuplicatedIndexes object from given indexes.
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(String) - Static method in class io.github.mfvanek.pg.model.context.PgContext
Creates PgContext for given schema with default bloat percentage threshold.
of(String, double) - Static method in class io.github.mfvanek.pg.model.context.PgContext
Creates PgContext for given schema with 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 database.
of(String, String) - Static method in class io.github.mfvanek.pg.model.index.Index
Constructs an Index object.
of(String, String) - Static method in class io.github.mfvanek.pg.model.settings.PgParamImpl
 
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.IndexWithSize
Constructs an IndexWithSize 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, long, String) - Static method in class io.github.mfvanek.pg.model.index.IndexWithNulls
Constructs an IndexWithNulls 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<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipDbObjectsByNamePredicate
Creates a predicate to skip multiple fully qualified object names.
of(List<ForeignKey>) - Static method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
Constructs an DuplicatedForeignKeys object from given list of foreign keys.
of(List<IndexWithSize>) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
Constructs an DuplicatedIndexes object from given list of indexes.
ofBigSerial(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of bigserial type.
ofColumn(String, String, Column) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with given Column.
ofColumns(String, String, long, List<Column>) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with given columns.
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.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.SkipBySequenceNamePredicate
Creates a predicate to skip a specific sequence name in the public 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 public schema.
ofName(String) - Static method in class io.github.mfvanek.pg.model.predicates.SkipTablesByNamePredicate
Creates a predicate to skip a specific table in the "public" schema.
ofNoArgs(String) - Static method in class io.github.mfvanek.pg.model.function.StoredFunction
Constructs a StoredFunction object without arguments/signature.
ofNotNull(String, String) - Static method in class io.github.mfvanek.pg.model.column.Column
Constructs a not null Column object.
ofNotNullColumn(String, String, String) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with not null column.
ofNullable(String, String) - Static method in class io.github.mfvanek.pg.model.column.Column
Constructs a nullable Column object.
ofNullableColumn(String, String, String) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
Constructs a ForeignKey object with nullable column.
ofPublic() - Static method in class io.github.mfvanek.pg.model.context.PgContext
Creates PgContext for public schema with default bloat percentage threshold.
ofPublic() - Static method in class io.github.mfvanek.pg.model.predicates.SkipFlywayTablesPredicate
Returns a predicate that skips Flyway tables in the default "public" schema context.
ofPublic() - Static method in class io.github.mfvanek.pg.model.predicates.SkipLiquibaseTablesPredicate
Returns a predicate that skips Liquibase tables in the default "public" schema context.
ofPublic(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 public context.
ofPublic(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 public schema.
ofPublic(Collection<String>) - Static method in class io.github.mfvanek.pg.model.predicates.SkipTablesByNamePredicate
Creates a predicate to skip specific tables in the "public" schema.
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.
ofSingle(String, String, long, Column) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
Constructs an IndexWithColumns object with one column.
ofSmallSerial(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
Constructs a ColumnWithSerialType object of smallserial type.
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.

P

ParamNameAware - Interface in io.github.mfvanek.pg.model.settings
 
ParamValidators - Class in io.github.mfvanek.pg.model.settings.validation
 
paramValueNotNull(String, String) - Static method in class io.github.mfvanek.pg.model.settings.validation.ParamValidators
 
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.
PgContext - Class in io.github.mfvanek.pg.model.context
Represents a context for running maintenance queries.
PgObjectType - Enum Class in io.github.mfvanek.pg.model.dbobject
A mapping to PostgreSQL object types.
PgParam - Interface in io.github.mfvanek.pg.model.settings
 
PgParamImpl - Class in io.github.mfvanek.pg.model.settings
 

R

RANDOM_PAGE_COST - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
 

S

SEQUENCE - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A sequence in a database.
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
A 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.
SerialType - Enum Class in io.github.mfvanek.pg.model.column
A mapping to PostgreSQL serial types.
ServerSpecification - Class in io.github.mfvanek.pg.model.settings
 
ServerSpecificationBuilder - Class in io.github.mfvanek.pg.model.settings
 
SHARED_BUFFERS - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
 
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.
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
 
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
A base representation of database table.
TABLE - Enum constant in enum class io.github.mfvanek.pg.model.dbobject.PgObjectType
A table (relation, entity) in a database.
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
Represents database table with information about bloat.
TableWithMissingIndex - Class in io.github.mfvanek.pg.model.table
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
 
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.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.
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 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.IndexWithNulls
toString() - Method in class io.github.mfvanek.pg.model.index.IndexWithSize
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.settings.PgParamImpl
toString() - Method in class io.github.mfvanek.pg.model.settings.ServerSpecification
toString() - Method in class io.github.mfvanek.pg.model.settings.ServerSpecificationBuilder
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.TableWithMissingIndex
toString() - Method in enum class io.github.mfvanek.pg.model.units.MemoryUnit

U

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

V

validateThatNotEmpty(List<T>) - Static method in class io.github.mfvanek.pg.model.validation.Validators
Ensures the provided list is not empty.
validateThatTableIsTheSame(String, List<? 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

withCpuCores(int) - Method in class io.github.mfvanek.pg.model.settings.ServerSpecificationBuilder
 
withMemoryAmount(int, MemoryUnit) - Method in class io.github.mfvanek.pg.model.settings.ServerSpecificationBuilder
 
withSSD() - Method in class io.github.mfvanek.pg.model.settings.ServerSpecificationBuilder
 
WORK_MEM - Enum constant in enum class io.github.mfvanek.pg.model.settings.ImportantParam
 
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