Package com.mongodb.client.model
Class BsonField
- java.lang.Object
-
- com.mongodb.client.model.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...)
-
-
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.Gets the field nameBson
getValue()
Deprecated.Gets the field valueint
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
BsonField
public BsonField(java.lang.String name, Bson value)
Deprecated.Construct an instance- Parameters:
name
- the field namevalue
- 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 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
-
-