Package ca.uhn.fhir.jpa.migrate.taskdef
Class BaseColumnCalculatorTask
java.lang.Object
ca.uhn.fhir.jpa.migrate.taskdef.BaseTask
ca.uhn.fhir.jpa.migrate.taskdef.BaseTableTask
ca.uhn.fhir.jpa.migrate.taskdef.BaseTableColumnTask
ca.uhn.fhir.jpa.migrate.taskdef.BaseColumnCalculatorTask
- Direct Known Subclasses:
CalculateHashesTask,CalculateOrdinalDatesTask
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class ca.uhn.fhir.jpa.migrate.taskdef.BaseTask
BaseTask.ExecutedStatement -
Field Summary
FieldsFields inherited from class ca.uhn.fhir.jpa.migrate.taskdef.BaseTableColumnTask
myCalculators, myColumnName, myWhereClauseFields inherited from class ca.uhn.fhir.jpa.migrate.taskdef.BaseTableTask
myColumnTypeToDriverTypeToSqlTypeFields inherited from class ca.uhn.fhir.jpa.migrate.taskdef.BaseTask
MIGRATION_VERSION_PATTERN -
Constructor Summary
ConstructorsConstructorDescriptionBaseColumnCalculatorTask(ca.uhn.fhir.util.VersionEnum theRelease, String theVersion) ConstructorBaseColumnCalculatorTask(String theRelease, String theVersion) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetBatchSize(int theBatchSize) voidsetPidColumnName(String thePidColumnName) protected abstract booleanAllows concrete implementations to decide if they should be skipped.Methods inherited from class ca.uhn.fhir.jpa.migrate.taskdef.BaseTableColumnTask
addCalculator, generateEquals, generateHashCode, getColumnName, getWhereClause, setColumnName, setWhereClause, validateMethods inherited from class ca.uhn.fhir.jpa.migrate.taskdef.BaseTableTask
getSqlType, getTableName, setTableNameMethods inherited from class ca.uhn.fhir.jpa.migrate.taskdef.BaseTask
captureExecutedStatement, equals, execute, executeSql, getChangesCount, getConnectionProperties, getDescription, getDriverType, getExecutedStatements, getFlywayVersion, getProductVersion, getSchemaVersion, getTxTemplate, hashCode, initializedSchema, isDoNothing, isDryRun, isFailureAllowed, isNoColumnShrink, isRunDuringSchemaInitialization, logInfo, newJdbcTemplate, setConnectionProperties, setDescription, setDoNothing, setDriverType, setDryRun, setFailureAllowed, setNoColumnShrink, setOnlyAppliesToPlatforms, setRunDuringSchemaInitialization, validateVersion
-
Field Details
-
ourLog
-
-
Constructor Details
-
BaseColumnCalculatorTask
Constructor -
BaseColumnCalculatorTask
Constructor
-
-
Method Details
-
setBatchSize
-
shouldSkipTask
Allows concrete implementations to decide if they should be skipped.- Returns:
- a boolean indicating whether or not to skip execution of the task.
-
doExecute
- Specified by:
doExecutein classBaseTask- Throws:
SQLException
-
setPidColumnName
-