Uses of Class
de.caluga.morphium.aggregation.Expr
-
Packages that use Expr Package Description de.caluga.morphium de.caluga.morphium.aggregation de.caluga.morphium.driver.inmem de.caluga.morphium.query -
-
Uses of Expr in de.caluga.morphium
Methods in de.caluga.morphium with parameters of type Expr Modifier and Type Method Description <T> Map<String,Object>Morphium. pull(Query<T> query, String field, Expr value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback)<T> Map<String,Object>Morphium. pull(T entity, String field, Expr value, boolean upsert, boolean multiple, AsyncOperationCallback<T> callback)Method parameters in de.caluga.morphium with type arguments of type Expr Modifier and Type Method Description static Map<String,Object>Utils. getQueryObjectMap(Map<String,Expr> exprMap) -
Uses of Expr in de.caluga.morphium.aggregation
Subclasses of Expr in de.caluga.morphium.aggregation Modifier and Type Class Description static classExpr.ValueExprMethods in de.caluga.morphium.aggregation that return Expr Modifier and Type Method Description static ExprExpr. abs(Expr e)static ExprExpr. accumulator(String initCode, Expr initArgs, String accumulateCode, Expr accArgs, String mergeCode)static ExprExpr. accumulator(String initCode, Expr initArgs, String accumulateCode, Expr accArgs, String mergeCode, String finalizeCode)static ExprExpr. accumulator(String initCode, Expr initArgs, String accumulateCode, Expr accArgs, String mergeCode, String finalizeCode, String lang)static ExprExpr. accumulator(String initCode, String accumulateCode, Expr accArgs, String mergeCode)static ExprExpr. acos(Expr e)static ExprExpr. acosh(Expr e)static ExprExpr. add(Expr... expr)static ExprExpr. addToSet(Expr e)static ExprExpr. allElementsTrue(Expr... e)static ExprExpr. and(Expr... expressions)static ExprExpr. anyElementTrue(Expr... e)static ExprExpr. arrayElemAt(Expr array, Expr index)static ExprExpr. arrayExpr(Expr... elem)static ExprExpr. arrayToObject(Expr array)static ExprExpr. asin(Expr e)static ExprExpr. asinh(Expr e)static ExprExpr. atan(Expr e)static ExprExpr. atan2(Expr e, Expr e2)static ExprExpr. atanh(Expr e1, Expr e2)static ExprExpr. avg(Expr e)static ExprExpr. avg(Expr... e)static ExprExpr. binarySize(Expr e)static ExprExpr. bool(boolean v)static ExprExpr. bsonSize(Expr e)static ExprExpr. ceil(Expr e)static ExprExpr. cmp(Expr e1, Expr e2)static ExprExpr. concat(Expr... e)static ExprExpr. concatArrays(Expr... arrays)static ExprExpr. cond(Expr condition, Expr caseTrue, Expr caseFalse)static ExprExpr. convert(Expr input, Expr to)static ExprExpr. convert(Expr input, Expr to, Expr onError)static ExprExpr. convert(Expr input, Expr to, Expr onError, Expr onNull)static ExprExpr. cos(Expr e)static ExprExpr. date(Date d)static ExprExpr. dateFromParts(Expr year)static ExprExpr. dateFromParts(Expr year, Expr month)static ExprExpr. dateFromParts(Expr year, Expr month, Expr day, Expr hour)static ExprExpr. dateFromParts(Expr year, Expr month, Expr day, Expr hour, Expr min, Expr sec)static ExprExpr. dateFromParts(Expr year, Expr month, Expr day, Expr hour, Expr min, Expr sec, Expr ms)static ExprExpr. dateFromParts(Expr year, Expr month, Expr day, Expr hour, Expr min, Expr sec, Expr ms, Expr timeZone)static ExprExpr. dateFromString(Expr dateString, Expr format, Expr timezone, Expr onError, Expr onNull)static ExprExpr. dateToParts(Expr date, Expr timezone, boolean iso8601)static ExprExpr. dateToString(Expr date, Expr format, Expr timezone, Expr onNull)static ExprExpr. dayOfMonth(Expr date)static ExprExpr. dayOfWeek(Expr date)static ExprExpr. dayOfYear(Expr date)static ExprExpr. degreesToRadian(Expr e)static ExprExpr. divide(Expr divident, Expr divisor)static ExprExpr. doc(Map<String,Object> document)static ExprExpr. doubleExpr(double d)static ExprExpr. eq(Expr e1)static ExprExpr. eq(Expr e1, Expr e2)static ExprExpr. exp(Expr e)static ExprExpr. expr(Expr expr)static ExprExpr. field(Enum field)returning a hard coded field reference, better use field(Enum,Class, Morphium) instead!static ExprExpr. field(Enum name, Class type, Morphium m)generate field mapping according to @entity settings in class/Morphium configstatic ExprExpr. field(String name)returning a hard-coded field referencestatic ExprExpr. filter(Expr inputArray, String as, Expr cond)static ExprExpr. first(Expr e)static ExprExpr. floor(Expr e)static ExprExpr. function(String code, Expr args)static ExprExpr. function(String code, Expr args, String lang)static ExprExpr. gt(Expr e1)static ExprExpr. gt(Expr e1, Expr e2)static ExprExpr. gte(Expr e1)static ExprExpr. gte(Expr e1, Expr e2)static ExprExpr. hour(Expr date)static ExprExpr. ifNull(Expr toCheck, Expr resultIfNull)static ExprExpr. in(Expr elem, Expr array)static ExprExpr. indexOfArray(Expr array, Expr search, Expr start, Expr end)static ExprExpr. indexOfBytes(Expr str, Expr substr, Expr start, Expr end)static ExprExpr. indexOfCP(Expr str, Expr substr, Expr start, Expr end)static ExprExpr. intExpr(int i)static ExprExpr. isArray(Expr array)static ExprExpr. isNumber(Expr e)static ExprExpr. isoDateFromParts(Expr isoWeekYear)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min, Expr sec)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min, Expr sec, Expr ms)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min, Expr sec, Expr ms, Expr timeZone)static ExprExpr. isoDayOfWeek(Expr date)static ExprExpr. isoWeek(Expr date)static ExprExpr. isoWeekYear(Expr date)static ExprExpr. last(Expr e)static ExprExpr. let(Map<String,Expr> vars, Expr in)static ExprExpr. literal(Expr e)static ExprExpr. ln(Expr e)static ExprExpr. log(Expr num, Expr base)static ExprExpr. log10(Expr e)static ExprExpr. lt(Expr e1)static ExprExpr. lt(Expr e1, Expr e2)static ExprExpr. lte(Expr e1)static ExprExpr. lte(Expr e1, Expr e2)static ExprExpr. ltrim(Expr str, Expr charsToTrim)static ExprExpr. map(Expr inputArray, Expr as, Expr in)static ExprExpr. mapExpr(Map<String,Expr> map)static ExprExpr. match(Expr expr)static ExprExpr. max(Expr e)static ExprExpr. max(Expr... e)static ExprExpr. mergeObjects(Expr doc)static ExprExpr. mergeObjects(Expr... docs)static ExprExpr. meta(String metaDataKeyword)static ExprExpr. millisecond(Expr date)static ExprExpr. min(Expr e)static ExprExpr. min(Expr... e)static ExprExpr. minute(Expr date)static ExprExpr. mod(Expr divident, Expr divisor)static ExprExpr. month(Expr date)static ExprExpr. multiply(Expr e1, Expr e2)static ExprExpr. ne(Expr e1)static ExprExpr. ne(Expr e1, Expr e2)static ExprExpr. not(Expr expression)static ExprExpr. now()static ExprExpr. nullExpr()static ExprExpr. objectToArray(Expr obj)static ExprExpr. or(Expr... expressions)static ExprExpr. parse(Object o)static ExprExpr. pow(Expr num, Expr exponent)static ExprExpr. project(Map<String,Expr> expr)static ExprExpr. push(Expr e)static ExprExpr. radiansToDegrees(Expr e)static ExprExpr. range(Expr start, Expr end, Expr step)static ExprExpr. reduce(Expr inputArray, Expr initValue, Expr in)static ExprExpr. regex(Expr field, Expr regex, Expr options)static ExprExpr. regexFind(Expr input, Expr regex, Expr options)static ExprExpr. regexFindAll(Expr input, Expr regex, Expr options)static ExprExpr. regexMatch(Expr input, Expr regex, Expr options)static ExprExpr. replaceAll(Expr input, Expr find, Expr replacement)static ExprExpr. replaceOne(Expr input, Expr find, Expr replacement)static ExprExpr. reverseArray(Expr array)static ExprExpr. round(Expr e)static ExprExpr. rtrim(Expr str, Expr charsToTrim)static ExprExpr. second(Expr date)static ExprExpr. setDifference(Expr e1, Expr e2)static ExprExpr. setEquals(Expr... e)static ExprExpr. setIntersection(Expr... e)static ExprExpr. setIsSubset(Expr e1, Expr e2)static ExprExpr. setUnion(Expr... e)static ExprExpr. sin(Expr e)static ExprExpr. size(Expr array)static ExprExpr. slice(Expr array, Expr n)static ExprExpr. slice(Expr array, Expr pos, Expr n)static ExprExpr. split(Expr str, Expr delimiter)static ExprExpr. sqrt(Expr e)static ExprExpr. stdDevPop(Expr e)static ExprExpr. stdDevPop(Expr... e)static ExprExpr. stdDevSamp(Expr e)static ExprExpr. stdDevSamp(Expr... e)static ExprExpr. strcasecmp(Expr e1, Expr e2)static ExprExpr. string(String str)static ExprExpr. strLenBytes(Expr str)static ExprExpr. strLenCP(Expr str)static ExprExpr. substr(Expr str, Expr start, Expr len)static ExprExpr. substrBytes(Expr str, Expr index, Expr count)static ExprExpr. substrCP(Expr str, Expr cpIdx, Expr cpCount)static ExprExpr. subtract(Expr e1, Expr e2)static ExprExpr. sum(Expr e)static ExprExpr. sum(Expr... e)static ExprExpr. switchExpr(Map<Expr,Expr> branches, Expr defaultCase)static ExprExpr. tan(Expr e)static ExprExpr. toBool(Expr e)static ExprExpr. toDate(Expr e)static ExprExpr. toDecimal(Expr e)static ExprExpr. toDouble(Expr e)static ExprExpr. toInt(Expr e)static ExprExpr. toLong(Expr e)static ExprExpr. toLower(Expr e)static ExprExpr. toObjectId(Expr e)static ExprExpr. toStr(Expr e)static ExprExpr. toUpper(Expr e)static ExprExpr. trim(Expr str, Expr charsToTrim)static ExprExpr. trunc(Expr num, Expr place)static ExprExpr. type(Expr e)static ExprExpr. week(Expr date)static ExprExpr. year(Expr date)static ExprExpr. zip(List<Expr> inputs, Expr useLongestLength, Expr defaults)Methods in de.caluga.morphium.aggregation with parameters of type Expr Modifier and Type Method Description static ExprExpr. abs(Expr e)static ExprExpr. accumulator(String initCode, Expr initArgs, String accumulateCode, Expr accArgs, String mergeCode)static ExprExpr. accumulator(String initCode, Expr initArgs, String accumulateCode, Expr accArgs, String mergeCode, String finalizeCode)static ExprExpr. accumulator(String initCode, Expr initArgs, String accumulateCode, Expr accArgs, String mergeCode, String finalizeCode, String lang)static ExprExpr. accumulator(String initCode, String accumulateCode, Expr accArgs, String mergeCode)static ExprExpr. acos(Expr e)static ExprExpr. acosh(Expr e)static ExprExpr. add(Expr... expr)static ExprExpr. addToSet(Expr e)static ExprExpr. allElementsTrue(Expr... e)static ExprExpr. and(Expr... expressions)static ExprExpr. anyElementTrue(Expr... e)static ExprExpr. arrayElemAt(Expr array, Expr index)static ExprExpr. arrayExpr(Expr... elem)static ExprExpr. arrayToObject(Expr array)static ExprExpr. asin(Expr e)static ExprExpr. asinh(Expr e)static ExprExpr. atan(Expr e)static ExprExpr. atan2(Expr e, Expr e2)static ExprExpr. atanh(Expr e1, Expr e2)static ExprExpr. avg(Expr e)static ExprExpr. avg(Expr... e)static ExprExpr. binarySize(Expr e)static ExprExpr. bsonSize(Expr e)Aggregator<T,R>Aggregator. bucket(Expr groupBy, List<Expr> boundaries, Expr preset, Map<String,Expr> output)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. bucketAuto(Expr groupBy, int numBuckets, Map<String,Expr> output, Aggregator.BucketGranularity granularity)Aggregator<T,R>AggregatorImpl. bucketAuto(Expr groupBy, int numBuckets, Map<String,Expr> output, Aggregator.BucketGranularity granularity)static ExprExpr. ceil(Expr e)static ExprExpr. cmp(Expr e1, Expr e2)static ExprExpr. concat(Expr... e)static ExprExpr. concatArrays(Expr... arrays)static ExprExpr. cond(Expr condition, Expr caseTrue, Expr caseFalse)static ExprExpr. convert(Expr input, Expr to)static ExprExpr. convert(Expr input, Expr to, Expr onError)static ExprExpr. convert(Expr input, Expr to, Expr onError, Expr onNull)static ExprExpr. cos(Expr e)static ExprExpr. dateFromParts(Expr year)static ExprExpr. dateFromParts(Expr year, Expr month)static ExprExpr. dateFromParts(Expr year, Expr month, Expr day, Expr hour)static ExprExpr. dateFromParts(Expr year, Expr month, Expr day, Expr hour, Expr min, Expr sec)static ExprExpr. dateFromParts(Expr year, Expr month, Expr day, Expr hour, Expr min, Expr sec, Expr ms)static ExprExpr. dateFromParts(Expr year, Expr month, Expr day, Expr hour, Expr min, Expr sec, Expr ms, Expr timeZone)static ExprExpr. dateFromString(Expr dateString, Expr format, Expr timezone, Expr onError, Expr onNull)static ExprExpr. dateToParts(Expr date, Expr timezone, boolean iso8601)static ExprExpr. dateToString(Expr date, Expr format, Expr timezone, Expr onNull)static ExprExpr. dayOfMonth(Expr date)static ExprExpr. dayOfWeek(Expr date)static ExprExpr. dayOfYear(Expr date)static ExprExpr. degreesToRadian(Expr e)static ExprExpr. divide(Expr divident, Expr divisor)static ExprExpr. eq(Expr e1)static ExprExpr. eq(Expr e1, Expr e2)static ExprExpr. exp(Expr e)static ExprExpr. expr(Expr expr)Group<T,R>Group. expr(String fld, Expr e)static ExprExpr. filter(Expr inputArray, String as, Expr cond)static ExprExpr. first(Expr e)static ExprExpr. floor(Expr e)static ExprExpr. function(String code, Expr args)static ExprExpr. function(String code, Expr args, String lang)Aggregator<T,R>Aggregator. graphLookup(Class<?> fromType, Expr startWith, Enum connectFromField, Enum 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>Aggregator. graphLookup(String fromCollection, Expr startWith, String connectFromField, String connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch)Aggregator<T,R>AggregatorImpl. graphLookup(Class<?> type, 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>AggregatorImpl. graphLookup(String fromCollection, Expr startWith, String connectFromField, String connectToField, String as, Integer maxDepth, String depthField, Query restrictSearchWithMatch)Group<T,R>Aggregator. group(Expr id)Group<T,R>AggregatorImpl. group(Expr id)static ExprExpr. gt(Expr e1)static ExprExpr. gt(Expr e1, Expr e2)static ExprExpr. gte(Expr e1)static ExprExpr. gte(Expr e1, Expr e2)static ExprExpr. hour(Expr date)static ExprExpr. ifNull(Expr toCheck, Expr resultIfNull)static ExprExpr. in(Expr elem, Expr array)static ExprExpr. indexOfArray(Expr array, Expr search, Expr start, Expr end)static ExprExpr. indexOfBytes(Expr str, Expr substr, Expr start, Expr end)static ExprExpr. indexOfCP(Expr str, Expr substr, Expr start, Expr end)static ExprExpr. isArray(Expr array)static ExprExpr. isNumber(Expr e)static ExprExpr. isoDateFromParts(Expr isoWeekYear)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min, Expr sec)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min, Expr sec, Expr ms)static ExprExpr. isoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min, Expr sec, Expr ms, Expr timeZone)static ExprExpr. isoDayOfWeek(Expr date)static ExprExpr. isoWeek(Expr date)static ExprExpr. isoWeekYear(Expr date)static ExprExpr. last(Expr e)static ExprExpr. let(Map<String,Expr> vars, Expr in)static ExprExpr. literal(Expr e)static ExprExpr. ln(Expr e)static ExprExpr. log(Expr num, Expr base)static ExprExpr. log10(Expr e)static ExprExpr. lt(Expr e1)static ExprExpr. lt(Expr e1, Expr e2)static ExprExpr. lte(Expr e1)static ExprExpr. lte(Expr e1, Expr e2)static ExprExpr. ltrim(Expr str, Expr charsToTrim)static ExprExpr. map(Expr inputArray, Expr as, Expr in)Aggregator<T,R>Aggregator. match(Expr q)Aggregator<T,R>AggregatorImpl. match(Expr q)static ExprExpr. match(Expr expr)static ExprExpr. max(Expr e)static ExprExpr. max(Expr... e)static ExprExpr. mergeObjects(Expr doc)static ExprExpr. mergeObjects(Expr... docs)static ExprExpr. millisecond(Expr date)static ExprExpr. min(Expr e)static ExprExpr. min(Expr... e)static ExprExpr. minute(Expr date)static ExprExpr. mod(Expr divident, Expr divisor)static ExprExpr. month(Expr date)static ExprExpr. multiply(Expr e1, Expr e2)static ExprExpr. ne(Expr e1)static ExprExpr. ne(Expr e1, Expr e2)static ExprExpr. not(Expr expression)static ExprExpr. objectToArray(Expr obj)static ExprExpr. or(Expr... expressions)static ExprExpr. pow(Expr num, Expr exponent)Aggregator<T,R>Aggregator. project(String fld, Expr e)Aggregator<T,R>AggregatorImpl. project(String fld, Expr e)static ExprExpr. push(Expr e)static ExprExpr. radiansToDegrees(Expr e)static ExprExpr. range(Expr start, Expr end, Expr step)Aggregator<T,R>Aggregator. redact(Expr expr)see https://docs.mongodb.com/manual/reference/operator/aggregation/redact/Aggregator<T,R>AggregatorImpl. redact(Expr redact)redact needs to resolve to $$DESCEND, $$PRUNE, or $$KEEPstatic ExprExpr. reduce(Expr inputArray, Expr initValue, Expr in)static ExprExpr. regex(Expr field, Expr regex, Expr options)static ExprExpr. regexFind(Expr input, Expr regex, Expr options)static ExprExpr. regexFindAll(Expr input, Expr regex, Expr options)static ExprExpr. regexMatch(Expr input, Expr regex, Expr options)static ExprExpr. replaceAll(Expr input, Expr find, Expr replacement)static ExprExpr. replaceOne(Expr input, Expr find, Expr replacement)Aggregator<T,R>Aggregator. replaceRoot(Expr newRoot)Aggregator<T,R>AggregatorImpl. replaceRoot(Expr newRoot)Aggregator<T,R>Aggregator. replaceWith(Expr replacement)Replaces the input document with the specified document.Aggregator<T,R>AggregatorImpl. replaceWith(Expr newDoc)static ExprExpr. reverseArray(Expr array)static ExprExpr. round(Expr e)static ExprExpr. rtrim(Expr str, Expr charsToTrim)static ExprExpr. second(Expr date)static ExprExpr. setDifference(Expr e1, Expr e2)static ExprExpr. setEquals(Expr... e)static ExprExpr. setIntersection(Expr... e)static ExprExpr. setIsSubset(Expr e1, Expr e2)static ExprExpr. setUnion(Expr... e)static ExprExpr. sin(Expr e)static ExprExpr. size(Expr array)static ExprExpr. slice(Expr array, Expr n)static ExprExpr. slice(Expr array, Expr pos, Expr n)Aggregator<T,R>Aggregator. sortByCount(Expr countBy)Aggregator<T,R>AggregatorImpl. sortByCount(Expr sortby)The $sortByCount stage is equivalent to the following $group + $sort sequence:static ExprExpr. split(Expr str, Expr delimiter)static ExprExpr. sqrt(Expr e)static ExprExpr. stdDevPop(Expr e)static ExprExpr. stdDevPop(Expr... e)static ExprExpr. stdDevSamp(Expr e)static ExprExpr. stdDevSamp(Expr... e)static ExprExpr. strcasecmp(Expr e1, Expr e2)static ExprExpr. strLenBytes(Expr str)static ExprExpr. strLenCP(Expr str)static ExprExpr. substr(Expr str, Expr start, Expr len)static ExprExpr. substrBytes(Expr str, Expr index, Expr count)static ExprExpr. substrCP(Expr str, Expr cpIdx, Expr cpCount)static ExprExpr. subtract(Expr e1, Expr e2)static ExprExpr. sum(Expr e)static ExprExpr. sum(Expr... e)static ExprExpr. switchExpr(Map<Expr,Expr> branches, Expr defaultCase)static ExprExpr. tan(Expr e)static ExprExpr. toBool(Expr e)static ExprExpr. toDate(Expr e)static ExprExpr. toDecimal(Expr e)static ExprExpr. toDouble(Expr e)static ExprExpr. toInt(Expr e)static ExprExpr. toLong(Expr e)static ExprExpr. toLower(Expr e)static ExprExpr. toObjectId(Expr e)static ExprExpr. toStr(Expr e)static ExprExpr. toUpper(Expr e)static ExprExpr. trim(Expr str, Expr charsToTrim)static ExprExpr. trunc(Expr num, Expr place)static ExprExpr. type(Expr e)Aggregator<T,R>Aggregator. unwind(Expr listField)Aggregator<T,R>AggregatorImpl. unwind(Expr listField)static ExprExpr. week(Expr date)static ExprExpr. year(Expr date)static ExprExpr. zip(List<Expr> inputs, Expr useLongestLength, Expr defaults)Method parameters in de.caluga.morphium.aggregation with type arguments of type Expr Modifier and Type Method Description Aggregator<T,R>Aggregator. bucket(Expr groupBy, List<Expr> boundaries, Expr preset, Map<String,Expr> output)Aggregator<T,R>Aggregator. bucket(Expr groupBy, List<Expr> boundaries, Expr preset, Map<String,Expr> output)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>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. bucketAuto(Expr groupBy, int numBuckets, Map<String,Expr> output, Aggregator.BucketGranularity granularity)Aggregator<T,R>AggregatorImpl. bucketAuto(Expr groupBy, int numBuckets, Map<String,Expr> output, Aggregator.BucketGranularity granularity)Aggregator<T,R>Aggregator. facetExpr(Map<String,Expr> param)Aggregator<T,R>AggregatorImpl. facetExpr(Map<String,Expr> facets)static ExprExpr. let(Map<String,Expr> vars, Expr in)Aggregator<T,R>Aggregator. lookup(Class fromType, Enum localField, Enum foreignField, String outputArray, List<Expr> pipeline, Map<String,Expr> let)Aggregator<T,R>Aggregator. lookup(Class fromType, Enum localField, Enum 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>Aggregator. lookup(String fromCollection, String localField, String foreignField, String outputArray, List<Expr> pipeline, Map<String,Expr> let)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>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>AggregatorImpl. lookup(String fromCollection, String localField, String 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)static ExprExpr. mapExpr(Map<String,Expr> map)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>Aggregator. 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(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(Class<?> intoCollection, Map<String,Expr> let, List<Map<String,Expr>> machedPipeline, Aggregator.MergeActionWhenMatched matchAction, Aggregator.MergeActionWhenNotMatched notMatchedAction, String... onFields)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>AggregatorImpl. merge(String intoCollection, Map<String,Expr> let, List<Map<String,Expr>> machedPipeline, 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)static ExprExpr. project(Map<String,Expr> expr)Aggregator<T,R>Aggregator. set(Map<String,Expr> param)Aggregator<T,R>AggregatorImpl. set(Map<String,Expr> param)Adds new fields to documents.static ExprExpr. switchExpr(Map<Expr,Expr> branches, Expr defaultCase)static ExprExpr. switchExpr(Map<Expr,Expr> branches, Expr defaultCase)static ExprExpr. zip(List<Expr> inputs, Expr useLongestLength, Expr defaults)Constructors in de.caluga.morphium.aggregation with parameters of type Expr Constructor Description Group(Aggregator<T,R> ag, Expr id) -
Uses of Expr in de.caluga.morphium.driver.inmem
Methods in de.caluga.morphium.driver.inmem with parameters of type Expr Modifier and Type Method Description 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. 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)Group<T,R>InMemAggregator. group(Expr id)Aggregator<T,R>InMemAggregator. match(Expr q)Aggregator<T,R>InMemAggregator. project(String fld, Expr e)Aggregator<T,R>InMemAggregator. redact(Expr redact)redact needs to resolve to $$DESCEND, $$PRUNE, or $$KEEPAggregator<T,R>InMemAggregator. replaceRoot(Expr newRoot)Aggregator<T,R>InMemAggregator. replaceWith(Expr newDoc)Aggregator<T,R>InMemAggregator. sortByCount(Expr sortby)The $sortByCount stage is equivalent to the following $group + $sort sequence:Aggregator<T,R>InMemAggregator. unwind(Expr field)Method parameters in de.caluga.morphium.driver.inmem with type arguments of type Expr Modifier and Type Method Description 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. 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. facetExpr(Map<String,Expr> facets)Aggregator<T,R>InMemAggregator. lookup(Class fromType, Enum localField, Enum foreignField, String outputArray, List<Expr> pipeline, Map<String,Expr> let)$lookup: { from:, localField: , foreignField: , as: Aggregator<T,R>InMemAggregator. lookup(Class fromType, Enum localField, Enum foreignField, String outputArray, List<Expr> pipeline, Map<String,Expr> let)$lookup: { from:, localField: , foreignField: , as: Aggregator<T,R>InMemAggregator. lookup(String fromCollection, String localField, String foreignField, String outputArray, List<Expr> pipeline, Map<String,Expr> let)Aggregator<T,R>InMemAggregator. lookup(String fromCollection, String localField, String foreignField, String outputArray, List<Expr> pipeline, Map<String,Expr> let)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(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, Map<String,Expr> let, List<Map<String,Expr>> machedPipeline, 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. set(Map<String,Expr> param)Adds new fields to documents. -
Uses of Expr in de.caluga.morphium.query
Methods in de.caluga.morphium.query with parameters of type Expr Modifier and Type Method Description Query<T>Query. expr(Expr exp)voidQuery. pull(Enum field, Expr value)voidQuery. pull(Enum field, Expr value, boolean upsert, boolean multiple)voidQuery. pull(Enum field, Expr value, boolean upsert, boolean multiple, AsyncOperationCallback<T> cb)
-