Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
static DateOperators.TemporalUnit |
DateOperators.TemporalUnit.from(ChronoUnit chronoUnit)
Converts the given chrono unit into a
DateOperators.TemporalUnit . |
static DateOperators.TemporalUnit |
DateOperators.TemporalUnit.from(TimeUnit timeUnit)
Converts the given time unit into a
DateOperators.TemporalUnit . |
Modifier and Type | Method and Description |
---|---|
DateOperators.DateAdd |
DateOperators.DateOperatorFactory.add(Object value,
DateOperators.TemporalUnit unit)
Creates new
AggregationExpression that adds the given value (in units). |
DateOperators.DateAdd |
DateOperators.DateOperatorFactory.addValueOf(AggregationExpression expression,
DateOperators.TemporalUnit unit)
Creates new
AggregationExpression that adds the value of the given expression (in units). |
DateOperators.DateAdd |
DateOperators.DateOperatorFactory.addValueOf(String fieldReference,
DateOperators.TemporalUnit unit)
Creates new
AggregationExpression that adds the value stored at the given field (in
units). |
DateOperators.DateDiff |
DateOperators.DateOperatorFactory.diff(Object value,
DateOperators.TemporalUnit unit)
Creates new
AggregationExpression that calculates the difference (in units) to the date given
value. |
DateOperators.DateDiff |
DateOperators.DateOperatorFactory.diffValueOf(AggregationExpression expression,
DateOperators.TemporalUnit unit)
Creates new
AggregationExpression that calculates the difference (in units) to the date
computed by the given expression . |
DateOperators.DateDiff |
DateOperators.DateOperatorFactory.diffValueOf(String fieldReference,
DateOperators.TemporalUnit unit)
Creates new
AggregationExpression that calculates the difference (in units) to the date stored
at the given field. |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.