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