Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      Facet​(java.lang.String name, java.util.List<? extends Bson> pipeline)
      Deprecated.
       
      Facet​(java.lang.String name, Bson... pipeline)
      Deprecated.
       
    • Constructor Detail

      • Facet

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

        public Facet​(java.lang.String name,
                     Bson... pipeline)
        Deprecated.
        Parameters:
        name - the name of this facet
        pipeline - 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 class java.lang.Object
      • hashCode

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

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