Table of Contents

Class FiredTriggerQuery

Namespace
Quartz.Impl.AdoJobStore
Assembly
Quartz.dll
public sealed record FiredTriggerQuery : IEquatable<FiredTriggerQuery>
Inheritance
FiredTriggerQuery
Implements
Inherited Members

Remarks

The filters combine with AND, and each one that is left null drops out of the statement entirely. A query with every filter null therefore selects — or deletes — every fired trigger of the scheduler.

Deliberately unpaged, unlike the listing queries in Quartz.Queries. FIRED_TRIGGERS holds one row per execution currently in flight or reserved, and every caller is a maintenance pass — recovery, cluster failover, blocked-state checks — that has to see the whole set to act correctly. Handing one of those a page would leave the rest of the rows unrecovered. The paged listing over the same table is FireInstanceQuery, which is a separate type for exactly this reason.

Properties

InstanceId

Limits the result to the fired triggers owned by one scheduler instance, named by its instance id.

public string? InstanceId { get; init; }

Property Value

string

Job

Limits the result to the fired triggers of one job.

public JobKey? Job { get; init; }

Property Value

JobKey

Trigger

Limits the result to the fired triggers of one trigger.

public TriggerKey? Trigger { get; init; }

Property Value

TriggerKey