Class AutodetectJdbcCustomization
java.lang.Object
com.github.kagkarlsson.scheduler.jdbc.AutodetectJdbcCustomization
- All Implemented Interfaces:
JdbcCustomization
-
Field Summary
Fields -
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
-
Field Details
-
MICROSOFT_SQL_SERVER
- See Also:
-
POSTGRESQL
- See Also:
-
-
Constructor Details
-
AutodetectJdbcCustomization
-
-
Method Details
-
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
-
getName
- Specified by:
getNamein interfaceJdbcCustomization
-