Class PostgresSizeCollector
- java.lang.Object
-
- org.linuxforhealth.fhir.schema.size.PostgresSizeCollector
-
- All Implemented Interfaces:
ISizeCollector
public class PostgresSizeCollector extends java.lang.Object implements ISizeCollector
Collect size metrics for a PostgreSQL database and add them to the model
-
-
Constructor Summary
Constructors Constructor Description PostgresSizeCollector(FHIRDbSizeModel model)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(java.lang.String schemaName, java.sql.Connection connection, IDatabaseTranslator translator)
Collect database size metrics for the given schema using the given database connection
-
-
-
Constructor Detail
-
PostgresSizeCollector
public PostgresSizeCollector(FHIRDbSizeModel model)
Public constructor- Parameters:
model
-
-
-
Method Detail
-
run
public void run(java.lang.String schemaName, java.sql.Connection connection, IDatabaseTranslator translator)
Description copied from interface:ISizeCollector
Collect database size metrics for the given schema using the given database connection- Specified by:
run
in interfaceISizeCollector
-
-