Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
ArrayOperators.First |
ArrayOperators.ArrayOperatorFactory.first()
Creates new
AggregationExpression that return the first element in the associated array. |
static ArrayOperators.First |
ArrayOperators.First.first(Object array)
Returns the first element in the given array.
|
static ArrayOperators.First |
ArrayOperators.First.firstOf(AggregationExpression expression)
Returns the first element of the array computed by the given
expression . |
static ArrayOperators.First |
ArrayOperators.First.firstOf(String fieldReference)
Returns the first element in the array pointed to by the given
field reference . |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.