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.ObjectDeprecated.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 booleanequals(java.lang.Object o)Deprecated.java.lang.StringgetName()Deprecated.Gets the field nameBsongetValue()Deprecated.Gets the field valueinthashCode()Deprecated.java.lang.StringtoString()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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-