Class DefaultJdbcCustomization
java.lang.Object
com.github.kagkarlsson.scheduler.jdbc.DefaultJdbcCustomization
- All Implemented Interfaces:
JdbcCustomization
- Direct Known Subclasses:
PostgreSqlJdbcCustomization
-
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
-
DefaultJdbcCustomization
public DefaultJdbcCustomization()
-
-
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
-