Interface JdbcCustomization
-
- All Known Implementing Classes:
AutodetectJdbcCustomization,DefaultJdbcCustomization,MssqlJdbcCustomization,PostgreSqlJdbcCustomization
public interface JdbcCustomization
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstantgetInstant(ResultSet rs, String columnName)StringgetName()StringgetQueryLimitPart(int limit)byte[]getTaskData(ResultSet rs, String columnName)List<Execution>lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit)voidsetInstant(PreparedStatement p, int index, Instant value)voidsetTaskData(PreparedStatement p, int index, byte[] value)booleansupportsExplicitQueryLimitPart()booleansupportsLockAndFetch()
-
-
-
Method Detail
-
getName
String getName()
-
setInstant
void setInstant(PreparedStatement p, int index, Instant value) throws SQLException
- Throws:
SQLException
-
getInstant
Instant getInstant(ResultSet rs, String columnName) throws SQLException
- Throws:
SQLException
-
setTaskData
void setTaskData(PreparedStatement p, int index, byte[] value) throws SQLException
- Throws:
SQLException
-
getTaskData
byte[] getTaskData(ResultSet rs, String columnName) throws SQLException
- Throws:
SQLException
-
supportsExplicitQueryLimitPart
boolean supportsExplicitQueryLimitPart()
-
getQueryLimitPart
String getQueryLimitPart(int limit)
-
supportsLockAndFetch
boolean supportsLockAndFetch()
-
-