Pipeline
A sequence of stages that transforms a set of documents; built from a PipelineSource and run with execute.
Types
Link copied to clipboard
Options of execute.
Link copied to clipboard
class Snapshot(val executionTime: <Error class: unknown class>, val results: List<PipelineResult>) : Iterable<PipelineResult>
The results of an execution, in order.
Functions
Link copied to clipboard
Link copied to clipboard
fun aggregate(accumulator: AliasedAggregate, vararg additionalAccumulators: AliasedAggregate): Pipeline
Link copied to clipboard
fun define(aliasedExpression: AliasedExpression, vararg additionalExpressions: AliasedExpression): Pipeline
Link copied to clipboard
Runs the pipeline and completes with its results.
Runs the pipeline with options and completes with its results.
Link copied to clipboard
fun findNearest(vectorField: Field, vectorValue: DoubleArray, distanceMeasure: FindNearestStage.DistanceMeasure): Pipeline
fun findNearest(vectorField: String, vectorValue: DoubleArray, distanceMeasure: FindNearestStage.DistanceMeasure): Pipeline
fun findNearest(vectorField: String, vectorValue: Expression, distanceMeasure: FindNearestStage.DistanceMeasure, options: FindNearestOptions): Pipeline
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This pipeline's results as an array, for use in an enclosing pipeline's expression.
Link copied to clipboard
This pipeline's single result, for use in an enclosing pipeline's expression.
Link copied to clipboard
Link copied to clipboard