PipelineChainLink

A single link in the Pipeline chain.

End-users should not interact with this class. This class is provided as an implementation detail of AbstractPipeline. If you are not implementing your own pipeline type, you do not need to interact with this class at all.

Constructors

Link copied to clipboard
constructor(context: <Error class: unknown class>)

Creates an empty PipelineChainLink, corresponding to an empty aggregation pipeline.

Functions

Link copied to clipboard
fun toBsonList(): List<<Error class: unknown class>>

Converts this chain in a list of BSON documents, each representing a stage.

Link copied to clipboard

Converts this chain to a list of expressions.

Link copied to clipboard
open override fun toString(): String

JSON representation of this pipeline.

Link copied to clipboard

Equivalent to Pipeline.withStage, but generating a chain link instead.

Link copied to clipboard
fun writeTo(writer: <Error class: unknown class>): <Error class: unknown class>

Equivalent to Pipeline.writeTo.