HasSkip

Pipeline implementing the $skip stage.

Inheritors

Properties

Link copied to clipboard

The context used to generate this pipeline.

Functions

Link copied to clipboard

Changes the type of the returned document, with no type-safety.

Link copied to clipboard
open fun skip(amount: Int): Pipeline<Document>
open fun skip(amount: Long): Pipeline<Document>

Skips over the specified amount of documents that pass into the stage, and passes the remaining documents to the next stage.

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

JSON representation of this pipeline.

Link copied to clipboard

Creates a new pipeline that expands on the current one by adding stage.

Link copied to clipboard
abstract fun writeTo(writer: BsonValueWriter)

Writes the entire pipeline into writer.