Interface DatabaseCheckOnHost<T extends io.github.mfvanek.pg.model.DbObject>
- Type Parameters:
T
- represents an object in a database associated with a table
- All Superinterfaces:
DiagnosticAware
,io.github.mfvanek.pg.connection.HostAware
,RawTypeAware<T>
- All Known Implementing Classes:
ColumnsWithJsonTypeCheckOnHost
,ColumnsWithoutDescriptionCheckOnHost
,ColumnsWithSerialTypesCheckOnHost
,DuplicatedIndexesCheckOnHost
,ForeignKeysNotCoveredWithIndexCheckOnHost
,FunctionsWithoutDescriptionCheckOnHost
,IndexesWithBloatCheckOnHost
,IndexesWithNullValuesCheckOnHost
,IntersectedIndexesCheckOnHost
,InvalidIndexesCheckOnHost
,TablesWithBloatCheckOnHost
,TablesWithMissingIndexesCheckOnHost
,TablesWithoutDescriptionCheckOnHost
,TablesWithoutPrimaryKeyCheckOnHost
,UnusedIndexesCheckOnHost
public interface DatabaseCheckOnHost<T extends io.github.mfvanek.pg.model.DbObject>
extends DiagnosticAware, RawTypeAware<T>, io.github.mfvanek.pg.connection.HostAware
A check on database structure on a specific host.
- Since:
- 0.6.0
- See Also:
-
DbObject
-
Method Summary
Methods inherited from interface io.github.mfvanek.pg.common.maintenance.DiagnosticAware
getDiagnostic
Methods inherited from interface io.github.mfvanek.pg.connection.HostAware
getHost
Methods inherited from interface io.github.mfvanek.pg.common.maintenance.RawTypeAware
getType
-
Method Details
-
check
Executes the check in the specified schema.- Parameters:
pgContext
- check's context with the specified schema- Returns:
- list of deviations from the specified rule
- See Also:
-
PgContext
-
check
Executes the check in the public schema.- Returns:
- list of deviations from the specified rule
- See Also:
-
PgContext.ofPublic()
-