A SQL Server specific driver delegate.
Inheritance Hierarchy
Quartz.Impl.AdoJobStoreAdoConstants
Quartz.Impl.AdoJobStoreStdAdoConstants
Quartz.Impl.AdoJobStoreStdAdoDelegate
Quartz.Impl.AdoJobStoreSqlServerDelegate
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public class SqlServerDelegate : StdAdoDelegate
The SqlServerDelegate type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlServerDelegate | Initializes a new instance of the SqlServerDelegate class |
Properties
Name | Description | |
---|---|---|
CanUseProperties | (Inherited from StdAdoDelegate.) | |
DbProvider | (Inherited from StdAdoDelegate.) | |
SchedulerNameLiteral | (Inherited from StdAdoDelegate.) |
Methods
Name | Description | |
---|---|---|
AddCommandParameter | (Overrides StdAdoDelegateAddCommandParameter(DbCommand, String, Object, Enum, NullableInt32).) | |
AddDefaultTriggerPersistenceDelegates | (Inherited from StdAdoDelegate.) | |
AddTriggerPersistenceDelegate | (Inherited from StdAdoDelegate.) | |
CalendarExists |
Check whether or not a calendar exists.
(Inherited from StdAdoDelegate.) | |
CalendarIsReferenced |
Check whether or not a calendar is referenced by any triggers.
(Inherited from StdAdoDelegate.) | |
ClearData | (Inherited from StdAdoDelegate.) | |
ConvertFromProperty |
Convert the JobDataMap into a list of properties.
(Inherited from StdAdoDelegate.) | |
ConvertToProperty |
Convert the JobDataMap into a list of properties.
(Inherited from StdAdoDelegate.) | |
CountMisfiredTriggersInState |
Get the number of triggers in the given state that have
misfired - according to the given timestamp.
(Inherited from StdAdoDelegate.) | |
DeleteAllPausedTriggerGroups |
Deletes all paused trigger groups.
(Inherited from StdAdoDelegate.) | |
DeleteBlobTrigger |
Delete the cron trigger data for a trigger.
(Inherited from StdAdoDelegate.) | |
DeleteCalendar |
Delete a calendar.
(Inherited from StdAdoDelegate.) | |
DeleteFiredTrigger |
Delete a fired trigger.
(Inherited from StdAdoDelegate.) | |
DeleteFiredTriggers(ConnectionAndTransactionHolder, CancellationToken) |
Delete all fired triggers.
(Inherited from StdAdoDelegate.) | |
DeleteFiredTriggers(ConnectionAndTransactionHolder, String, CancellationToken) |
Delete all fired triggers of the given instance.
(Inherited from StdAdoDelegate.) | |
DeleteJobDetail |
Delete the job detail record for the given job.
(Inherited from StdAdoDelegate.) | |
DeletePausedTriggerGroup(ConnectionAndTransactionHolder, GroupMatcherTriggerKey, CancellationToken) | (Inherited from StdAdoDelegate.) | |
DeletePausedTriggerGroup(ConnectionAndTransactionHolder, String, CancellationToken) |
Deletes the paused trigger group.
(Inherited from StdAdoDelegate.) | |
DeleteSchedulerState |
Deletes the state of the scheduler.
(Inherited from StdAdoDelegate.) | |
DeleteTrigger |
Delete the base trigger data for a trigger.
(Inherited from StdAdoDelegate.) | |
DeleteTriggerExtension | (Inherited from StdAdoDelegate.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindTriggerPersistenceDelegate(String) | (Inherited from StdAdoDelegate.) | |
FindTriggerPersistenceDelegate(IOperableTrigger) | (Inherited from StdAdoDelegate.) | |
GetBooleanFromDbValue |
Gets the boolean value from db presentation. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.) | |
GetDateTimeFromDbValue |
Gets the date/time value from db presentation. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.) | |
GetDbBooleanValue |
Gets the db presentation for boolean value. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.) | |
GetDbDateTimeValue |
Gets the db presentation for date/time value. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.) | |
GetDbTimeSpanValue |
Gets the db presentation for time span value. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetJobDataFromBlobT |
This method should be overridden by any delegate subclasses that need
special handling for BLOBs for job details.
(Inherited from StdAdoDelegate.) | |
GetKeyOfNonSerializableValue | (Inherited from StdAdoDelegate.) | |
GetObjectFromBlobT |
This method should be overridden by any delegate subclasses that need
special handling for BLOBs. The default implementation uses standard
ADO.NET operations.
(Inherited from StdAdoDelegate.) | |
GetSelectNextMisfiredTriggersInStateToAcquireSql | (Overrides StdAdoDelegateGetSelectNextMisfiredTriggersInStateToAcquireSql(Int32).) | |
GetSelectNextTriggerToAcquireSql |
Gets the select next trigger to acquire SQL clause.
SQL Server specific version with TOP functionality
(Overrides StdAdoDelegateGetSelectNextTriggerToAcquireSql(Int32).) | |
GetStorableJobTypeName | (Inherited from StdAdoDelegate.) | |
GetTimeSpanFromDbValue |
Gets the time span value from db presentation. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasMisfiredTriggersInState(ConnectionAndTransactionHolder, String, DateTimeOffset, CancellationToken) |
Get the names of all of the triggers in the given state that have
misfired - according to the given timestamp.
(Inherited from StdAdoDelegate.) | |
HasMisfiredTriggersInState(ConnectionAndTransactionHolder, String, DateTimeOffset, Int32, ICollectionTriggerKey, CancellationToken) |
Get the names of all of the triggers in the given state that have
misfired - according to the given timestamp. No more than count will
be returned.
(Inherited from StdAdoDelegate.) | |
Initialize |
Initializes the driver delegate.
(Inherited from StdAdoDelegate.) | |
InsertBlobTrigger |
Insert the blob trigger data.
(Inherited from StdAdoDelegate.) | |
InsertCalendar |
Insert a new calendar.
(Inherited from StdAdoDelegate.) | |
InsertFiredTrigger |
Insert a fired trigger.
(Inherited from StdAdoDelegate.) | |
InsertJobDetail |
Insert the job detail record.
(Inherited from StdAdoDelegate.) | |
InsertPausedTriggerGroup |
Inserts the paused trigger group.
(Inherited from StdAdoDelegate.) | |
InsertSchedulerState |
Inserts the state of the scheduler.
(Inherited from StdAdoDelegate.) | |
InsertTrigger |
Insert the base trigger data.
(Inherited from StdAdoDelegate.) | |
IsExistingTriggerGroup |
Determines whether given trigger group already exists.
(Inherited from StdAdoDelegate.) | |
IsJobStateful |
Check whether or not the given job is stateful.
(Inherited from StdAdoDelegate.) | |
IsMatcherEqualsT | (Inherited from StdAdoDelegate.) | |
IsTriggerGroupPaused |
Determines whether the specified trigger group is paused.
(Inherited from StdAdoDelegate.) | |
JobExists |
Check whether or not the given job exists.
(Inherited from StdAdoDelegate.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PrepareCommand | (Inherited from StdAdoDelegate.) | |
ReadBytesFromBlob | (Inherited from StdAdoDelegate.) | |
ReplaceTablePrefix |
Replace the table prefix in a query by replacing any occurrences of
"{0}" with the table prefix.
(Inherited from StdAdoDelegate.) | |
SelectCalendar |
Select a calendar.
(Inherited from StdAdoDelegate.) | |
SelectCalendars |
Select all of the stored calendars.
(Inherited from StdAdoDelegate.) | |
SelectFiredTriggerInstanceNames |
Select the distinct instance names of all fired-trigger records.
(Inherited from StdAdoDelegate.) | |
SelectFiredTriggerRecords |
Select the states of all fired-trigger records for a given trigger, or
trigger group if trigger name is .
(Inherited from StdAdoDelegate.) | |
SelectFiredTriggerRecordsByJob |
Select the states of all fired-trigger records for a given job, or job
group if job name is .
(Inherited from StdAdoDelegate.) | |
SelectInstancesFiredTriggerRecords |
Select the states of all fired-trigger records for a given scheduler
instance.
(Inherited from StdAdoDelegate.) | |
SelectJobDetail |
Select the JobDetail object for a given job name / group name.
(Inherited from StdAdoDelegate.) | |
SelectJobExecutionCount |
Selects the job execution count.
(Inherited from StdAdoDelegate.) | |
SelectJobForTrigger(ConnectionAndTransactionHolder, TriggerKey, ITypeLoadHelper, CancellationToken) | (Inherited from StdAdoDelegate.) | |
SelectJobForTrigger(ConnectionAndTransactionHolder, TriggerKey, ITypeLoadHelper, Boolean, CancellationToken) | (Inherited from StdAdoDelegate.) | |
SelectJobGroups |
Select all of the job group names that are stored.
(Inherited from StdAdoDelegate.) | |
SelectJobsInGroup |
Select all of the jobs contained in a given group.
(Inherited from StdAdoDelegate.) | |
SelectMisfiredTriggers |
Get the names of all of the triggers that have misfired.
(Inherited from StdAdoDelegate.) | |
SelectMisfiredTriggersInGroupInState |
Get the names of all of the triggers in the given group and state that
have misfired.
(Inherited from StdAdoDelegate.) | |
SelectNumCalendars |
Select the total number of calendars stored.
(Inherited from StdAdoDelegate.) | |
SelectNumJobs |
Select the total number of jobs stored.
(Inherited from StdAdoDelegate.) | |
SelectNumTriggers |
Select the total number of triggers stored.
(Inherited from StdAdoDelegate.) | |
SelectNumTriggersForJob |
Select the number of triggers associated with a given job.
(Inherited from StdAdoDelegate.) | |
SelectPausedTriggerGroups |
Selects the paused trigger groups.
(Inherited from StdAdoDelegate.) | |
SelectSchedulerStateRecords |
A List of all current SchedulerStateRecords.
(Inherited from StdAdoDelegate.)If instanceId is not null, then only the record for the identified instance will be returned. | |
SelectTrigger |
Select a trigger.
(Inherited from StdAdoDelegate.) | |
SelectTriggerForFireTime |
Select the trigger that will be fired at the given fire time.
(Inherited from StdAdoDelegate.) | |
SelectTriggerGroups(ConnectionAndTransactionHolder, CancellationToken) |
Select all of the trigger group names that are stored.
(Inherited from StdAdoDelegate.) | |
SelectTriggerGroups(ConnectionAndTransactionHolder, GroupMatcherTriggerKey, CancellationToken) | (Inherited from StdAdoDelegate.) | |
SelectTriggerJobDataMap |
Select a trigger's JobDataMap.
(Inherited from StdAdoDelegate.) | |
SelectTriggerNamesForJob |
Get the names of all of the triggers associated with the given job.
(Inherited from StdAdoDelegate.) | |
SelectTriggersForCalendar |
Select the triggers for a calendar
(Inherited from StdAdoDelegate.) | |
SelectTriggersForJob |
Select the triggers for a job
(Inherited from StdAdoDelegate.) | |
SelectTriggersForRecoveringJobs |
Select all of the triggers for jobs that are requesting recovery. The
returned trigger objects will have unique "recoverXXX" trigger names and
will be in the DefaultRecoveryGroup
trigger group.
(Inherited from StdAdoDelegate.) | |
SelectTriggersInGroup |
Select all of the triggers contained in a given group.
(Inherited from StdAdoDelegate.) | |
SelectTriggersInState |
Select all of the triggers in a given state.
(Inherited from StdAdoDelegate.) | |
SelectTriggerState |
Select a trigger's state value.
(Inherited from StdAdoDelegate.) | |
SelectTriggerStatus |
Select a trigger status (state and next fire time).
(Inherited from StdAdoDelegate.) | |
SelectTriggerToAcquire |
Select the next trigger which will fire to fire between the two given timestamps
in ascending order of fire time, and then descending by priority.
(Inherited from StdAdoDelegate.) | |
SerializeJobData |
Remove the transient data from and then create a serialized MemoryStream
version of a JobDataMap and returns the underlying bytes.
(Inherited from StdAdoDelegate.) | |
SerializeObject |
Create a serialized byte[] version of an Object.
(Inherited from StdAdoDelegate.) | |
ToSqlEqualsClauseT | (Inherited from StdAdoDelegate.) | |
ToSqlLikeClauseT | (Inherited from StdAdoDelegate.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TriggerExists |
Check whether or not a trigger exists.
(Inherited from StdAdoDelegate.) | |
UpdateBlobTrigger |
Update the blob trigger data.
(Inherited from StdAdoDelegate.) | |
UpdateCalendar |
Update a calendar.
(Inherited from StdAdoDelegate.) | |
UpdateFiredTrigger | Update a fired trigger. | |
UpdateJobData |
Update the job data map for the given job.
(Inherited from StdAdoDelegate.) | |
UpdateJobDetail |
Update the job detail record.
(Inherited from StdAdoDelegate.) | |
UpdateSchedulerState |
Updates the state of the scheduler.
(Inherited from StdAdoDelegate.) | |
UpdateTrigger |
Update the base trigger data.
(Inherited from StdAdoDelegate.) | |
UpdateTriggerGroupStateFromOtherState |
Update all of the triggers of the given group to the given new state, if
they are in the given old state.
(Inherited from StdAdoDelegate.) | |
UpdateTriggerGroupStateFromOtherStates |
Update all triggers in the given group to the given new state, if they
are in one of the given old states.
(Inherited from StdAdoDelegate.) | |
UpdateTriggerState |
Update the state for a given trigger.
(Inherited from StdAdoDelegate.) | |
UpdateTriggerStateFromOtherState |
Update the given trigger to the given new state, if it is in the given
old state.
(Inherited from StdAdoDelegate.) | |
UpdateTriggerStateFromOtherStates |
Update the given trigger to the given new state, if it is one of the
given old states.
(Inherited from StdAdoDelegate.) | |
UpdateTriggerStatesForJob |
Update the states of all triggers associated with the given job.
(Inherited from StdAdoDelegate.) | |
UpdateTriggerStatesForJobFromOtherState |
Updates the state of the trigger states for job from other.
(Inherited from StdAdoDelegate.) | |
UpdateTriggerStatesFromOtherStates |
Insert the job detail record.
(Inherited from StdAdoDelegate.) |
See Also