Klasse Expr
java.lang.Object
de.caluga.morphium.aggregation.Expr
- Bekannte direkte Unterklassen:
Expr.ValueExpr
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic Exprstatic Exprstatic Expraccumulator(String initCode, Expr initArgs, String accumulateCode, Expr accArgs, String mergeCode, String finalizeCode) static Expraccumulator(String initCode, Expr initArgs, String accumulateCode, Expr accArgs, String mergeCode, String finalizeCode, String lang) static Expraccumulator(String initCode, String accumulateCode, Expr accArgs, String mergeCode) static Exprstatic Exprstatic Exprstatic Exprstatic ExprallElementsTrue(Expr... e) static Exprstatic ExpranyElementTrue(Expr... e) static ExprarrayElemAt(Expr array, Expr index) static Exprstatic ExprarrayToObject(Expr array) static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic ExprbinarySize(Expr e) static Exprbool(boolean v) static Exprstatic Exprstatic Exprstatic Exprstatic ExprconcatArrays(Expr... arrays) static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic ExprdateFromParts(Expr year) static ExprdateFromParts(Expr year, Expr month) static ExprdateFromParts(Expr year, Expr month, Expr day, Expr hour) static Exprstatic Exprstatic ExprdateFromParts(Expr year, Expr month, Expr day, Expr hour, Expr min, Expr sec, Expr ms, Expr timeZone) static Exprstatic ExprdateToParts(Expr date, Expr timezone, boolean iso8601) static ExprdateToString(Expr date, Expr format, Expr timezone, Expr onNull) static ExprdayOfMonth(Expr date) static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic ExprdoubleExpr(double d) static Exprstatic Exprabstract Objectstatic Exprstatic Exprstatic Exprreturning a hard coded field reference, better use field(Enum,Class, Morphium) instead!static Exprgenerate field mapping according to @entity settings in class/Morphium configstatic Exprreturning a hard-coded field referencestatic Exprstatic Exprstatic Exprstatic ExprConvenience method for $function with no argumentsstatic Exprstatic Exprstatic Expr$function operator for executing JavaScript code in aggregation pipeline Usage: function("function(arg1, arg2) { return arg1 + arg2; }", Arrays.asList(expr1, expr2))static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic ExprindexOfArray(Expr array, Expr search, Expr start, Expr end) static ExprindexOfBytes(Expr str, Expr substr, Expr start, Expr end) static Exprstatic ExprintExpr(int i) static Exprstatic Exprstatic ExprisoDateFromParts(Expr isoWeekYear) static ExprisoDateFromParts(Expr isoWeekYear, Expr isoWeek) static ExprisoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek) static ExprisoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour) static Exprstatic Exprstatic ExprisoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min, Expr sec, Expr ms) static ExprisoDateFromParts(Expr isoWeekYear, Expr isoWeek, Expr isoDayOfWeek, Expr hour, Expr min, Expr sec, Expr ms, Expr timeZone) static ExprisoDayOfWeek(Expr date) static Exprstatic ExprisoWeekYear(Expr date) static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic ExprmergeObjects(Expr doc) static ExprmergeObjects(Expr... docs) static Exprstatic Exprmillisecond(Expr date) static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprnow()static ExprnullExpr()static ExprobjectToArray(Expr obj) static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic ExprregexFindAll(Expr input, Expr regex, Expr options) static ExprregexMatch(Expr input, Expr regex, Expr options) static ExprreplaceAll(Expr input, Expr find, Expr replacement) static ExprreplaceOne(Expr input, Expr find, Expr replacement) static ExprreverseArray(Expr array) static Exprstatic Exprstatic Exprstatic ExprsetDifference(Expr e1, Expr e2) static Exprstatic ExprsetIntersection(Expr... e) static ExprsetIsSubset(Expr e1, Expr e2) static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic ExprstdDevSamp(Expr e) static ExprstdDevSamp(Expr... e) static Exprstrcasecmp(Expr e1, Expr e2) static Exprstatic ExprstrLenBytes(Expr str) static Exprstatic Exprstatic ExprsubstrBytes(Expr str, Expr index, Expr count) static Exprstatic Exprstatic Exprstatic Exprstatic ExprswitchExpr(Map<Expr, Expr> branches, Expr defaultCase) static Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic ExprtoObjectId(Expr e) abstract Objectstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Exprstatic Expr
-
Konstruktordetails
-
Expr
public Expr()
-
-
Methodendetails
-
toQueryObject
-
evaluate
-
parse
-
abs
-
date
-
now
-
field
-
field
-
field
-
mapExpr
-
add
-
doubleExpr
-
intExpr
-
bool
-
arrayExpr
-
string
-
ceil
-
divide
-
exp
-
floor
-
ln
-
log
-
log10
-
mod
-
multiply
-
pow
-
round
-
sqrt
-
subtract
-
trunc
-
arrayElemAt
-
arrayToObject
-
concatArrays
-
filter
-
first
-
in
-
indexOfArray
-
isArray
-
last
-
map
-
objectToArray
-
range
-
reverseArray
-
size
-
reduce
-
slice
-
slice
-
and
-
or
-
zip
-
not
-
cmp
-
eq
-
eq
-
ne
-
ne
-
gt
-
gt
-
lt
-
lt
-
gte
-
gte
-
lte
-
lte
-
cond
-
ifNull
-
switchExpr
-
binarySize
-
bsonSize
-
function
-
function
-
accumulator
-
accumulator
-
accumulator
-
accumulator
-
dayOfMonth
-
dayOfWeek
-
dateFromParts
-
dateFromParts
-
dateFromParts
-
dateFromParts
-
dateFromParts
-
dateFromParts
-
isoDateFromParts
-
isoDateFromParts
-
isoDateFromParts
-
isoDateFromParts
-
isoDateFromParts
-
isoDateFromParts
-
isoDateFromParts
-
isoDateFromParts
-
dateFromString
-
dateToParts
-
dateToString
-
dayOfYear
-
hour
-
isoDayOfWeek
-
isoWeek
-
isoWeekYear
-
millisecond
-
minute
-
month
-
second
-
toDate
-
week
-
year
-
literal
-
mergeObjects
-
mergeObjects
-
allElementsTrue
-
anyElementTrue
-
setDifference
-
setEquals
-
setIntersection
-
setIsSubset
-
setUnion
-
concat
-
indexOfBytes
-
indexOfCP
-
match
-
expr
-
ltrim
-
regex
-
regexFind
-
regexFindAll
-
project
-
split
-
strLenBytes
-
regexMatch
-
replaceOne
-
replaceAll
-
rtrim
-
strLenCP
-
strcasecmp
-
substr
-
substrBytes
-
substrCP
-
toLower
-
toStr
-
toUpper
-
meta
-
trim
-
sin
-
cos
-
tan
-
asin
-
acos
-
atan
-
atan2
-
asinh
-
acosh
-
atanh
-
degreesToRadian
-
radiansToDegrees
-
convert
-
isNumber
-
convert
-
convert
-
toBool
-
toDecimal
-
toDouble
-
toInt
-
toLong
-
toObjectId
-
type
-
nullExpr
-
addToSet
-
avg
-
avg
-
max
-
max
-
min
-
min
-
push
-
stdDevPop
-
stdDevPop
-
stdDevSamp
-
stdDevSamp
-
sum
-
sum
-
let
-
doc
-
function
-
function
-