1using System.Linq.Expressions;
29internal readonly record
struct Pipeline(
35 LambdaExpression? ProjectExpr)
37 public IPipelineExecutor GetExec(DataContext ctx)
39 var ser = ElemSerializer ??
41 Serializer.GenerateNullable(ctx.MappingCtx, ElemType) :
42 Serializer.Generate(ctx.MappingCtx, ElemType));
44 var proj = ProjectExpr?.Compile();
46 return IPipelineExecutor.Create(ctx,
Query, ser, proj, Mode);
Represents the abstract base class for constructing FQL queries.
A generic interface that defines serialize and deserialize behavior for a specific type,...
PipelineMode
The mode of the query pipeline.
@ Query
When a "pure" query, no local processing is required except deserialization.
@ Project
When elements have local projection.
@ SetLoad
When post-processing on the loaded set is required.
@ Scalar
When there is a final, non-enum result, no more transformations are allowed.