Uses of Class
org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
Packages that use DateOperators.DateSubtract
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DateOperators.DateSubtract in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return DateOperators.DateSubtractModifier and TypeMethodDescriptionDefine the start date, in UTC, for the subtraction operation.DateOperators.DateSubtract.fromDateOf(String fieldReference) Define the start date, in UTC, for the subtraction operation.DateOperators.DateSubtract.fromDateOf(AggregationExpression expression) Define the start date, in UTC, for the subtraction operation.Creates newAggregationExpressionthat subtracts the given value (in units).DateOperators.DateOperatorFactory.subtract(Object value, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat subtracts the given value (in units).static DateOperators.DateSubtractDateOperators.DateSubtract.subtractValue(Object value, String unit) Subtract the number of units from astart date.DateOperators.DateOperatorFactory.subtractValueOf(String fieldReference, String unit) Creates newAggregationExpressionthat subtracts the value stored at the given field (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, String unit) Creates newAggregationExpressionthat subtracts the value of the givenexpression(in units).DateOperators.DateOperatorFactory.subtractValueOf(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat subtracts the value of the givenexpression(in units).static DateOperators.DateSubtractDateOperators.DateSubtract.subtractValueOf(String fieldReference, String unit) Subtract the number of units from a field from astart date.static DateOperators.DateSubtractDateOperators.DateSubtract.subtractValueOf(AggregationExpression expression, String unit) Subtract the number of units of the result of the givenexpressionfrom astart date.DateOperators.DateSubtract.withTimezone(DateOperators.Timezone timezone) Optionally set theDateOperators.Timezoneto use.