public class Facet
extends java.lang.Object
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() |
java.lang.String |
toString() |
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()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved