Class PostgresFillfactorSettingDAO
- java.lang.Object
-
- com.ibm.fhir.database.utils.postgres.PostgresFillfactorSettingDAO
-
- All Implemented Interfaces:
IDatabaseStatement
public class PostgresFillfactorSettingDAO extends java.lang.Object implements IDatabaseStatement
This DAO changes the fillfactor settings on the given PostgreSQL table. The fillfactor can be used to leave free space in the database block structures for more efficient updates at the cost of additional space usage. In case you are wondering, we use "PostgresFillfactor" not "PostgresFillFactor" because the "fillfactor" property name is a single word.
-
-
Constructor Summary
Constructors Constructor Description PostgresFillfactorSettingDAO(java.lang.String schema, java.lang.String tableName, int fillfactor)
Alters the fillfactor setting for PostgreSQL tables
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
-