TExpression
- the type of the value for the new fieldpublic class Field<TExpression> extends Object
Constructor and Description |
---|
Field(String name,
TExpression value)
Creates a new field definition for use in $addFields pipeline stages
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
TExpression |
getValue() |
int |
hashCode() |
public Field(String name, TExpression value)
name
- the name of the new fieldvalue
- the value of the new field