| Package | Description |
|---|---|
| de.caluga.morphium | |
| de.caluga.morphium.aggregation | |
| de.caluga.morphium.driver.inmem |
| Modifier and Type | Method and Description |
|---|---|
<T,R> Aggregator<T,R> |
Morphium.createAggregator(Class<? extends T> type,
Class<? extends R> resultType) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Aggregator> |
MorphiumConfig.getAggregatorClass() |
| Modifier and Type | Method and Description |
|---|---|
MorphiumConfig |
MorphiumConfig.setAggregatorClass(Class<? extends Aggregator> aggregatorClass) |
| Modifier and Type | Class and Description |
|---|---|
class |
AggregatorImpl<T,R>
User: Stephan Bösebeck
Date: 30.08.12
Time: 16:24
|
| Modifier and Type | Method and Description |
|---|---|
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:
|
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(Class<?> intoCollection) |
Aggregator<T,R> |
Aggregator.merge(Class<?> intoCollection) |
Aggregator<T,R> |
AggregatorImpl.merge(Class<?> intoCollection,
Map<String,Expr> let,
List<Map<String,Expr>> machedPipeline,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
Aggregator.merge(Class<?> intoCollection,
Map<String,Expr> let,
List<Map<String,Expr>> machedPipeline,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
AggregatorImpl.merge(String intoCollection) |
Aggregator<T,R> |
Aggregator.merge(String intoCollection) |
Aggregator<T,R> |
AggregatorImpl.merge(String intoCollection,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
Aggregator.merge(String intoCollection,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
AggregatorImpl.merge(String intoCollection,
Map<String,Expr> let,
List<Map<String,Expr>> machedPipeline,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
Aggregator.merge(String intoCollection,
Map<String,Expr> let,
List<Map<String,Expr>> machedPipeline,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
AggregatorImpl.merge(String intoDb,
String intoCollection) |
Aggregator<T,R> |
Aggregator.merge(String intoDb,
String intoCollection) |
Aggregator<T,R> |
AggregatorImpl.merge(String intoDb,
String intoCollection,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
Aggregator.merge(String intoDb,
String intoCollection,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
AggregatorImpl.out(Class<?> type) |
Aggregator<T,R> |
Aggregator.out(Class<?> type) |
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:
|
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(Expr listField) |
Aggregator<T,R> |
Aggregator.unwind(Expr listField) |
Aggregator<T,R> |
AggregatorImpl.unwind(String listField) |
Aggregator<T,R> |
Aggregator.unwind(String listField) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Aggregator> |
AggregatorFactoryImpl.getAggregatorClass() |
Class<? extends Aggregator> |
AggregatorFactory.getAggregatorClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
MorphiumAggregationIterator.setAggregator(Aggregator<T,R> aggregator) |
void |
AggregationIterator.setAggregator(Aggregator<T,R> aggregator) |
Aggregator<T,R> |
AggregatorImpl.unionWith(Aggregator agg) |
Aggregator<T,R> |
Aggregator.unionWith(Aggregator aggregator) |
| Modifier and Type | Method and Description |
|---|---|
Aggregator<T,R> |
AggregatorImpl.facet(Map<String,Aggregator> facets) |
Aggregator<T,R> |
Aggregator.facet(Map<String,Aggregator> pipeline) |
void |
AggregatorFactoryImpl.setAggregatorClass(Class<? extends Aggregator> AggregatorImpl) |
void |
AggregatorFactory.setAggregatorClass(Class<? extends Aggregator> AggregatorImpl) |
| Constructor and Description |
|---|
Group(Aggregator<T,R> ag,
Expr id) |
Group(Aggregator<T,R> ag,
Map<String,Object> id) |
Group(Aggregator<T,R> ag,
String id) |
| Constructor and Description |
|---|
AggregatorFactoryImpl(Class<? extends Aggregator> qi) |
| Modifier and Type | Class and Description |
|---|---|
class |
InMemAggregator<T,R> |
| Modifier and Type | Method and Description |
|---|---|
Aggregator<T,R> |
InMemAggregator.addFields(Map<String,Object> m) |
Aggregator<T,R> |
InMemAggregator.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> |
InMemAggregator.bucketAuto(Expr groupBy,
int numBuckets,
Map<String,Expr> output,
Aggregator.BucketGranularity granularity) |
Aggregator<T,R> |
InMemAggregator.collation(Collation collation) |
Aggregator<T,R> |
InMemAggregator.collStats(Boolean latencyHistograms,
Double scale,
boolean count,
boolean queryExecStats) |
Aggregator<T,R> |
InMemAggregator.count(Enum fld) |
Aggregator<T,R> |
InMemAggregator.count(String fld) |
<T,R> Aggregator<T,R> |
InMemAggregatorFactory.createAggregator(Class<? extends T> type,
Class<? extends R> resultType) |
Aggregator<T,R> |
InMemAggregator.currentOp(boolean allUsers,
boolean idleConnections,
boolean idleCursors,
boolean idleSessions,
boolean localOps) |
Aggregator<T,R> |
InMemAggregator.facet(Map<String,Aggregator> facets) |
Aggregator<T,R> |
InMemAggregator.facetExpr(Map<String,Expr> facets) |
Aggregator<T,R> |
InMemAggregator.genericStage(String stageName,
Object param) |
Aggregator<T,R> |
InMemAggregator.geoNear(Map<Aggregator.GeoNearFields,Object> param) |
Aggregator<T,R> |
InMemAggregator.graphLookup(Class<?> type,
Expr startWith,
Enum connectFromField,
Enum connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
InMemAggregator.graphLookup(Class<?> type,
Expr startWith,
String connectFromField,
String connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
InMemAggregator.graphLookup(String fromCollection,
Expr startWith,
String connectFromField,
String connectToField,
String as,
Integer maxDepth,
String depthField,
Query restrictSearchWithMatch) |
Aggregator<T,R> |
InMemAggregator.indexStats() |
Aggregator<T,R> |
InMemAggregator.limit(int num) |
Aggregator<T,R> |
InMemAggregator.listLocalSessions() |
Aggregator<T,R> |
InMemAggregator.listLocalSessions(List<String> users,
List<String> dbs) |
Aggregator<T,R> |
InMemAggregator.listLocalSessionsAllUsers() |
Aggregator<T,R> |
InMemAggregator.listSessions() |
Aggregator<T,R> |
InMemAggregator.listSessions(List<String> users,
List<String> dbs) |
Aggregator<T,R> |
InMemAggregator.listSessionsAllUsers() |
Aggregator<T,R> |
InMemAggregator.lookup(Class fromType,
Enum localField,
Enum foreignField,
String outputArray,
List<Expr> pipeline,
Map<String,Expr> let)
$lookup:
{
from:
|
Aggregator<T,R> |
InMemAggregator.lookup(String fromCollection,
String localField,
String foreignField,
String outputArray,
List<Expr> pipeline,
Map<String,Expr> let) |
Aggregator<T,R> |
InMemAggregator.match(Expr q) |
Aggregator<T,R> |
InMemAggregator.match(Query<T> q) |
Aggregator<T,R> |
InMemAggregator.matchSubQuery(Query<?> q) |
Aggregator<T,R> |
InMemAggregator.merge(Class<?> intoCollection) |
Aggregator<T,R> |
InMemAggregator.merge(Class<?> intoCollection,
Map<String,Expr> let,
List<Map<String,Expr>> machedPipeline,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
InMemAggregator.merge(String intoCollection) |
Aggregator<T,R> |
InMemAggregator.merge(String intoCollection,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
InMemAggregator.merge(String intoCollection,
Map<String,Expr> let,
List<Map<String,Expr>> machedPipeline,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
InMemAggregator.merge(String intoDb,
String intoCollection) |
Aggregator<T,R> |
InMemAggregator.merge(String intoDb,
String intoCollection,
Aggregator.MergeActionWhenMatched matchAction,
Aggregator.MergeActionWhenNotMatched notMatchedAction,
String... onFields) |
Aggregator<T,R> |
InMemAggregator.out(Class<?> type) |
Aggregator<T,R> |
InMemAggregator.out(String collectionName) |
Aggregator<T,R> |
InMemAggregator.out(String db,
String collectionName) |
Aggregator<T,R> |
InMemAggregator.planCacheStats(Map<String,Object> param) |
Aggregator<T,R> |
InMemAggregator.project(Map<String,Object> m) |
Aggregator<T,R> |
InMemAggregator.project(String... m) |
Aggregator<T,R> |
InMemAggregator.project(String fld,
Expr e) |
Aggregator<T,R> |
InMemAggregator.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> |
InMemAggregator.replaceRoot(Expr newRoot) |
Aggregator<T,R> |
InMemAggregator.replaceWith(Expr newDoc) |
Aggregator<T,R> |
InMemAggregator.sample(int sampleSize) |
Aggregator<T,R> |
InMemAggregator.set(Map<String,Expr> param)
Adds new fields to documents.
|
Aggregator<T,R> |
InMemAggregator.skip(int num) |
Aggregator<T,R> |
InMemAggregator.sort(Map<String,Integer> sort) |
Aggregator<T,R> |
InMemAggregator.sort(String... prefixed) |
Aggregator<T,R> |
InMemAggregator.sortByCount(Expr sortby)
The $sortByCount stage is equivalent to the following $group + $sort sequence:
{ $group: { _id:
|
Aggregator<T,R> |
InMemAggregator.unionWith(Aggregator agg) |
Aggregator<T,R> |
InMemAggregator.unionWith(String collection) |
Aggregator<T,R> |
InMemAggregator.unset(Enum... field) |
Aggregator<T,R> |
InMemAggregator.unset(List<String> field) |
Aggregator<T,R> |
InMemAggregator.unset(String... param) |
Aggregator<T,R> |
InMemAggregator.unwind(Expr field) |
Aggregator<T,R> |
InMemAggregator.unwind(String listField) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Aggregator> |
InMemAggregatorFactory.getAggregatorClass() |
| Modifier and Type | Method and Description |
|---|---|
Aggregator<T,R> |
InMemAggregator.unionWith(Aggregator agg) |
| Modifier and Type | Method and Description |
|---|---|
Aggregator<T,R> |
InMemAggregator.facet(Map<String,Aggregator> facets) |
void |
InMemAggregatorFactory.setAggregatorClass(Class<? extends Aggregator> aggregatorImpl) |
Copyright © 2022. All rights reserved.