Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AnyObject - Class in io.github.mfvanek.pg.model.object
-
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 bigserial.
- BloatAware - Interface in io.github.mfvanek.pg.model
-
Allows getting information about bloat in database.
- build() - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
- builder() - Static method in class io.github.mfvanek.pg.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
Columnobject. - 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(StoredFunction) - Method in class io.github.mfvanek.pg.model.function.StoredFunction
- compareTo(Index) - Method in class io.github.mfvanek.pg.model.index.Index
- compareTo(AnyObject) - Method in class io.github.mfvanek.pg.model.object.AnyObject
- 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
Constraintobject with givenConstraintType. - CONSTRAINT - Enum constant in enum class io.github.mfvanek.pg.model.object.PgObjectType
-
A constraint in a database.
- 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.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
-
A generalized representation of a database object.
- DEFAULT_BLOAT_PERCENTAGE_THRESHOLD - Static variable in class io.github.mfvanek.pg.model.PgContext
-
Default bloat percentage threshold.
- DEFAULT_REMAINING_PERCENTAGE_THRESHOLD - Static variable in class io.github.mfvanek.pg.model.PgContext
-
Default sequence remaining values percentage threshold.
- DEFAULT_SCHEMA_NAME - Static variable in class io.github.mfvanek.pg.model.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
E
- EFFECTIVE_CACHE_SIZE - Enum constant in enum class io.github.mfvanek.pg.settings.ImportantParam
- enrichSequenceWithSchema(String) - Method in class io.github.mfvanek.pg.model.PgContext
-
Complement the given sequence name with the specified schema name if it is necessary.
- enrichWithSchema(String) - Method in class io.github.mfvanek.pg.model.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.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.object.AnyObject
- 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.TableWithMissingIndex
- equals(Object) - Method in class io.github.mfvanek.pg.settings.PgParamImpl
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.object.PgObjectType
-
A function in a database.
G
- GB - Enum constant in enum class io.github.mfvanek.pg.model.MemoryUnit
- getBloatPercentage() - Method in interface io.github.mfvanek.pg.model.BloatAware
-
Gets bloat percentage (in the range from 0 to 100 inclusive).
- getBloatPercentage() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
-
Gets bloat percentage (in the range from 0 to 100 inclusive).
- getBloatPercentage() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Gets bloat percentage (in the range from 0 to 100 inclusive).
- getBloatPercentageThreshold() - Method in class io.github.mfvanek.pg.model.PgContext
-
Returns the specified bloat percentage threshold.
- getBloatSizeInBytes() - Method in interface io.github.mfvanek.pg.model.BloatAware
-
Gets bloat amount in bytes.
- getBloatSizeInBytes() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
-
Gets bloat amount in bytes.
- getBloatSizeInBytes() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Gets bloat amount in bytes.
- getColumnName() - Method in class io.github.mfvanek.pg.model.column.Column
-
Gets column name in the table.
- getColumnName() - Method in interface io.github.mfvanek.pg.model.column.ColumnNameAware
-
Gets column name in the table.
- getColumnName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Gets column name in the table.
- getColumns() - Method in class io.github.mfvanek.pg.model.index.IndexWithColumns
-
Gets columns in index.
- getColumnsInConstraint() - Method in class io.github.mfvanek.pg.model.constraint.ForeignKey
-
Gets columns of foreign key constraint.
- getColumnType() - Method in enum class io.github.mfvanek.pg.model.column.SerialType
- getConstraintName() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
-
Gets the name of constraint.
- getConstraintType() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
-
Gets type of constraint.
- getCpuCoresAmount() - Method in class io.github.mfvanek.pg.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.settings.ImportantParam
- getDuplicatedIndexes() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets raw list of duplicated indexes.
- getForeignKeys() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
-
Gets duplicated foreign keys.
- getFunctionName() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
-
Gets procedure/function name.
- getFunctionSignature() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
-
Gets procedure/function arguments.
- getIndexName() - Method in class io.github.mfvanek.pg.model.index.Index
-
Gets index name.
- getIndexName() - Method in interface io.github.mfvanek.pg.model.index.IndexNameAware
-
Gets index name.
- getIndexNames() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets names of all duplicated indexes.
- getIndexScans() - Method in class io.github.mfvanek.pg.model.index.UnusedIndex
- getIndexScans() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
- getIndexSizeInBytes() - Method in interface io.github.mfvanek.pg.model.index.IndexSizeAware
-
Gets index size in bytes.
- getIndexSizeInBytes() - Method in class io.github.mfvanek.pg.model.index.IndexWithSize
-
Gets index size in bytes.
- getMemoryAmountInBytes() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
- getName() - Method in class io.github.mfvanek.pg.model.column.Column
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
-
Gets database object name.
- getName() - Method in interface io.github.mfvanek.pg.model.DbObject
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.index.Index
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.object.AnyObject
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Gets database object name.
- getName() - Method in class io.github.mfvanek.pg.model.table.Table
-
Gets database object name.
- getName() - Method in enum class io.github.mfvanek.pg.settings.ImportantParam
- getName() - Method in interface io.github.mfvanek.pg.settings.ParamNameAware
- getName() - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- getNullableColumn() - Method in class io.github.mfvanek.pg.model.index.IndexWithNulls
-
Gets nullable column in index.
- getObjectType() - Method in class io.github.mfvanek.pg.model.column.Column
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
-
Gets database object type.
- getObjectType() - Method in interface io.github.mfvanek.pg.model.DbObject
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.function.StoredFunction
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.index.Index
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.object.AnyObject
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Gets database object type.
- getObjectType() - Method in class io.github.mfvanek.pg.model.table.Table
-
Gets database object type.
- getPgConType() - Method in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
-
Gets 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.PgContext
-
Returns the specified remaining percentage threshold.
- getSchemaName() - Method in class io.github.mfvanek.pg.model.PgContext
-
Returns the specified schema name.
- getSeqScans() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
- getSequenceName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Gets name of the associated sequence.
- 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
-
Gets raw type of serial column.
- getTableName() - Method in class io.github.mfvanek.pg.model.column.Column
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.constraint.Constraint
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.index.Index
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.table.Table
-
Gets table name.
- getTableName() - Method in interface io.github.mfvanek.pg.model.table.TableNameAware
-
Gets table name.
- getTableSizeInBytes() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Gets table size in bytes.
- getTableSizeInBytes() - Method in class io.github.mfvanek.pg.model.table.Table
-
Gets table size in bytes.
- getTableSizeInBytes() - Method in interface io.github.mfvanek.pg.model.table.TableSizeAware
-
Gets table size in bytes.
- getTotalSize() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets 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.settings.PgParam
- getValue() - Method in class io.github.mfvanek.pg.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.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.object.AnyObject
- 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.TableWithMissingIndex
- hashCode() - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- hasSSD() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
I
- IDLE_IN_TRANSACTION_SESSION_TIMEOUT - Enum constant in enum class io.github.mfvanek.pg.settings.ImportantParam
- ImportantParam - Enum Class in io.github.mfvanek.pg.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
- INDEX - Enum constant in enum class io.github.mfvanek.pg.model.object.PgObjectType
-
An index in a database.
- IndexBloatAware - Interface in io.github.mfvanek.pg.model.index
-
Allows getting information about index bloat.
- 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
- 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
- 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 - package io.github.mfvanek.pg.model
- 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.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.object - package io.github.mfvanek.pg.model.object
- io.github.mfvanek.pg.model.sequence - package io.github.mfvanek.pg.model.sequence
- io.github.mfvanek.pg.model.table - package io.github.mfvanek.pg.model.table
- io.github.mfvanek.pg.model.validation - package io.github.mfvanek.pg.model.validation
- io.github.mfvanek.pg.settings - package io.github.mfvanek.pg.settings
- io.github.mfvanek.pg.settings.validation - package io.github.mfvanek.pg.settings.validation
- isDefaultSchema() - Method in class io.github.mfvanek.pg.model.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.MemoryUnit
L
- LOCK_TIMEOUT - Enum constant in enum class io.github.mfvanek.pg.settings.ImportantParam
- LOG_MIN_DURATION_STATEMENT - Enum constant in enum class io.github.mfvanek.pg.settings.ImportantParam
M
- MAINTENANCE_WORK_MEM - Enum constant in enum class io.github.mfvanek.pg.settings.ImportantParam
- MATERIALIZED_VIEW - Enum constant in enum class io.github.mfvanek.pg.model.object.PgObjectType
-
A materialized view of a query.
- MB - Enum constant in enum class io.github.mfvanek.pg.model.MemoryUnit
- MemoryUnit - Enum Class in io.github.mfvanek.pg.model
-
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(Column, SerialType, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Constructs a
ColumnWithSerialTypeobject of given serial type. - of(ForeignKey, ForeignKey, ForeignKey...) - Static method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
-
Constructs an
DuplicatedForeignKeysobject from given foreign keys. - of(IndexWithSize, IndexWithSize, IndexWithSize...) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Constructs an
DuplicatedIndexesobject from given indexes. - of(Table, long, double) - Static method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Constructs a
TableWithBloatobject. - of(Table, long, long) - Static method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
-
Constructs a
TableWithMissingIndexobject. - of(String) - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContextfor given schema with default bloat percentage threshold. - of(String, double) - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContextfor given schema with given bloat percentage threshold. - of(String, double, double) - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates a
PgContextfor 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
Tableobject. - of(String, long, long, double) - Static method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Constructs a
TableWithBloatobject. - of(String, long, long, long) - Static method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
-
Constructs a
TableWithMissingIndexobject. - of(String, String) - Static method in class io.github.mfvanek.pg.model.function.StoredFunction
-
Constructs a
StoredFunctionobject. - of(String, String) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Constructs an
DuplicatedIndexesobject 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
Indexobject. - of(String, String) - Static method in class io.github.mfvanek.pg.settings.PgParamImpl
- of(String, String, double) - Static method in class io.github.mfvanek.pg.model.sequence.SequenceState
-
Constructs a
SequenceStateobject. - of(String, String, long) - Static method in class io.github.mfvanek.pg.model.index.IndexWithSize
-
Constructs an
IndexWithSizeobject. - of(String, String, long, long) - Static method in class io.github.mfvanek.pg.model.index.UnusedIndex
- of(String, String, long, long, double) - Static method in class io.github.mfvanek.pg.model.index.IndexWithBloat
-
Constructs a
IndexWithBloatobject. - of(String, String, long, String) - Static method in class io.github.mfvanek.pg.model.index.IndexWithNulls
-
Constructs an
IndexWithNullsobject. - of(String, String, List<Column>) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
-
Constructs a
ForeignKeyobject with given columns. - of(List<ForeignKey>) - Static method in class io.github.mfvanek.pg.model.constraint.DuplicatedForeignKeys
-
Constructs an
DuplicatedForeignKeysobject from given list of foreign keys. - of(List<IndexWithSize>) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Constructs an
DuplicatedIndexesobject from given list of indexes. - ofBigSerial(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Constructs a
ColumnWithSerialTypeobject ofbigserialtype. - ofColumn(String, String, Column) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
-
Constructs a
ForeignKeyobject with givenColumn. - ofColumns(String, String, long, List<Column>) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
-
Constructs an
IndexWithColumnsobject with given columns. - ofNoArgs(String) - Static method in class io.github.mfvanek.pg.model.function.StoredFunction
-
Constructs a
StoredFunctionobject without arguments/signature. - ofNotNull(String, String) - Static method in class io.github.mfvanek.pg.model.column.Column
-
Constructs a not null
Columnobject. - ofNotNullColumn(String, String, String) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
-
Constructs a
ForeignKeyobject with not null column. - ofNullable(String, String) - Static method in class io.github.mfvanek.pg.model.column.Column
-
Constructs a nullable
Columnobject. - ofNullableColumn(String, String, String) - Static method in class io.github.mfvanek.pg.model.constraint.ForeignKey
-
Constructs a
ForeignKeyobject with nullable column. - ofPublic() - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContextfor public schema with default bloat percentage threshold. - ofRaw(String, String) - Static method in class io.github.mfvanek.pg.model.object.AnyObject
-
Constructs an
AnyObjectinstance. - ofSerial(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Constructs a
ColumnWithSerialTypeobject ofserialtype. - ofSingle(String, String, long, Column) - Static method in class io.github.mfvanek.pg.model.index.IndexWithColumns
-
Constructs an
IndexWithColumnsobject with one column. - ofSmallSerial(Column, String) - Static method in class io.github.mfvanek.pg.model.column.ColumnWithSerialType
-
Constructs a
ColumnWithSerialTypeobject ofsmallserialtype. - ofType(String, PgObjectType) - Static method in class io.github.mfvanek.pg.model.object.AnyObject
-
Constructs an
AnyObjectinstance. - ofType(String, String, ConstraintType) - Static method in class io.github.mfvanek.pg.model.constraint.Constraint
-
Constructs a
Constraintobject with givenConstraintType.
P
- ParamNameAware - Interface in io.github.mfvanek.pg.settings
- ParamValidators - Class in io.github.mfvanek.pg.settings.validation
- paramValueNotNull(String, String) - Static method in class io.github.mfvanek.pg.settings.validation.ParamValidators
- parseAsIndexNameAndSize(String) - Static method in class io.github.mfvanek.pg.model.index.utils.DuplicatedIndexesParser
- PgContext - Class in io.github.mfvanek.pg.model
-
Represents a context for running maintenance queries.
- PgObjectType - Enum Class in io.github.mfvanek.pg.model.object
-
A mapping to PostgreSQL object types.
- PgParam - Interface in io.github.mfvanek.pg.settings
- PgParamImpl - Class in io.github.mfvanek.pg.settings
R
- RANDOM_PAGE_COST - Enum constant in enum class io.github.mfvanek.pg.settings.ImportantParam
S
- SEQUENCE - Enum constant in enum class io.github.mfvanek.pg.model.object.PgObjectType
-
A sequence in a database.
- 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 serial.
- SerialType - Enum Class in io.github.mfvanek.pg.model.column
-
A mapping to PostgreSQL serial types.
- ServerSpecification - Class in io.github.mfvanek.pg.settings
- ServerSpecificationBuilder - Class in io.github.mfvanek.pg.settings
- SHARED_BUFFERS - Enum constant in enum class io.github.mfvanek.pg.settings.ImportantParam
- sizeNotNegative(long, String) - Static method in class io.github.mfvanek.pg.model.validation.Validators
-
Ensures the given size is not negative.
- SMALL_SERIAL - Enum constant in enum class io.github.mfvanek.pg.model.column.SerialType
-
Constant for smallserial.
- STATEMENT_TIMEOUT - Enum constant in enum class io.github.mfvanek.pg.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
- 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.object.PgObjectType
-
A table (relation, entity) in a database.
- TableBloatAware - Interface in io.github.mfvanek.pg.model.table
-
Allows getting information about table bloat.
- 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.settings.ImportantParam
- 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.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 enum class io.github.mfvanek.pg.model.MemoryUnit
- toString() - Method in class io.github.mfvanek.pg.model.object.AnyObject
- toString() - Method in class io.github.mfvanek.pg.model.PgContext
- toString() - Method in class io.github.mfvanek.pg.model.sequence.SequenceState
- 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.settings.ImportantParam
- toString() - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- toString() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
- toString() - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
U
- UnusedIndex - Class in io.github.mfvanek.pg.model.index
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
-
Gets
SerialTypefrom PostgreSQL serial column type. - valueFrom(String) - Static method in enum class io.github.mfvanek.pg.model.constraint.ConstraintType
-
Gets
ConstraintTypefrom internal PostgreSQL constraint type. - valueFrom(String) - Static method in enum class io.github.mfvanek.pg.model.object.PgObjectType
-
Gets
PgObjectTypefrom 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.MemoryUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.mfvanek.pg.model.object.PgObjectType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.mfvanek.pg.settings.ImportantParam
-
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.MemoryUnit
-
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.object.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.settings.ImportantParam
-
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.object.PgObjectType
-
A view in a database.
W
- withCpuCores(int) - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
- withMemoryAmount(int, MemoryUnit) - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
- withSSD() - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
- WORK_MEM - Enum constant in enum class io.github.mfvanek.pg.settings.ImportantParam
All Classes and Interfaces|All Packages|Constant Field Values