|
|
|
@ -131,8 +131,7 @@ public interface AggregationExpressions { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
NestedDelegatingExpressionAggregationOperationContext nea = new NestedDelegatingExpressionAggregationOperationContext(context); |
|
|
|
NestedDelegatingExpressionAggregationOperationContext nea = new NestedDelegatingExpressionAggregationOperationContext(context); |
|
|
|
Document mappedCondition = ((AggregationExpression) condition).toDocument(nea); |
|
|
|
return ((AggregationExpression) condition).toDocument(nea); |
|
|
|
return mappedCondition; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
@ -224,7 +223,7 @@ public interface AggregationExpressions { |
|
|
|
public AsBuilder filter(List<?> array) { |
|
|
|
public AsBuilder filter(List<?> array) { |
|
|
|
|
|
|
|
|
|
|
|
Assert.notNull(array, "Array must not be null!"); |
|
|
|
Assert.notNull(array, "Array must not be null!"); |
|
|
|
filter.input = new ArrayList(array); |
|
|
|
filter.input = new ArrayList<Object>(array); |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -288,7 +287,5 @@ public interface AggregationExpressions { |
|
|
|
return filter; |
|
|
|
return filter; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|