Class MssqlJdbcCustomization
java.lang.Object
com.github.kagkarlsson.scheduler.jdbc.MssqlJdbcCustomization
- All Implemented Interfaces:
JdbcCustomization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstant(ResultSet rs, String columnName) getName()getQueryLimitPart(int limit) lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit) voidsetInstant(PreparedStatement p, int index, Instant value) booleanboolean
-
Constructor Details
-
MssqlJdbcCustomization
public MssqlJdbcCustomization()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceJdbcCustomization
-
setInstant
- Specified by:
setInstantin interfaceJdbcCustomization- Throws:
SQLException
-
getInstant
- Specified by:
getInstantin interfaceJdbcCustomization- Throws:
SQLException
-
supportsExplicitQueryLimitPart
public boolean supportsExplicitQueryLimitPart()- Specified by:
supportsExplicitQueryLimitPartin interfaceJdbcCustomization
-
getQueryLimitPart
- Specified by:
getQueryLimitPartin interfaceJdbcCustomization
-
supportsLockAndFetch
public boolean supportsLockAndFetch()- Specified by:
supportsLockAndFetchin interfaceJdbcCustomization
-
lockAndFetch
public List<Execution> lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit) - Specified by:
lockAndFetchin interfaceJdbcCustomization
-