Package org.jobrunr.storage.sql.common
Class RecurringJobTable
- java.lang.Object
-
- org.jobrunr.storage.sql.common.db.Sql<RecurringJob>
-
- org.jobrunr.storage.sql.common.RecurringJobTable
-
public class RecurringJobTable extends Sql<RecurringJob>
-
-
Constructor Summary
Constructors Constructor Description RecurringJobTable(java.sql.Connection connection, Dialect dialect, java.lang.String tablePrefix, JobMapper jobMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
deleteById(java.lang.String id)
RecurringJob
save(RecurringJob recurringJob)
java.util.List<RecurringJob>
selectAll()
RecurringJobTable
withId(java.lang.String id)
-
Methods inherited from class org.jobrunr.storage.sql.common.db.Sql
delete, execute, forType, insert, insert, insertAll, select, selectCount, selectExists, update, update, updateAll, using, with, with, with, withOrderLimitAndOffset, withVersion
-
-
-
-
Method Detail
-
withId
public RecurringJobTable withId(java.lang.String id)
-
save
public RecurringJob save(RecurringJob recurringJob) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
selectAll
public java.util.List<RecurringJob> selectAll()
-
deleteById
public int deleteById(java.lang.String id) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-