HasGroup

Pipeline implementing the $group stage.

Inheritors

Properties

Link copied to clipboard
abstract val context: <Error class: unknown class>

The context used to generate this pipeline.

Functions

Link copied to clipboard
open fun <Out : Any> group(block: AccumulationOperators<Document, Out>.() -> Unit): Pipeline<Out>

Combines multiple documents into a single document.

Link copied to clipboard
abstract fun <New : Any> reinterpret(): Pipeline<New>

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

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

JSON representation of this pipeline.

Link copied to clipboard
abstract fun withStage(stage: BsonNode): Pipeline<Document>

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

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

Writes the entire pipeline into writer.