Package com.mongodb.client.model
Class Facet
- java.lang.Object
-
- com.mongodb.client.model.Facet
-
@Deprecated(since="2021-05-27") public class Facet extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.Defines a Facet for use in $facet pipeline stages.- Since:
- 3.4
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.java.lang.String
getName()
Deprecated.java.util.List<? extends Bson>
getPipeline()
Deprecated.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
Facet
public Facet(java.lang.String name, java.util.List<? extends Bson> pipeline)
Deprecated.- Parameters:
name
- the name of this facetpipeline
- the facet definition pipeline
-
Facet
public Facet(java.lang.String name, Bson... pipeline)
Deprecated.- Parameters:
name
- the name of this facetpipeline
- the facet definition pipeline
-
-
Method Detail
-
getName
public java.lang.String getName()
Deprecated.- Returns:
- the facet name
-
getPipeline
public java.util.List<? extends Bson> getPipeline()
Deprecated.- Returns:
- the pipeline definition
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-