Interface IQueryComponent
Narrow public contract for a query component. A component carries its own slot identity and handler; there is no global registry. The prepared descriptor is immutable and participates in the plan key.
public interface IQueryComponent
- Extension Methods
Properties
Contribution
The kind of contribution this component makes.
QueryComponentContribution Contribution { get; }
Property Value
Slot
Stable slot identity (typically the component type).
Type Slot { get; }
Property Value
Methods
BuildQuery(IQueryComponentBuildContext)
Builds the component's structural contribution into the command on a cache miss.
void BuildQuery(IQueryComponentBuildContext context)
Parameters
contextIQueryComponentBuildContext
Prepare(IQueryComponentPrepareContext)
Prepares and validates the component against the command, returning an immutable descriptor.
IQueryComponentDescriptor Prepare(IQueryComponentPrepareContext context)
Parameters
contextIQueryComponentPrepareContext