public class AggregatorImpl<T,R> extends Object implements Aggregator<T,R>
| Constructor and Description |
|---|
AggregatorImpl() |
public boolean isUseDisk()
isUseDisk in interface Aggregator<T,R>public void setUseDisk(boolean useDisk)
setUseDisk in interface Aggregator<T,R>public boolean isExplain()
isExplain in interface Aggregator<T,R>public void setExplain(boolean explain)
setExplain in interface Aggregator<T,R>public Morphium getMorphium()
getMorphium in interface Aggregator<T,R>public void setMorphium(Morphium m)
setMorphium in interface Aggregator<T,R>public Class<? extends T> getSearchType()
getSearchType in interface Aggregator<T,R>public void setSearchType(Class<? extends T> type)
setSearchType in interface Aggregator<T,R>public Class<? extends R> getResultType()
getResultType in interface Aggregator<T,R>public void setResultType(Class<? extends R> type)
setResultType in interface Aggregator<T,R>public Aggregator<T,R> project(String... m)
project in interface Aggregator<T,R>public Aggregator<T,R> project(Map<String,Object> m)
project in interface Aggregator<T,R>public Aggregator<T,R> addFields(Map<String,Object> m)
addFields in interface Aggregator<T,R>public Aggregator<T,R> match(Query<T> q)
match in interface Aggregator<T,R>public Aggregator<T,R> matchSubQuery(Query<?> q)
AggregatormatchSubQuery in interface Aggregator<T,R>public Aggregator<T,R> limit(int num)
limit in interface Aggregator<T,R>public Aggregator<T,R> skip(int num)
skip in interface Aggregator<T,R>public Aggregator<T,R> unwind(String listField)
unwind in interface Aggregator<T,R>public Aggregator<T,R> sort(String... prefixed)
sort in interface Aggregator<T,R>public Aggregator<T,R> sort(Map<String,Integer> sort)
sort in interface Aggregator<T,R>public String getCollectionName()
getCollectionName in interface Aggregator<T,R>public void setCollectionName(String cn)
setCollectionName in interface Aggregator<T,R>public Group<T,R> group(Map<String,Object> id)
group in interface Aggregator<T,R>public Group<T,R> groupSubObj(Map<String,String> idSubObject)
groupSubObj in interface Aggregator<T,R>public void addOperator(Map<String,Object> o)
addOperator in interface Aggregator<T,R>public void aggregate(AsyncOperationCallback<R> callback)
aggregate in interface Aggregator<T,R>public List<Map<String,Object>> toAggregationList()
toAggregationList in interface Aggregator<T,R>Copyright © 2019. All rights reserved.