Class Fields
java.lang.Object
org.springframework.data.mongodb.core.aggregation.Fields
Value object to capture a list of
Field instances.- Since:
- 1.3
- Author:
- Oliver Gierke, Thomas Darimont
-
Field Details
-
UNDERSCORE_ID
- See Also:
-
UNDERSCORE_ID_REF
- See Also:
-
-
Method Details
-
from
- Parameters:
fields- must not be null or empty.- Returns:
-
fields
- Parameters:
names- must not be null.- Returns:
-
field
Creates aFieldwith the given name.- Parameters:
name- must not be null or empty.- Returns:
-
field
Creates aFieldwith the givennameandtarget.The
targetis the name of the backing document field that will be aliased withname.- Parameters:
name-target- must not be null or empty- Returns:
-
and
- Parameters:
name- must not be null.- Returns:
-
and
-
and
-
and
-
getField
-
iterator
-
asList
- Returns:
- Since:
- 1.10
-