Class AggregateFacet<TInput>
Represents a facet to be passed to the Facet method.
public abstract class AggregateFacet<TInput>
Type Parameters
TInput
The type of the input documents.
- Inheritance
-
AggregateFacet<TInput>
- Derived
- Inherited Members
Constructors
AggregateFacet(string)
Initializes a new instance of the AggregateFacet<TInput> class.
protected AggregateFacet(string name)
Parameters
name
stringThe facet name.
Properties
Name
Gets the facet name.
public string Name { get; }
Property Value
OutputSerializer
Gets the output serializer.
public abstract IBsonSerializer OutputSerializer { get; }
Property Value
OutputType
Gets the type of the output documents.
public abstract Type OutputType { get; }
Property Value
Methods
RenderPipeline(IBsonSerializer<TInput>, IBsonSerializerRegistry, LinqProvider)
Renders the facet pipeline.
public abstract BsonArray RenderPipeline(IBsonSerializer<TInput> inputSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
inputSerializer
IBsonSerializer<TInput>The input serializer.
serializerRegistry
IBsonSerializerRegistryThe serializer registry.
linqProvider
LinqProviderThe LINQ provider.
Returns
- BsonArray
The rendered pipeline.