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