Constructor and Description |
---|
Facet(java.lang.String name,
Bson... pipeline) |
Facet(java.lang.String name,
java.util.List<? extends Bson> pipeline) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.util.List<? extends Bson> |
getPipeline() |
public Facet(java.lang.String name, java.util.List<? extends Bson> pipeline)
name
- the name of this facetpipeline
- the facet definition pipelinepublic Facet(java.lang.String name, Bson... pipeline)
name
- the name of this facetpipeline
- the facet definition pipelinepublic java.lang.String getName()
public java.util.List<? extends Bson> getPipeline()