Struct ExecutionGroupClauseShape
- Namespace
- Quartz.Impl.AdoJobStore
- Assembly
- Quartz.dll
What the execution-group routing clause of a statement looks like, and nothing about which groups it names: the names are parameters.
public readonly record struct ExecutionGroupClauseShape : IEquatable<ExecutionGroupClauseShape>
- Implements
- Inherited Members
Remarks
default is no clause. The six shapes it can take are in
StdAdoConstants.ExecutionGroupPredicate; the IS NULL term a refuse-list carries is
load-bearing, since NULL NOT IN (…) is unknown and would drop every ungrouped row.
Constructors
ExecutionGroupClauseShape(bool, bool, int)
What the execution-group routing clause of a statement looks like, and nothing about which groups it names: the names are parameters.
public ExecutionGroupClauseShape(bool IsServeList, bool IncludesUngrouped, int NamedCount)
Parameters
IsServeListboolWhether the named groups are what the node serves (
IN) or what it refuses (NOT IN).IncludesUngroupedboolWhether the list names the triggers that carry no execution group.
NamedCountintHow many named groups the clause binds, as
@servedGroup0000…or@refusedGroup0000….
Remarks
default is no clause. The six shapes it can take are in
StdAdoConstants.ExecutionGroupPredicate; the IS NULL term a refuse-list carries is
load-bearing, since NULL NOT IN (…) is unknown and would drop every ungrouped row.
Properties
Complement
The shape that selects exactly the rows this one leaves out — what the sweep asks to find the misfired triggers no node is serving.
public ExecutionGroupClauseShape Complement { get; }
Property Value
HasClause
Whether this is a clause at all.
public bool HasClause { get; }
Property Value
IncludesUngrouped
Whether the list names the triggers that carry no execution group.
public bool IncludesUngrouped { get; init; }
Property Value
IsServeList
Whether the named groups are what the node serves (IN) or what it refuses (NOT IN).
public bool IsServeList { get; init; }
Property Value
NamedCount
How many named groups the clause binds, as @servedGroup0000… or @refusedGroup0000….
public int NamedCount { get; init; }
Property Value
Methods
Of(IReadOnlyCollection<ExecutionGroupScope>?, IReadOnlyCollection<ExecutionGroupScope>?)
public static ExecutionGroupClauseShape Of(IReadOnlyCollection<ExecutionGroupScope>? served, IReadOnlyCollection<ExecutionGroupScope>? refused)
Parameters
servedIReadOnlyCollection<ExecutionGroupScope>refusedIReadOnlyCollection<ExecutionGroupScope>