Class MySQL8JdbcCustomization
- java.lang.Object
-
- com.github.kagkarlsson.scheduler.jdbc.DefaultJdbcCustomization
-
- com.github.kagkarlsson.scheduler.jdbc.MySQL8JdbcCustomization
-
- All Implemented Interfaces:
JdbcCustomization
public class MySQL8JdbcCustomization extends DefaultJdbcCustomization
-
-
Field Summary
-
Fields inherited from class com.github.kagkarlsson.scheduler.jdbc.DefaultJdbcCustomization
UTC
-
-
Constructor Summary
Constructors Constructor Description MySQL8JdbcCustomization(boolean persistTimestampInUTC)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcreateGenericSelectForUpdateQuery(String tableName, int limit, String requiredAndCondition, boolean orderByPriority)StringgetName()StringgetQueryLimitPart(int limit)booleansupportsGenericLockAndFetch()-
Methods inherited from class com.github.kagkarlsson.scheduler.jdbc.DefaultJdbcCustomization
createSelectDueQuery, getInstant, getTaskData, lockAndFetchSingleStatement, setInstant, setTaskData, supportsExplicitQueryLimitPart, supportsSingleStatementLockAndFetch
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceJdbcCustomization- Overrides:
getNamein classDefaultJdbcCustomization
-
getQueryLimitPart
public String getQueryLimitPart(int limit)
- Specified by:
getQueryLimitPartin interfaceJdbcCustomization- Overrides:
getQueryLimitPartin classDefaultJdbcCustomization
-
supportsGenericLockAndFetch
public boolean supportsGenericLockAndFetch()
- Specified by:
supportsGenericLockAndFetchin interfaceJdbcCustomization- Overrides:
supportsGenericLockAndFetchin classDefaultJdbcCustomization
-
createGenericSelectForUpdateQuery
public String createGenericSelectForUpdateQuery(String tableName, int limit, String requiredAndCondition, boolean orderByPriority)
- Specified by:
createGenericSelectForUpdateQueryin interfaceJdbcCustomization- Overrides:
createGenericSelectForUpdateQueryin classDefaultJdbcCustomization
-
-