Package com.mongodb.client.model
Class Field<TExpression>
java.lang.Object
com.mongodb.client.model.Field<TExpression>
- Type Parameters:
TExpression
- the type of the value for the new field
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Helps define new fields for the $addFields pipeline stage
- Since:
- 3.4
-
Constructor Summary
ConstructorsConstructorDescriptionField
(String name, TExpression value) Deprecated.Creates a new field definition for use in $addFields pipeline stages -
Method Summary
-
Constructor Details
-
Field
Deprecated.Creates a new field definition for use in $addFields pipeline stages- Parameters:
name
- the name of the new fieldvalue
- the value of the new field
-
-
Method Details
-
getName
Deprecated.- Returns:
- the name of the new field
-
getValue
Deprecated.- Returns:
- the value of the new field
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-