MongoDB request DSL • opensavvy.ktmongo.dsl.aggregation.stages • HasUnionWithCompatibility
HasUnionWithCompatibility¶
interface HasUnionWithCompatibility<Document : Any> : Pipeline<Document>
Pipeline that can be used as the second argument in a $unionWith
stage.
Instances of this interface should be immutable.
Inheritors¶
Properties¶
context
¶
abstract val context:
The context used to generate this pipeline.
Functions¶
embedInUnionWith
¶
abstract fun embedInUnionWith(writer: )
Writes this pipeline into a $unionWith
stage.
reinterpret
¶
abstract fun <New : Any> reinterpret(): Pipeline<New>
Changes the type of the returned document, with no type-safety.
toString
¶
JSON representation of this pipeline.
withStage
¶
Creates a new pipeline that expands on the current one by adding stage
.
writeTo
¶
abstract fun writeTo(writer: )
Writes the entire pipeline into writer
.