Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
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.add(Object value,
String unit)
Creates new
AggregationExpression that adds the given value (in units). |
static DateOperators.DateAdd |
DateOperators.DateAdd.addValue(Object value,
String unit)
Add the number of units to a
start date . |
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(AggregationExpression expression,
String unit)
Creates new
AggregationExpression that adds the value of the given expression (in units). |
static DateOperators.DateAdd |
DateOperators.DateAdd.addValueOf(AggregationExpression expression,
String unit)
Add the number of units of the result of the given
expression to a
start date . |
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.DateAdd |
DateOperators.DateOperatorFactory.addValueOf(String fieldReference,
String unit)
Creates new
AggregationExpression that adds the value stored at the given field (in
units). |
static DateOperators.DateAdd |
DateOperators.DateAdd.addValueOf(String fieldReference,
String unit)
Add the number of units from a field to a
start date . |
DateOperators.DateAdd |
DateOperators.DateAdd.toDate(Object dateExpression)
Define the start date, in UTC, for the addition operation.
|
DateOperators.DateAdd |
DateOperators.DateAdd.toDateOf(AggregationExpression expression)
Define the start date, in UTC, for the addition operation.
|
DateOperators.DateAdd |
DateOperators.DateAdd.toDateOf(String fieldReference)
Define the start date, in UTC, for the addition operation.
|
DateOperators.DateAdd |
DateOperators.DateAdd.withTimezone(DateOperators.Timezone timezone)
Optionally set the
DateOperators.Timezone to use. |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.