Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ACROSS_CLUSTER - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic.ExecutionTopology
-
Across the entire database cluster.
B
- BLOAT_PERCENTAGE - Static variable in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
- BLOAT_SIZE - Static variable in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
- BLOATED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- BLOATED_TABLES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- BTREE_INDEXES_ON_ARRAY_COLUMNS - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- BtreeIndexesOnArrayColumnsCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for B-tree indexes on array columns.
- BtreeIndexesOnArrayColumnsCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
C
- check() - Method in interface io.github.mfvanek.pg.core.checks.common.DatabaseCheckOnHost
-
Executes the check in the public schema.
- check(PgContext) - Method in interface io.github.mfvanek.pg.core.checks.common.DatabaseCheckOnHost
-
Executes the check in the specified schema.
- check(PgContext, Predicate<? super T>) - Method in interface io.github.mfvanek.pg.core.checks.common.DatabaseCheckOnHost
-
Executes the check in the specified schema.
- check(PgContext, Predicate<? super IndexWithColumns>) - Method in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
-
Executes the check in the specified schema.
- check(Predicate<? super T>) - Method in interface io.github.mfvanek.pg.core.checks.common.DatabaseCheckOnHost
-
Executes the check in the public schema.
- CheckTypeAware - Interface in io.github.mfvanek.pg.core.checks.common
-
Allows getting information about check/diagnostic type.
- clock() - Static method in class io.github.mfvanek.pg.core.utils.ClockHolder
-
Allows to get currently set
Clockinstance. - ClockHolder - Class in io.github.mfvanek.pg.core.utils
-
Utility class to work with
Clock. - ColumnExtractor - Class in io.github.mfvanek.pg.core.checks.extractors
-
A mapper from raw data to
Columnmodel. - COLUMNS_WITH_JSON_TYPE - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- COLUMNS_WITH_SERIAL_TYPES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- COLUMNS_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- ColumnsInForeignKeyParser - Class in io.github.mfvanek.pg.core.utils
- ColumnsWithJsonTypeCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for columns with
jsontype on a specific host. - ColumnsWithJsonTypeCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.ColumnsWithJsonTypeCheckOnHost
- ColumnsWithoutDescriptionCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for columns without description on a specific host.
- ColumnsWithoutDescriptionCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.ColumnsWithoutDescriptionCheckOnHost
- ColumnsWithSerialTypesCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for columns of serial types that are not primary keys on a specific host.
- ColumnsWithSerialTypesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.ColumnsWithSerialTypesCheckOnHost
- ColumnWithSerialTypeExtractor - Class in io.github.mfvanek.pg.core.checks.extractors
- ConfigurationAware - Interface in io.github.mfvanek.pg.core.settings
-
An abstraction for getting database configuration.
- ConfigurationMaintenanceOnHost - Interface in io.github.mfvanek.pg.core.settings
-
An entry point for working with database configuration on the specified host.
- ConfigurationMaintenanceOnHostImpl - Class in io.github.mfvanek.pg.core.settings
- ConfigurationMaintenanceOnHostImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHostImpl
- CONSTRAINT_NAME - Static variable in class io.github.mfvanek.pg.core.checks.extractors.ForeignKeyExtractor
D
- DatabaseCheckOnHost<T extends DbObject> - Interface in io.github.mfvanek.pg.core.checks.common
-
A check on database structure on a specific host.
- Diagnostic - Enum Class in io.github.mfvanek.pg.core.checks.common
-
A list of all supported diagnostics with corresponding sql queries and query executors.
- Diagnostic.ExecutionTopology - Enum Class in io.github.mfvanek.pg.core.checks.common
-
Defines the place where the diagnostic should be executed.
- DiagnosticAware - Interface in io.github.mfvanek.pg.core.checks.common
-
Allows getting information about rule related to the check.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
-
Returns B-tree indexes on array columns in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.ColumnsWithJsonTypeCheckOnHost
-
Returns columns with json type in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.ColumnsWithoutDescriptionCheckOnHost
-
Returns columns without description (comment) in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.ColumnsWithSerialTypesCheckOnHost
-
Returns columns with serial types that are not primary keys in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.DuplicatedForeignKeysCheckOnHost
-
Returns duplicated (completely identical) foreign keys in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.DuplicatedIndexesCheckOnHost
-
Returns duplicated (completely identical) indexes in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.ForeignKeysNotCoveredWithIndexCheckOnHost
-
Returns foreign keys without associated indexes in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.ForeignKeysWithUnmatchedColumnTypeCheckOnHost
-
Returns foreign keys where the type of the constrained column does not match the type in the referenced table.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.FunctionsWithoutDescriptionCheckOnHost
-
Returns procedures/functions without description (comment) in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.IndexesWithBloatCheckOnHost
-
Returns indexes that are bloated in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.IndexesWithBooleanCheckOnHost
-
Returns indexes that contain boolean values in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.IndexesWithNullValuesCheckOnHost
-
Returns indexes that contain null values in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.IntersectedForeignKeysCheckOnHost
-
Returns intersected (partially identical) foreign keys in the specified schema (except completely identical).
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.IntersectedIndexesCheckOnHost
-
Returns intersected (partially identical) indexes in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.InvalidIndexesCheckOnHost
-
Returns invalid (broken) indexes in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.NotValidConstraintsCheckOnHost
-
Returns not valid constraints in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.PossibleObjectNameOverflowCheckOnHost
-
Returns objects whose names have a length of
max_identifier_lengthin the specified schema. - doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.PrimaryKeysWithSerialTypesCheckOnHost
-
Executes the check in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.SequenceOverflowCheckOnHost
-
Returns sequences that are close to overflow in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.TablesNotLinkedToOthersCheckOnHost
-
Returns tables that are no longer in use or were created by mistake.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.TablesWithBloatCheckOnHost
-
Returns tables that are bloated in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.TablesWithMissingIndexesCheckOnHost
-
Returns tables with potentially missing indexes in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.TablesWithoutDescriptionCheckOnHost
-
Returns tables without description (comment) in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.TablesWithoutPrimaryKeyCheckOnHost
-
Returns tables without primary key in the specified schema.
- doCheck(PgContext) - Method in class io.github.mfvanek.pg.core.checks.host.UnusedIndexesCheckOnHost
-
Returns unused indexes in the specified schema.
- DUPLICATED_FOREIGN_KEYS - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- DUPLICATED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- DuplicatedForeignKeysCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for duplicated (completely identical) foreign keys on a specific host.
- DuplicatedForeignKeysCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.DuplicatedForeignKeysCheckOnHost
-
Creates a new
DuplicatedForeignKeysCheckOnHostobject. - DuplicatedForeignKeysExtractor - Class in io.github.mfvanek.pg.core.checks.extractors
-
A mapper from raw data to
DuplicatedForeignKeysmodel. - DuplicatedIndexesCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for duplicated (completely identical) indexes on a specific host.
- DuplicatedIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.DuplicatedIndexesCheckOnHost
E
- executeQuery(PgConnection, PgContext, String, ResultSetExtractor<T>) - Method in interface io.github.mfvanek.pg.core.checks.common.QueryExecutor
-
Executes the specified SQL query using the provided
PgConnectionandPgContext, and extracts the results using the givenResultSetExtractor. - executeQuery(PgConnection, String, ResultSetExtractor<T>) - Method in interface io.github.mfvanek.pg.core.statistics.StatisticsQueryExecutor
- executeQuery(PgConnection, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.core.utils.QueryExecutors
-
Executes a given SQL query and extracts results using the provided
ResultSetExtractor. - executeQuery(PgContext, ResultSetExtractor<IndexWithColumns>) - Method in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
-
Executes query associated with diagnostic and extracts result.
- executeQueryWithBloatThreshold(PgConnection, PgContext, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.core.utils.QueryExecutors
-
Executes a given SQL query within the context of the provided schema name and bloat threshold.
- executeQueryWithRemainingPercentageThreshold(PgConnection, PgContext, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.core.utils.QueryExecutors
-
Executes a given SQL query within the context of the provided schema name and remaining percentage threshold.
- executeQueryWithSchema(PgConnection, PgContext, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.core.utils.QueryExecutors
-
Executes a given SQL query within the context of the provided schema name.
- extractData(ResultSet) - Method in interface io.github.mfvanek.pg.core.checks.common.ResultSetExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.core.checks.extractors.ColumnExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.core.checks.extractors.ColumnWithSerialTypeExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.core.checks.extractors.DuplicatedForeignKeysExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.core.checks.extractors.ForeignKeyExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.core.checks.extractors.IndexWithSingleColumnExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.core.checks.extractors.TableExtractor
-
Converts a row from database to an arbitrary domain model.
F
- FOREIGN_KEYS_WITH_UNMATCHED_COLUMN_TYPE - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- FOREIGN_KEYS_WITHOUT_INDEX - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- ForeignKeyExtractor - Class in io.github.mfvanek.pg.core.checks.extractors
-
A mapper from raw data to
ForeignKeymodel. - ForeignKeysNotCoveredWithIndexCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for foreign keys without associated indexes on a specific host.
- ForeignKeysNotCoveredWithIndexCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.ForeignKeysNotCoveredWithIndexCheckOnHost
- ForeignKeysWithUnmatchedColumnTypeCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for foreign keys where the type of the constrained column does not match the type in the referenced table on a specific host.
- ForeignKeysWithUnmatchedColumnTypeCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.ForeignKeysWithUnmatchedColumnTypeCheckOnHost
- FUNCTIONS_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- FunctionsWithoutDescriptionCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for procedures/functions without description on a specific host.
- FunctionsWithoutDescriptionCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.FunctionsWithoutDescriptionCheckOnHost
G
- getDiagnostic() - Method in interface io.github.mfvanek.pg.core.checks.common.DiagnosticAware
-
Retrieves the diagnostic - a rule related to the check.
- getDiagnostic() - Method in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
-
Retrieves the diagnostic - a rule related to the check.
- getExecutionTopology() - Method in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
-
Retrieves the place where the diagnostic should be executed.
- getHost() - Method in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
- getHost() - Method in class io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHostImpl
- getHost() - Method in class io.github.mfvanek.pg.core.statistics.StatisticsMaintenanceOnHostImpl
- getLastStatsResetTimestamp() - Method in interface io.github.mfvanek.pg.core.statistics.StatisticsAware
-
Retrieves the time at which database statistics were last reset.
- getLastStatsResetTimestamp() - Method in interface io.github.mfvanek.pg.core.statistics.StatisticsMaintenanceOnHost
-
Retrieves the time at which database statistics were last reset on current host.
- getLastStatsResetTimestamp() - Method in class io.github.mfvanek.pg.core.statistics.StatisticsMaintenanceOnHostImpl
-
Retrieves the time at which database statistics were last reset on current host.
- getParamCurrentValue(ParamNameAware) - Method in interface io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHost
- getParamCurrentValue(ParamNameAware) - Method in class io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHostImpl
- getParamsCurrentValues() - Method in interface io.github.mfvanek.pg.core.settings.ConfigurationAware
- getParamsCurrentValues() - Method in interface io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHost
- getParamsCurrentValues() - Method in class io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHostImpl
- getParamsWithDefaultValues(ServerSpecification) - Method in interface io.github.mfvanek.pg.core.settings.ConfigurationAware
- getParamsWithDefaultValues(ServerSpecification) - Method in interface io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHost
- getParamsWithDefaultValues(ServerSpecification) - Method in class io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHostImpl
- getQueryExecutor() - Method in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
-
Retrieves the lambda which executes the associated sql query.
- getQueryFromFile(String) - Static method in class io.github.mfvanek.pg.core.utils.SqlQueryReader
- getSqlQueryFileName() - Method in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
-
Retrieves the associated sql query file name.
- getType() - Method in interface io.github.mfvanek.pg.core.checks.common.RawTypeAware
-
Retrieves original java type.
- getType() - Method in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
-
Retrieves original java type.
I
- INDEX_NAME - Static variable in class io.github.mfvanek.pg.core.checks.extractors.IndexWithSingleColumnExtractor
- INDEX_NAME - Static variable in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
- INDEX_SIZE - Static variable in class io.github.mfvanek.pg.core.checks.extractors.IndexWithSingleColumnExtractor
- INDEX_SIZE - Static variable in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
- INDEXES_WITH_BOOLEAN - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- INDEXES_WITH_NULL_VALUES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- IndexesWithBloatCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for indexes bloat on a specific host.
- IndexesWithBloatCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.IndexesWithBloatCheckOnHost
- IndexesWithBooleanCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for indexes that contain boolean values on a specific host.
- IndexesWithBooleanCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.IndexesWithBooleanCheckOnHost
- IndexesWithNullValuesCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for indexes with null values on a specific host.
- IndexesWithNullValuesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.IndexesWithNullValuesCheckOnHost
- IndexWithSingleColumnExtractor - Class in io.github.mfvanek.pg.core.checks.extractors
-
A mapper from raw data to
IndexWithColumnsmodel. - INTERSECTED_FOREIGN_KEYS - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- INTERSECTED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- IntersectedForeignKeysCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for intersected (partially identical) foreign keys on a specific host.
- IntersectedForeignKeysCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.IntersectedForeignKeysCheckOnHost
-
Creates a new
IntersectedForeignKeysCheckOnHostobject. - IntersectedIndexesCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for intersected (partially identical) indexes on a specific host.
- IntersectedIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.IntersectedIndexesCheckOnHost
- INVALID_INDEXES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- InvalidIndexesCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for invalid (broken) indexes on a specific host.
- InvalidIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.InvalidIndexesCheckOnHost
- io.github.mfvanek.pg.core.checks.common - package io.github.mfvanek.pg.core.checks.common
- io.github.mfvanek.pg.core.checks.extractors - package io.github.mfvanek.pg.core.checks.extractors
- io.github.mfvanek.pg.core.checks.host - package io.github.mfvanek.pg.core.checks.host
- io.github.mfvanek.pg.core.settings - package io.github.mfvanek.pg.core.settings
- io.github.mfvanek.pg.core.statistics - package io.github.mfvanek.pg.core.statistics
- io.github.mfvanek.pg.core.utils - package io.github.mfvanek.pg.core.utils
- isAcrossCluster() - Method in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
-
Shows whether diagnostic results should be collected from all nodes in the cluster.
- isRuntime() - Method in interface io.github.mfvanek.pg.core.checks.common.CheckTypeAware
-
Defines whether this check/diagnostic is runtime (make sense to perform only on a production database with real data and statistics).
- isRuntime() - Method in interface io.github.mfvanek.pg.core.checks.common.DatabaseCheckOnHost
-
Defines whether this check/diagnostic is runtime (make sense to perform only on a production database with real data and statistics).
- isRuntime() - Method in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
-
Defines whether this check/diagnostic is runtime (make sense to perform only on a production database with real data and statistics).
- isStatic() - Method in interface io.github.mfvanek.pg.core.checks.common.CheckTypeAware
-
Defines whether this check/diagnostic is static (can be run in unit/integration tests on an empty database).
N
- NamedParametersParser - Class in io.github.mfvanek.pg.core.utils
- NOT_VALID_CONSTRAINTS - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- NotValidConstraintsCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for not valid constraints on a specific host.
- NotValidConstraintsCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.NotValidConstraintsCheckOnHost
O
- of() - Static method in class io.github.mfvanek.pg.core.checks.extractors.ColumnExtractor
-
Creates
ColumnExtractorinstance. - of() - Static method in class io.github.mfvanek.pg.core.checks.extractors.ColumnWithSerialTypeExtractor
-
Creates
ColumnWithSerialTypeExtractorinstance. - of() - Static method in class io.github.mfvanek.pg.core.checks.extractors.IndexWithSingleColumnExtractor
-
Creates
IndexWithSingleColumnExtractorinstance. - of() - Static method in class io.github.mfvanek.pg.core.checks.extractors.TableExtractor
-
Creates
TableExtractorinstance. - of(String) - Static method in class io.github.mfvanek.pg.core.checks.extractors.DuplicatedForeignKeysExtractor
-
Creates
DuplicatedForeignKeysExtractorinstance. - ofDefault() - Static method in class io.github.mfvanek.pg.core.checks.extractors.ForeignKeyExtractor
-
Creates default
ForeignKeyExtractorinstance. - ON_PRIMARY - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic.ExecutionTopology
-
Only on primary host.
P
- parse(String) - Static method in class io.github.mfvanek.pg.core.utils.NamedParametersParser
- parseRawColumnData(String, String...) - Static method in class io.github.mfvanek.pg.core.utils.ColumnsInForeignKeyParser
- POSSIBLE_OBJECT_NAME_OVERFLOW - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- PossibleObjectNameOverflowCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for objects whose names have a length of
max_identifier_length(usually it is 63) on a specific host. - PossibleObjectNameOverflowCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.PossibleObjectNameOverflowCheckOnHost
- PRIMARY_KEYS_WITH_SERIAL_TYPES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- PrimaryKeysWithSerialTypesCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for primary keys columns with serial types (smallserial/serial/bigserial) New "generated as identity" syntax should be used instead.
- PrimaryKeysWithSerialTypesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.PrimaryKeysWithSerialTypesCheckOnHost
Q
- QueryExecutor - Interface in io.github.mfvanek.pg.core.checks.common
-
An abstraction of sql query executor.
- QueryExecutors - Class in io.github.mfvanek.pg.core.utils
-
Utility class for executing SQL queries with various context parameters.
R
- RawTypeAware<T extends DbObject> - Interface in io.github.mfvanek.pg.core.checks.common
-
Allows getting information about original generic type.
- resetStatistics() - Method in interface io.github.mfvanek.pg.core.statistics.StatisticsAware
-
Resets all statistics counters for the current database to zero.
- resetStatistics() - Method in interface io.github.mfvanek.pg.core.statistics.StatisticsMaintenanceOnHost
-
Resets all statistics counters for the current database on current host to zero.
- resetStatistics() - Method in class io.github.mfvanek.pg.core.statistics.StatisticsMaintenanceOnHostImpl
-
Resets all statistics counters for the current database on current host to zero.
- ResultSetExtractor<T> - Interface in io.github.mfvanek.pg.core.checks.common
-
A mapper from raw data to domain model.
S
- SEQUENCE_OVERFLOW - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- SequenceOverflowCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for sequence overflow on a specific host.
- SequenceOverflowCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.SequenceOverflowCheckOnHost
- setClock(Clock) - Static method in class io.github.mfvanek.pg.core.utils.ClockHolder
-
Atomically sets the
ClockHolder.CLOCK_REFERENCEtonewClockand returns the old value. - SqlQueryReader - Class in io.github.mfvanek.pg.core.utils
- StatisticsAware - Interface in io.github.mfvanek.pg.core.statistics
-
A set of methods to manage statistics.
- StatisticsMaintenanceOnHost - Interface in io.github.mfvanek.pg.core.statistics
-
An entry point for managing statistics on the specified host.
- StatisticsMaintenanceOnHostImpl - Class in io.github.mfvanek.pg.core.statistics
- StatisticsMaintenanceOnHostImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.core.statistics.StatisticsMaintenanceOnHostImpl
- StatisticsQueryExecutor - Interface in io.github.mfvanek.pg.core.statistics
-
An abstraction of sql query executor without schema.
T
- TABLE_NAME - Static variable in class io.github.mfvanek.pg.core.checks.extractors.TableExtractor
- TABLE_NAME - Static variable in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
- TABLE_SIZE - Static variable in class io.github.mfvanek.pg.core.checks.extractors.TableExtractor
- TABLE_SIZE - Static variable in class io.github.mfvanek.pg.core.checks.host.BtreeIndexesOnArrayColumnsCheckOnHost
- TableExtractor - Class in io.github.mfvanek.pg.core.checks.extractors
-
A mapper from raw data to
Tablemodel. - TABLES_NOT_LINKED_TO_OTHERS - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- TABLES_WITH_MISSING_INDEXES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- TABLES_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- TABLES_WITHOUT_PRIMARY_KEY - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- TablesNotLinkedToOthersCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for tables that are not linked to other tables on a specific host.
- TablesNotLinkedToOthersCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.TablesNotLinkedToOthersCheckOnHost
- TablesWithBloatCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for tables bloat on a specific host.
- TablesWithBloatCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.TablesWithBloatCheckOnHost
- TablesWithMissingIndexesCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for tables with potentially missing indexes on a specific host.
- TablesWithMissingIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.TablesWithMissingIndexesCheckOnHost
- TablesWithoutDescriptionCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for tables without description on a specific host.
- TablesWithoutDescriptionCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.TablesWithoutDescriptionCheckOnHost
- TablesWithoutPrimaryKeyCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for tables without primary key on a specific host.
- TablesWithoutPrimaryKeyCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.TablesWithoutPrimaryKeyCheckOnHost
U
- UNUSED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
- UnusedIndexesCheckOnHost - Class in io.github.mfvanek.pg.core.checks.host
-
Check for unused indexes on a specific host.
- UnusedIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.core.checks.host.UnusedIndexesCheckOnHost
V
- valueOf(String) - Static method in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic.ExecutionTopology
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.mfvanek.pg.core.checks.common.Diagnostic.ExecutionTopology
-
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.core.checks.common.Diagnostic
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withPrefix(String) - Static method in class io.github.mfvanek.pg.core.checks.extractors.ForeignKeyExtractor
-
Creates
ForeignKeyExtractorinstance for duplicated/intersected constraint fields with given prefix.
All Classes and Interfaces|All Packages|Constant Field Values