Class BsonField


  • @Deprecated(since="2021-05-27")
    public final class BsonField
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A representation of a BSON document field whose value is another BSON document.
    Since:
    3.1
    See Also:
    Aggregates.group(Object, BsonField...)
    • Constructor Summary

      Constructors 
      Constructor Description
      BsonField​(java.lang.String name, Bson value)
      Deprecated.
      Construct an instance
    • Constructor Detail

      • BsonField

        public BsonField​(java.lang.String name,
                         Bson value)
        Deprecated.
        Construct an instance
        Parameters:
        name - the field name
        value - the field value
    • Method Detail

      • getName

        public java.lang.String getName()
        Deprecated.
        Gets the field name
        Returns:
        the field name
      • getValue

        public Bson getValue()
        Deprecated.
        Gets the field value
        Returns:
        the field value
      • 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