Class Facet

java.lang.Object
com.mongodb.client.model.Facet

@Deprecated(since="2021-05-27") public class Facet extends 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
  • Constructor Details

    • Facet

      public Facet(String name, List<? extends Bson> pipeline)
      Deprecated.
      Parameters:
      name - the name of this facet
      pipeline - the facet definition pipeline
    • Facet

      public Facet(String name, Bson... pipeline)
      Deprecated.
      Parameters:
      name - the name of this facet
      pipeline - the facet definition pipeline
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Returns:
      the facet name
    • getPipeline

      public List<? extends Bson> getPipeline()
      Deprecated.
      Returns:
      the pipeline definition
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object