Package com.mongodb.client.model
Class FusionPipeline
java.lang.Object
com.mongodb.client.model.FusionPipeline
A named aggregation pipeline used as an input to a fusion pipeline stage, e.g.,
$scoreFusion.
The name uniquely identifies the pipeline within the stage and may be referred to
by other parts of the stage, e.g., as the "$$name" variable in a
combination expression.
A name must not be empty, must not start with $, and must not contain .
or the null character.- Since:
- 5.10
- Since server release
- 8.2
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()inthashCode()static FusionPipelineCreates a newFusionPipeline.static FusionPipelineCreates a newFusionPipeline.toString()
-
Method Details
-
of
Creates a newFusionPipeline.- Parameters:
name- The pipeline name, unique within the containing stage. It must not be empty, must not start with$, and must not contain.or the null character.pipeline- The non-empty pipeline.- Returns:
- The requested
FusionPipeline.
-
of
Creates a newFusionPipeline.- Parameters:
name- The pipeline name, unique within the containing stage. It must not be empty, must not start with$, and must not contain.or the null character.pipeline- The non-empty pipeline.- Returns:
- The requested
FusionPipeline.
-
getName
- Returns:
- the pipeline name
-
getPipeline
- Returns:
- the pipeline
-
equals
-
hashCode
public int hashCode() -
toString
-