Click or drag to resize

PipelineDefinition<TInput, TOutput> Class

Base class for a pipeline.
Inheritance Hierarchy
System.Object
  MongoDB.Driver.PipelineDefinition<TInput, TOutput>
    More...

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public abstract class PipelineDefinition<TInput, TOutput>

Type Parameters

TInput
The type of the input.
TOutput
The type of the output.

The PipelineDefinition<TInput, TOutput> type exposes the following members.

Constructors
  NameDescription
Protected methodPipelineDefinition<TInput, TOutput>
Initializes a new instance of the PipelineDefinition<TInput, TOutput> class
Top
Properties
  NameDescription
Public propertyOutputSerializer
Gets the output serializer.
Public propertyStages
Gets the stages.
Top
Methods
  NameDescription
Public methodStatic memberCreate(String[])
Creates a pipeline.
Public methodStatic memberCreate(BsonDocument[])
Creates a pipeline.
Public methodStatic memberCreate(IEnumerable<String>, IBsonSerializer<TOutput>)
Creates a pipeline.
Public methodStatic memberCreate(IEnumerable<BsonDocument>, IBsonSerializer<TOutput>)
Creates a pipeline.
Public methodStatic memberCreate(IEnumerable<IPipelineStageDefinition>, IBsonSerializer<TOutput>)
Creates a pipeline.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRender(IBsonSerializer<TInput>, IBsonSerializerRegistry)
Renders the pipeline.
Public methodRender(IBsonSerializer<TInput>, IBsonSerializerRegistry, LinqProvider)
Renders the pipeline.
Public methodToString()
Returns a string that represents the current object.
(Overrides Object.ToString().)
Public methodToString(LinqProvider)
Returns a String that represents this instance.
Public methodToString(IBsonSerializer<TInput>, IBsonSerializerRegistry)
Returns a String that represents this instance.
Public methodToString(IBsonSerializer<TInput>, IBsonSerializerRegistry, LinqProvider)
Returns a String that represents this instance.
Top
Operators
  NameDescription
Public operatorStatic memberImplicit(BsonDocument[] to PipelineDefinition<TInput, TOutput>)
Performs an implicit conversion from BsonDocument[] to PipelineDefinition<TInput, TOutput>.
Public operatorStatic memberImplicit(List<BsonDocument> to PipelineDefinition<TInput, TOutput>)
Performs an implicit conversion from List<T> to PipelineDefinition<TInput, TOutput>.
Public operatorStatic memberImplicit(IPipelineStageDefinition[] to PipelineDefinition<TInput, TOutput>)
Performs an implicit conversion from IPipelineStageDefinition[] to PipelineDefinition<TInput, TOutput>.
Public operatorStatic memberImplicit(List<IPipelineStageDefinition> to PipelineDefinition<TInput, TOutput>)
Performs an implicit conversion from List<T> to PipelineDefinition<TInput, TOutput>.
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also
Inheritance Hierarchy
System.Object
  MongoDB.Driver.PipelineDefinition<TInput, TOutput>
    MongoDB.Driver.AppendedStagePipelineDefinition<TInput, TIntermediate, TOutput>
    MongoDB.Driver.BsonDocumentStagePipelineDefinition<TInput, TOutput>
    MongoDB.Driver.EmptyPipelineDefinition<TInput>
    MongoDB.Driver.PipelineStagePipelineDefinition<TInput, TOutput>
    MongoDB.Driver.PrependedStagePipelineDefinition<TInput, TIntermediate, TOutput>
    MongoDB.Driver.ReplaceOutputSerializerPipelineDefinition<TInput, TIntermediate, TOutput>