Interface JdbcCustomization
-
- All Known Implementing Classes:
AutodetectJdbcCustomization,DefaultJdbcCustomization,MariaDBJdbcCustomization,MssqlJdbcCustomization,MySQL8JdbcCustomization,MySQLJdbcCustomization,OracleJdbcCustomization,PostgreSqlJdbcCustomization
public interface JdbcCustomization
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreateGenericSelectForUpdateQuery(String tableName, int limit, String requiredAndCondition)StringcreateSelectDueQuery(String tableName, int limit, String andCondition)InstantgetInstant(ResultSet rs, String columnName)StringgetName()StringgetQueryLimitPart(int limit)byte[]getTaskData(ResultSet rs, String columnName)List<Execution>lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit)voidsetInstant(PreparedStatement p, int index, Instant value)voidsetTaskData(PreparedStatement p, int index, byte[] value)booleansupportsExplicitQueryLimitPart()booleansupportsGenericLockAndFetch()booleansupportsSingleStatementLockAndFetch()
-
-
-
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)
-
supportsSingleStatementLockAndFetch
boolean supportsSingleStatementLockAndFetch()
-
lockAndFetchSingleStatement
List<Execution> lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit)
-
supportsGenericLockAndFetch
boolean supportsGenericLockAndFetch()
-
createGenericSelectForUpdateQuery
String createGenericSelectForUpdateQuery(String tableName, int limit, String requiredAndCondition)
-
-