Uses of Interface
org.springframework.data.mongodb.core.aggregation.DateOperators.TemporalUnit
Packages that use DateOperators.TemporalUnit
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.TemporalUnit in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return DateOperators.TemporalUnitModifier and TypeMethodDescriptionstatic DateOperators.TemporalUnitDateOperators.TemporalUnit.from(ChronoUnit chronoUnit) Converts the given chrono unit into aDateOperators.TemporalUnit.static DateOperators.TemporalUnitConverts the given time unit into aDateOperators.TemporalUnit.Methods in org.springframework.data.mongodb.core.aggregation with parameters of type DateOperators.TemporalUnitModifier and TypeMethodDescriptionDateOperators.DateOperatorFactory.add(Object value, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat adds the given value (in units).DateOperators.DateOperatorFactory.addValueOf(String fieldReference, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat adds the value stored at the given field (in units).DateOperators.DateOperatorFactory.addValueOf(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat adds the value of the givenexpression(in units).DateOperators.DateOperatorFactory.diff(Object value, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat calculates the difference (in units) to the date given value.DateOperators.DateOperatorFactory.diffValueOf(String fieldReference, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat calculates the difference (in units) to the date stored at the given field.DateOperators.DateOperatorFactory.diffValueOf(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat calculates the difference (in units) to the date computed by the givenexpression.DateOperators.DateOperatorFactory.subtract(Object value, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat subtracts the given value (in units).DateOperators.DateOperatorFactory.subtractValueOf(String fieldReference, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat subtracts the value stored at the given field (in units).DateOperators.DateOperatorFactory.subtractValueOf(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat subtracts the value of the givenexpression(in units).DateOperators.DateOperatorFactory.truncate(DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat truncates a date to the given unit.