Aggregator<T,R> |
AggregatorImpl.addFields(Map<String,Object> m) |
Aggregator<T,R> |
Aggregator.addFields(Map<String,Object> m) |
Aggregator<T,R> |
AggregatorImpl.bucket(Expr groupBy,
List<Expr> boundaries,
Expr preset,
Map<String,Expr> output)
Categorizes incoming documents into groups, called buckets, based on a specified expression and
bucket boundaries and outputs a document per each bucket.
|
Aggregator<T,R> |
Aggregator.bucket(Expr groupBy,
List<Expr> boundaries,
Expr preset,
Map<String,Expr> output) |
Aggregator<T,R> |
AggregatorImpl.bucketAuto(Expr groupBy,
int numBuckets,
Map<String,Expr> output,
Aggregator.BucketGranularity granularity) |
Aggregator<T,R> |
Aggregator.bucketAuto(Expr groupBy,
int numBuckets,
Map<String,Expr> output,
Aggregator.BucketGranularity granularity) |
Aggregator<T,R> |
AggregatorImpl.collation(Collation collation) |
Aggregator<T,R> |
Aggregator.collation(Collation collation) |
Aggregator<T,R> |
AggregatorImpl.collStats(Boolean latencyHistograms,
Double scale,
boolean count,
boolean queryExecStats) |
Aggregator<T,R> |
Aggregator.collStats(Boolean latencyHistograms,
Double scale,
boolean count,
boolean queryExecStats) |
Aggregator<T,R> |
AggregatorImpl.count(Enum fld) |
Aggregator<T,R> |
Aggregator.count(Enum fld) |
Aggregator<T,R> |
AggregatorImpl.count(String fld) |
Aggregator<T,R> |
Aggregator.count(String fld) |
<T,R> Aggregator<T,R> |
AggregatorFactoryImpl.createAggregator(Class<? extends T> type,
Class<? extends R> resultType) |
<T,R> Aggregator<T,R> |
AggregatorFactory.createAggregator(Class<? extends T> type,
Class<? extends R> resultType) |
Aggregator<T,R> |
AggregatorImpl.currentOp(boolean allUsers,
boolean idleConnections,
boolean idleCursors,
boolean idleSessions,
boolean localOps) |
Aggregator<T,R> |
Aggregator.currentOp(boolean allUsers,
boolean idleConnections,
boolean idleCursors,
boolean idleSessions,
boolean localOps) |
Aggregator<T,R> |
Group.end() |
Aggregator<T,R> |
AggregatorImpl.facet(Map<String,Aggregator> facets) |
Aggregator<T,R> |
Aggregator.facet(Map<String,Aggregator> pipeline) |
Aggregator<T,R> |
AggregatorImpl.facetExpr(Map<String,Expr> facets) |
Aggregator<T,R> |
Aggregator.facetExpr(Map<String,Expr> param) |
Aggregator<T,R> |
AggregatorImpl.genericStage(String stageName,
Object param) |
Aggregator<T,R> |
Aggregator.genericStage(String stageName,
Object param) |
Aggregator<T,R> |
AggregatorImpl.geoNear(Map<Aggregator.GeoNearFields,Object> param) |
Aggregator<T,R> |
Aggregator.geoNear(Map<Aggregator.GeoNearFields,Object> param) |
Aggregator<T,R> |
MorphiumAggregationIterator.getAggregator() |
Aggregator<T,R> |
AggregationIterator.getAggregator() |
Aggregator<T,R> |
AggregatorImpl.graphLookup(Class<?> type,
Expr startWith,
Enum connectFromField,
Enum connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
Aggregator.graphLookup(Class<?> fromType,
Expr startWith,
Enum connectFromField,
Enum connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
AggregatorImpl.graphLookup(Class<?> type,
Expr startWith,
String connectFromField,
String connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
Aggregator.graphLookup(Class<?> fromType,
Expr startWith,
String connectFromField,
String connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
AggregatorImpl.graphLookup(String fromCollection,
Expr startWith,
String connectFromField,
String connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
Aggregator.graphLookup(String fromCollection,
Expr startWith,
String connectFromField,
String connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
AggregatorImpl.indexStats() |
Aggregator<T,R> |
Aggregator.indexStats() |
Aggregator<T,R> |
AggregatorImpl.limit(int num) |
Aggregator<T,R> |
Aggregator.limit(int num) |
Aggregator<T,R> |
AggregatorImpl.listLocalSessions() |
Aggregator<T,R> |
Aggregator.listLocalSessions() |
Aggregator<T,R> |
AggregatorImpl.listLocalSessions(List<String> users,
List<String> dbs) |
Aggregator<T,R> |
Aggregator.listLocalSessions(List<String> users,
List<String> dbs) |
Aggregator<T,R> |
AggregatorImpl.listLocalSessionsAllUsers() |
Aggregator<T,R> |
Aggregator.listLocalSessionsAllUsers() |
Aggregator<T,R> |
AggregatorImpl.listSessions() |
Aggregator<T,R> |
Aggregator.listSessions() |
Aggregator<T,R> |
AggregatorImpl.listSessions(List<String> users,
List<String> dbs) |
Aggregator<T,R> |
Aggregator.listSessions(List<String> users,
List<String> dbs) |
Aggregator<T,R> |
AggregatorImpl.listSessionsAllUsers() |
Aggregator<T,R> |
Aggregator.listSessionsAllUsers() |
Aggregator<T,R> |
AggregatorImpl.lookup(Class fromType,
Enum localField,
Enum foreignField,
String outputArray,
List<Expr> pipeline,
Map<String,Expr> let)
$lookup:
{
from: ,
localField: ,
foreignField: ,
as:
|
Aggregator<T,R> |
Aggregator.lookup(Class fromType,
Enum localField,
Enum foreignField,
String outputArray,
List<Expr> pipeline,
Map<String,Expr> let) |
Aggregator<T,R> |
AggregatorImpl.lookup(String fromCollection,
String localField,
String foreignField,
String outputArray,
List<Expr> pipeline,
Map<String,Expr> let) |
Aggregator<T,R> |
Aggregator.lookup(String fromCollection,
String localField,
String foreignField,
String outputArray,
List<Expr> pipeline,
Map<String,Expr> let) |
Aggregator<T,R> |
AggregatorImpl.match(Expr q) |
Aggregator<T,R> |
Aggregator.match(Expr q) |
Aggregator<T,R> |
AggregatorImpl.match(Query<T> q) |
Aggregator<T,R> |
Aggregator.match(Query<T> q) |
Aggregator<T,R> |
AggregatorImpl.matchSubQuery(Query<?> q) |
Aggregator<T,R> |
Aggregator.matchSubQuery(Query<?> q) |
Aggregator<T,R> |
AggregatorImpl.merge(String intoCollection,
Map<String,Expr> let,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
Aggregator.merge(String intoCollection,
Map<String,Expr> let,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
AggregatorImpl.merge(String intoDb,
String intoCollection,
Map<String,Expr> let,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
Aggregator.merge(String intoDb,
String intoCollection,
Map<String,Expr> let,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
AggregatorImpl.out(String collectionName) |
Aggregator<T,R> |
Aggregator.out(String collection) |
Aggregator<T,R> |
AggregatorImpl.out(String db,
String collectionName) |
Aggregator<T,R> |
Aggregator.out(String db,
String collection) |
Aggregator<T,R> |
AggregatorImpl.planCacheStats(Map<String,Object> param) |
Aggregator<T,R> |
Aggregator.planCacheStats(Map<String,Object> param) |
Aggregator<T,R> |
AggregatorImpl.project(Map<String,Object> m) |
Aggregator<T,R> |
Aggregator.project(Map<String,Object> m) |
Aggregator<T,R> |
AggregatorImpl.project(String... m) |
Aggregator<T,R> |
Aggregator.project(String... m) |
Aggregator<T,R> |
AggregatorImpl.project(String fld,
Expr e) |
Aggregator<T,R> |
Aggregator.project(String fld,
Expr e) |
Aggregator<T,R> |
AggregatorImpl.redact(Expr redact)
redact needs to resolve to $$DESCEND, $$PRUNE, or $$KEEP
System Variable Description
$$DESCEND $redact returns the fields at the current document level, excluding embedded documents.
|
Aggregator<T,R> |
Aggregator.redact(Expr expr)
see https://docs.mongodb.com/manual/reference/operator/aggregation/redact/
|
Aggregator<T,R> |
AggregatorImpl.replaceRoot(Expr newRoot) |
Aggregator<T,R> |
Aggregator.replaceRoot(Expr newRoot) |
Aggregator<T,R> |
AggregatorImpl.replaceWith(Expr newDoc) |
Aggregator<T,R> |
Aggregator.replaceWith(Expr replacement)
Replaces the input document with the specified document.
|
Aggregator<T,R> |
AggregatorImpl.sample(int sampleSize) |
Aggregator<T,R> |
Aggregator.sample(int sampleSize)
Randomly selects the specified number of documents from its input.
|
Aggregator<T,R> |
AggregatorImpl.set(Map<String,Expr> param)
Adds new fields to documents.
|
Aggregator<T,R> |
Aggregator.set(Map<String,Expr> param) |
Aggregator<T,R> |
AggregatorImpl.skip(int num) |
Aggregator<T,R> |
Aggregator.skip(int num) |
Aggregator<T,R> |
AggregatorImpl.sort(Map<String,Integer> sort) |
Aggregator<T,R> |
Aggregator.sort(Map<String,Integer> sort) |
Aggregator<T,R> |
AggregatorImpl.sort(String... prefixed) |
Aggregator<T,R> |
Aggregator.sort(String... prefixed) |
Aggregator<T,R> |
AggregatorImpl.sortByCount(Expr sortby)
The $sortByCount stage is equivalent to the following $group + $sort sequence:
{ $group: { _id: , count: { $sum: 1 } } },
{ $sort: { count: -1 } }
|
Aggregator<T,R> |
Aggregator.sortByCount(Expr countBy) |
Aggregator<T,R> |
AggregatorImpl.unionWith(Aggregator agg) |
Aggregator<T,R> |
Aggregator.unionWith(Aggregator aggregator) |
Aggregator<T,R> |
AggregatorImpl.unionWith(String collection) |
Aggregator<T,R> |
Aggregator.unionWith(String collection) |
Aggregator<T,R> |
AggregatorImpl.unset(Enum... field) |
Aggregator<T,R> |
Aggregator.unset(Enum... field) |
Aggregator<T,R> |
AggregatorImpl.unset(List<String> field) |
Aggregator<T,R> |
Aggregator.unset(List<String> field) |
Aggregator<T,R> |
AggregatorImpl.unset(String... param) |
Aggregator<T,R> |
Aggregator.unset(String... param) |
Aggregator<T,R> |
AggregatorImpl.unwind(String listField) |
Aggregator<T,R> |
Aggregator.unwind(String listField) |