public final class BsonField
extends java.lang.Object
Aggregates.group(Object, BsonField...)
Constructor and Description |
---|
BsonField(java.lang.String name,
Bson value)
Construct an instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Gets the field name
|
Bson |
getValue()
Gets the field value
|
int |
hashCode() |
java.lang.String |
toString() |
public BsonField(java.lang.String name, Bson value)
name
- the field namevalue
- the field valuepublic java.lang.String getName()
public Bson getValue()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2023 Adobe. All Rights Reserved