Table of Contents

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

IsServeList bool

Whether the named groups are what the node serves (IN) or what it refuses (NOT IN).

IncludesUngrouped bool

Whether the list names the triggers that carry no execution group.

NamedCount int

How 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

ExecutionGroupClauseShape

HasClause

Whether this is a clause at all.

public bool HasClause { get; }

Property Value

bool

IncludesUngrouped

Whether the list names the triggers that carry no execution group.

public bool IncludesUngrouped { get; init; }

Property Value

bool

IsServeList

Whether the named groups are what the node serves (IN) or what it refuses (NOT IN).

public bool IsServeList { get; init; }

Property Value

bool

NamedCount

How many named groups the clause binds, as @servedGroup0000… or @refusedGroup0000….

public int NamedCount { get; init; }

Property Value

int

Methods

Of(IReadOnlyCollection<ExecutionGroupScope>?, IReadOnlyCollection<ExecutionGroupScope>?)

The shape of the clause served or refused spells, or default when both are null.

public static ExecutionGroupClauseShape Of(IReadOnlyCollection<ExecutionGroupScope>? served, IReadOnlyCollection<ExecutionGroupScope>? refused)

Parameters

served IReadOnlyCollection<ExecutionGroupScope>
refused IReadOnlyCollection<ExecutionGroupScope>

Returns

ExecutionGroupClauseShape