public static class DateOperators.IsoWeek extends Object
AggregationExpression for $isoWeek.| Modifier and Type | Method and Description |
|---|---|
protected List<Object> |
append(Object value) |
protected Map<String,Object> |
append(String key,
Object value) |
protected static List<Field> |
asFields(String... fieldRefs) |
protected String |
getMongoMethod() |
static DateOperators.IsoWeek |
isoWeekOf(AggregationExpression expression)
Creates new
DateOperators.IsoWeek. |
static DateOperators.IsoWeek |
isoWeekOf(String fieldReference)
Creates new
DateOperators.IsoWeek. |
com.mongodb.DBObject |
toDbObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
toDbObject(Object value,
AggregationOperationContext context) |
protected List<Object> |
values() |
protected String getMongoMethod()
public static DateOperators.IsoWeek isoWeekOf(String fieldReference)
DateOperators.IsoWeek.fieldReference - must not be null.public static DateOperators.IsoWeek isoWeekOf(AggregationExpression expression)
DateOperators.IsoWeek.expression - must not be null.public com.mongodb.DBObject toDbObject(AggregationOperationContext context)
AggregationExpressiontoDbObject in interface AggregationExpressionpublic com.mongodb.DBObject toDbObject(Object value, AggregationOperationContext context)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.