|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.impl.jdbcjobstore.PointbaseDelegate
public class PointbaseDelegate
This is a driver delegate for the Pointbase JDBC driver.
| Field Summary |
|---|
| Fields inherited from class org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
|---|
instanceId, logger, tablePrefix, useProperties |
| Constructor Summary | |
|---|---|
PointbaseDelegate(org.slf4j.Logger logger,
java.lang.String tablePrefix,
java.lang.String instanceId)
Create new PointbaseJDBCDelegate instance. |
|
PointbaseDelegate(org.slf4j.Logger logger,
java.lang.String tablePrefix,
java.lang.String instanceId,
java.lang.Boolean useProperties)
Create new PointbaseJDBCDelegate instance. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
getJobDetailFromBlob(java.sql.ResultSet rs,
java.lang.String colName)
This method should be overridden by any delegate subclasses that need special handling for BLOBs for job details. |
protected java.lang.Object |
getObjectFromBlob(java.sql.ResultSet rs,
java.lang.String colName)
This method should be overridden by any delegate subclasses that need special handling for BLOBs. |
int |
insertCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
Insert a new calendar. |
int |
insertJobDetail(java.sql.Connection conn,
JobDetail job)
Insert the job detail record. |
int |
insertTrigger(java.sql.Connection conn,
Trigger trigger,
java.lang.String state,
JobDetail jobDetail)
Insert the base trigger data. |
int |
updateCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
Update a calendar. |
int |
updateJobData(java.sql.Connection conn,
JobDetail job)
Update the job data map for the given job. |
int |
updateJobDetail(java.sql.Connection conn,
JobDetail job)
Update the job detail record. |
int |
updateTrigger(java.sql.Connection conn,
Trigger trigger,
java.lang.String state,
JobDetail jobDetail)
Update the base trigger data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointbaseDelegate(org.slf4j.Logger logger,
java.lang.String tablePrefix,
java.lang.String instanceId)
Create new PointbaseJDBCDelegate instance.
logger - the logger to use during executiontablePrefix - the prefix of all table names
public PointbaseDelegate(org.slf4j.Logger logger,
java.lang.String tablePrefix,
java.lang.String instanceId,
java.lang.Boolean useProperties)
Create new PointbaseJDBCDelegate instance.
logger - the logger to use during executiontablePrefix - the prefix of all table names| Method Detail |
|---|
public int insertJobDetail(java.sql.Connection conn,
JobDetail job)
throws java.io.IOException,
java.sql.SQLException
Insert the job detail record.
insertJobDetail in interface DriverDelegateinsertJobDetail in class StdJDBCDelegateconn - the DB Connectionjob - the job to insert
java.io.IOException - if there were problems serializing the JobDataMap
java.sql.SQLException
public int updateJobDetail(java.sql.Connection conn,
JobDetail job)
throws java.io.IOException,
java.sql.SQLException
Update the job detail record.
updateJobDetail in interface DriverDelegateupdateJobDetail in class StdJDBCDelegateconn - the DB Connectionjob - the job to update
java.io.IOException - if there were problems serializing the JobDataMap
java.sql.SQLException
public int insertTrigger(java.sql.Connection conn,
Trigger trigger,
java.lang.String state,
JobDetail jobDetail)
throws java.sql.SQLException,
java.io.IOException
StdJDBCDelegateInsert the base trigger data.
insertTrigger in interface DriverDelegateinsertTrigger in class StdJDBCDelegateconn - the DB Connectiontrigger - the trigger to insertstate - the state that the trigger should be stored in
java.sql.SQLException
java.io.IOException
public int updateTrigger(java.sql.Connection conn,
Trigger trigger,
java.lang.String state,
JobDetail jobDetail)
throws java.sql.SQLException,
java.io.IOException
StdJDBCDelegateUpdate the base trigger data.
updateTrigger in interface DriverDelegateupdateTrigger in class StdJDBCDelegateconn - the DB Connectiontrigger - the trigger to insertstate - the state that the trigger should be stored in
java.sql.SQLException
java.io.IOException
public int updateJobData(java.sql.Connection conn,
JobDetail job)
throws java.io.IOException,
java.sql.SQLException
Update the job data map for the given job.
updateJobData in interface DriverDelegateupdateJobData in class StdJDBCDelegateconn - the DB Connectionjob - the job to update
java.io.IOException - if there were problems serializing the JobDataMap
java.sql.SQLException
public int insertCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
throws java.io.IOException,
java.sql.SQLException
Insert a new calendar.
insertCalendar in interface DriverDelegateinsertCalendar in class StdJDBCDelegateconn - the DB ConnectioncalendarName - the name for the new calendarcalendar - the calendar
java.io.IOException - if there were problems serializing the calendar
java.sql.SQLException
public int updateCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
throws java.io.IOException,
java.sql.SQLException
Update a calendar.
updateCalendar in interface DriverDelegateupdateCalendar in class StdJDBCDelegateconn - the DB ConnectioncalendarName - the name for the new calendarcalendar - the calendar
java.io.IOException - if there were problems serializing the calendar
java.sql.SQLException
protected java.lang.Object getObjectFromBlob(java.sql.ResultSet rs,
java.lang.String colName)
throws java.lang.ClassNotFoundException,
java.io.IOException,
java.sql.SQLException
This method should be overridden by any delegate subclasses that need
special handling for BLOBs. The default implementation uses standard
JDBC java.sql.Blob operations.
getObjectFromBlob in class StdJDBCDelegaters - the result set, already queued to the correct rowcolName - the column name for the BLOB
java.lang.ClassNotFoundException - if a class found during deserialization cannot be found
java.io.IOException - if deserialization causes an error
java.sql.SQLException
protected java.lang.Object getJobDetailFromBlob(java.sql.ResultSet rs,
java.lang.String colName)
throws java.lang.ClassNotFoundException,
java.io.IOException,
java.sql.SQLException
This method should be overridden by any delegate subclasses that need
special handling for BLOBs for job details. The default implementation
uses standard JDBC java.sql.Blob operations.
getJobDetailFromBlob in class StdJDBCDelegaters - the result set, already queued to the correct rowcolName - the column name for the BLOB
java.lang.ClassNotFoundException - if a class found during deserialization cannot be found
java.io.IOException - if deserialization causes an error
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||