Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
AggregationExpression |
AggregationFunctionExpressions.of(Object... parameters)
Deprecated.
Returns an
AggregationExpression build from the current Enum name and the given parameters. |
Modifier and Type | Method and Description |
---|---|
static ArithmeticOperators.Abs |
ArithmeticOperators.Abs.absoluteValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Abs . |
ArithmeticOperators.Add |
ArithmeticOperators.ArithmeticOperatorFactory.add(AggregationExpression expression)
Creates new
AggregationExpression that adds the resulting value of the given
AggregationExpression to the associated number. |
ArithmeticOperators.Add |
ArithmeticOperators.Add.add(AggregationExpression expression)
Add the evaluation result of the given
AggregationExpression . |
AccumulatorOperators.Sum |
AccumulatorOperators.Sum.and(AggregationExpression expression)
Creates new
AccumulatorOperators.Sum with all previously added arguments appending the given one. |
AccumulatorOperators.Avg |
AccumulatorOperators.Avg.and(AggregationExpression expression)
Creates new
AccumulatorOperators.Avg with all previously added arguments appending the given one. |
AccumulatorOperators.Max |
AccumulatorOperators.Max.and(AggregationExpression expression)
Creates new
AccumulatorOperators.Max with all previously added arguments appending the given one. |
AccumulatorOperators.Min |
AccumulatorOperators.Min.and(AggregationExpression expression)
Creates new
AccumulatorOperators.Min with all previously added arguments appending the given one. |
AccumulatorOperators.StdDevPop |
AccumulatorOperators.StdDevPop.and(AggregationExpression expression)
Creates new
AccumulatorOperators.StdDevSamp with all previously added arguments appending the given one. |
AccumulatorOperators.StdDevSamp |
AccumulatorOperators.StdDevSamp.and(AggregationExpression expression)
Creates new
AccumulatorOperators.StdDevSamp with all previously added arguments appending the given one. |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.and(AggregationExpression expression) |
ProjectionOperation.ArrayProjectionOperationBuilder |
ProjectionOperation.ArrayProjectionOperationBuilder.and(AggregationExpression expression)
Creates a new
ProjectionOperation.ArrayProjectionOperationBuilder with the current Projection s and the given one. |
BooleanOperators.And |
BooleanOperators.BooleanOperatorFactory.and(AggregationExpression expression)
Creates new
AggregationExpression that evaluates one or more expressions and returns true if
all of the expressions are true. |
VariableOperators.Map |
VariableOperators.Map.FunctionBuilder.andApply(AggregationExpression expression)
Creates new
VariableOperators.Map that applies the given AggregationExpression to each item of the referenced
array and returns an array with the applied results. |
VariableOperators.Let |
VariableOperators.Let.LetBuilder.andApply(AggregationExpression expression)
Define the
AggregationExpression to evaluate. |
BooleanOperators.And |
BooleanOperators.And.andExpression(AggregationExpression expression)
Creates new
BooleanOperators.And with all previously added arguments appending the given one. |
abstract B |
BucketOperationSupport.andOutput(AggregationExpression expression)
Creates a new
BucketOperationSupport given an AggregationExpression to add an output field to the
resulting bucket documents. |
BucketOperation.BucketOperationOutputBuilder |
BucketOperation.andOutput(AggregationExpression expression) |
BucketAutoOperation.BucketAutoOperationOutputBuilder |
BucketAutoOperation.andOutput(AggregationExpression expression) |
static SetOperators.SetOperatorFactory |
SetOperators.arrayAsSet(AggregationExpression expression)
Take the array resulting from the given
AggregationExpression . |
static SetOperators.SetEquals |
SetOperators.SetEquals.arrayAsSet(AggregationExpression expression)
Create new
SetOperators.SetEquals . |
static SetOperators.SetIntersection |
SetOperators.SetIntersection.arrayAsSet(AggregationExpression expression)
Creates new
SetOperators.SetIntersection . |
static SetOperators.SetUnion |
SetOperators.SetUnion.arrayAsSet(AggregationExpression expression)
Creates new
SetOperators.SetUnion . |
static SetOperators.SetDifference |
SetOperators.SetDifference.arrayAsSet(AggregationExpression expression)
Creates new
SetOperators.SetDifference . |
static SetOperators.SetIsSubset |
SetOperators.SetIsSubset.arrayAsSet(AggregationExpression expression)
Creates new
SetOperators.SetIsSubset . |
static SetOperators.AnyElementTrue |
SetOperators.AnyElementTrue.arrayAsSet(AggregationExpression expression)
Creates new
SetOperators.AnyElementTrue . |
static SetOperators.AllElementsTrue |
SetOperators.AllElementsTrue.arrayAsSet(AggregationExpression expression)
Creates new
SetOperators.AllElementsTrue . |
static ArrayOperators.ArrayOperatorFactory |
ArrayOperators.arrayOf(AggregationExpression expression)
Take the array referenced resulting from the given
AggregationExpression . |
static ArrayOperators.ArrayElemAt |
ArrayOperators.ArrayElemAt.arrayOf(AggregationExpression expression)
Creates new
ArrayOperators.ArrayElemAt . |
static ArrayOperators.ConcatArrays |
ArrayOperators.ConcatArrays.arrayOf(AggregationExpression expression)
Creates new
ArrayOperators.ConcatArrays . |
static ArrayOperators.IndexOfArray.IndexOfArrayBuilder |
ArrayOperators.IndexOfArray.arrayOf(AggregationExpression expression)
Start creating new
ArrayOperators.IndexOfArray . |
static ArrayOperators.Reduce.InitialValueBuilder |
ArrayOperators.Reduce.arrayOf(AggregationExpression arrayValueExpression)
Start creating new
ArrayOperators.Reduce . |
static ArrayOperators.Zip.ZipBuilder |
ArrayOperators.Zip.arrayOf(AggregationExpression expression)
Start creating new
ArrayOperators.Zip . |
static ArrayOperators.In.InBuilder |
ArrayOperators.In.arrayOf(AggregationExpression expression)
Start creating
ArrayOperators.In . |
static ArrayOperators.ArrayToObject |
ArrayOperators.ArrayToObject.arrayValueOfToObject(AggregationExpression expression)
Converts the result array of the given
expression to an object. |
GroupOperation.GroupOperationBuilder |
GroupOperation.avg(AggregationExpression expr)
Generates an
GroupOperation.GroupOperationBuilder for an $avg -expression for the given
AggregationExpression . |
static AccumulatorOperators.Avg |
AccumulatorOperators.Avg.avgOf(AggregationExpression expression)
Creates new
AccumulatorOperators.Avg . |
static BucketOperation |
Aggregation.bucket(AggregationExpression groupByExpression)
Creates a new
BucketOperation given group-by expression . |
static BucketAutoOperation |
Aggregation.bucketAuto(AggregationExpression groupByExpression,
int buckets)
Creates a new
BucketAutoOperation given group-by expression . |
ArrayOperators.Filter |
ArrayOperators.Filter.ConditionBuilder.by(AggregationExpression expression)
Set the
AggregationExpression that determines whether to include the element in the resulting array. |
static ArithmeticOperators.Ceil |
ArithmeticOperators.Ceil.ceilValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Ceil . |
StringOperators.Trim |
StringOperators.Trim.charsOf(AggregationExpression expression)
Optional specify the
AggregationExpression evaluating to the character sequence to trim from the
beginning. |
StringOperators.LTrim |
StringOperators.LTrim.charsOf(AggregationExpression expression)
Optional specify the
AggregationExpression evaluating to the character sequence to trim from the
beginning. |
StringOperators.RTrim |
StringOperators.RTrim.charsOf(AggregationExpression expression)
Optional specify the
AggregationExpression evaluating to the character sequence to trim from the end. |
ComparisonOperators.Cmp |
ComparisonOperators.ComparisonOperatorFactory.compareTo(AggregationExpression expression)
Creates new
AggregationExpression that compares two values. |
ComparisonOperators.Cmp |
ComparisonOperators.Cmp.compareTo(AggregationExpression expression)
Creates new
ComparisonOperators.Cmp with all previously added arguments appending the given one. |
ArrayOperators.ConcatArrays |
ArrayOperators.ArrayOperatorFactory.concat(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated array and concats the array resulting form
the given expression to it. |
ArrayOperators.ConcatArrays |
ArrayOperators.ConcatArrays.concat(AggregationExpression expression)
Concat with the array resulting from the given
AggregationExpression . |
StringOperators.Concat |
StringOperators.StringOperatorFactory.concatValueOf(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated string representation and concats the result
of the given AggregationExpression to it. |
StringOperators.Concat |
StringOperators.Concat.concatValueOf(AggregationExpression expression)
Concat the value resulting from the given
AggregationExpression . |
ConvertOperators.Convert |
ConvertOperators.ConvertOperatorFactory.convertToTypeOf(AggregationExpression expression)
Creates new
aggregation expression that takes the associated value and converts it into the type
specified by the given expression . |
static ConvertOperators.Convert |
ConvertOperators.Convert.convertValueOf(AggregationExpression expression)
Creates new
ConvertOperators.Convert using the result of the provided expression as
input value. |
static DateOperators.DateOperatorFactory |
DateOperators.dateOf(AggregationExpression expression)
Take the date resulting from the given
AggregationExpression . |
static DateOperators.DateToString.FormatBuilder |
DateOperators.DateToString.dateOf(AggregationExpression expression)
Creates new
DateOperators.DateToString.FormatBuilder allowing to define the date format to apply. |
static DateOperators.DateToParts |
DateOperators.DateToParts.datePartsOf(AggregationExpression expression)
Creates new
DateOperators.DateToParts . |
DateOperators.DateFromParts |
DateOperators.DateFromParts.dayOf(AggregationExpression expression)
Set the day to the result of the given
expression . |
static DateOperators.DayOfMonth |
DateOperators.DayOfMonth.dayOfMonth(AggregationExpression expression)
Creates new
DateOperators.DayOfMonth . |
static DateOperators.DayOfWeek |
DateOperators.DayOfWeek.dayOfWeek(AggregationExpression expression)
Creates new
DateOperators.DayOfWeek . |
static DateOperators.DayOfYear |
DateOperators.DayOfYear.dayOfYear(AggregationExpression expression)
Creates new
DateOperators.DayOfYear . |
ArrayOperators.Zip |
ArrayOperators.Zip.defaultTo(AggregationExpression expression)
Optionally provide a default value.
|
ArrayOperators.Reduce.PropertyExpression |
ArrayOperators.Reduce.PropertyExpression.AsBuilder.definedAs(AggregationExpression expression)
Set the
AggregationExpression resulting in the properties value. |
SetOperators.SetDifference |
SetOperators.SetOperatorFactory.differenceTo(AggregationExpression expression)
Creates new
AggregationExpression that takes array of the previously mentioned field and returns an array
containing the elements that do not exist in the given AggregationExpression . |
SetOperators.SetDifference |
SetOperators.SetDifference.differenceTo(AggregationExpression expression)
Creates new
SetOperators.SetDifference with all previously added arguments appending the given one. |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.divide(AggregationExpression expression)
Generates an
$divide expression that divides the value of the previously mentioned by the result of the
AggregationExpression . |
ArithmeticOperators.Divide |
ArithmeticOperators.ArithmeticOperatorFactory.divideBy(AggregationExpression expression)
Creates new
AggregationExpression that divides the associated number by number extracted via
expression. |
ArithmeticOperators.Divide |
ArithmeticOperators.Divide.divideBy(AggregationExpression expression)
Divide by the evaluation results of the given
AggregationExpression . |
ArrayOperators.ArrayElemAt |
ArrayOperators.ArrayOperatorFactory.elementAt(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated array and returns the element at the position
resulting form the given expression. |
ArrayOperators.ArrayElemAt |
ArrayOperators.ArrayElemAt.elementAt(AggregationExpression expression)
Use the element at the index number evaluated from the given
AggregationExpression . |
ComparisonOperators.Eq |
ComparisonOperators.ComparisonOperatorFactory.equalTo(AggregationExpression expression)
Creates new
AggregationExpression that compares two values and returns true when the first
value is equal to the expression result. |
ComparisonOperators.Eq |
ComparisonOperators.Eq.equalTo(AggregationExpression expression)
Creates new
ComparisonOperators.Eq with all previously added arguments appending the given one. |
static ArithmeticOperators.Exp |
ArithmeticOperators.Exp.expValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Exp . |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.filter(String as,
AggregationExpression condition)
Generates a
$filter expression that returns a subset of the array held by the given field. |
GroupOperation.GroupOperationBuilder |
GroupOperation.first(AggregationExpression expr)
Generates an
GroupOperation.GroupOperationBuilder for a $first -expression for the given
AggregationExpression . |
static ArithmeticOperators.Floor |
ArithmeticOperators.Floor.floorValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Floor . |
VariableOperators.Let.ExpressionVariable |
VariableOperators.Let.ExpressionVariable.forExpression(AggregationExpression expression)
Create a new
VariableOperators.Let.ExpressionVariable with current name and given expression. |
static DateOperators.DateFromString |
DateOperators.DateFromString.fromStringOf(AggregationExpression expression)
Creates new
DateOperators.DateFromString . |
ComparisonOperators.Gt |
ComparisonOperators.ComparisonOperatorFactory.greaterThan(AggregationExpression expression)
Creates new
AggregationExpression that compares two values and returns true when the first
value is greater than the expression result. |
ComparisonOperators.Gt |
ComparisonOperators.Gt.greaterThan(AggregationExpression expression)
Creates new
ComparisonOperators.Gt with all previously added arguments appending the given one. |
ComparisonOperators.Gte |
ComparisonOperators.ComparisonOperatorFactory.greaterThanEqualTo(AggregationExpression expression)
Creates new
AggregationExpression that compares two values and returns true when the first
value is greater than or equivalent to the expression result. |
ComparisonOperators.Gte |
ComparisonOperators.Gte.greaterThanEqualTo(AggregationExpression expression)
Creates new
ComparisonOperators.Gte with all previously added arguments appending the given one. |
static DateOperators.Hour |
DateOperators.Hour.hourOf(AggregationExpression expression)
Creates new
DateOperators.Hour . |
default T |
DateOperators.DateParts.hourOf(AggregationExpression expression)
Set the hour to the result of the given
expression . |
static ConditionalOperators.IfNull.ThenBuilder |
ConditionalOperators.ifNull(AggregationExpression expression)
Creates new
AggregationExpression that evaluates an expression and returns the value of the expression if
the expression evaluates to a non-null value. |
static ConditionalOperators.IfNull.ThenBuilder |
ConditionalOperators.IfNull.ifNull(AggregationExpression expression)
Creates new
ConditionalOperators.IfNull . |
ConditionalOperators.IfNull.ThenBuilder |
ConditionalOperators.IfNull.IfNullBuilder.ifNull(AggregationExpression expression) |
StringOperators.IndexOfBytes |
StringOperators.StringOperatorFactory.indexOf(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated string representation and searches a string
for an occurrence of a substring resulting from the given AggregationExpression and returns the UTF-8
byte index (zero-based) of the first occurrence. |
StringOperators.IndexOfBytes |
StringOperators.IndexOfBytes.SubstringBuilder.indexOf(AggregationExpression expression)
Creates a new
StringOperators.IndexOfBytes given AggregationExpression that resolves to the substring. |
StringOperators.IndexOfCP |
StringOperators.IndexOfCP.SubstringBuilder.indexOf(AggregationExpression expression)
Creates a new
StringOperators.IndexOfCP given AggregationExpression that resolves to the substring. |
StringOperators.IndexOfCP |
StringOperators.StringOperatorFactory.indexOfCP(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated string representation and searches a string
for an occurrence of a substring resulting from the given AggregationExpression and returns the UTF-8
code point index (zero-based) of the first occurrence. |
SetOperators.SetIntersection |
SetOperators.SetOperatorFactory.intersects(AggregationExpression... expressions)
Creates new
AggregationExpression that takes array of the previously mentioned field and one or more
arrays and returns an array that contains the elements that appear in every of those. |
SetOperators.SetIntersection |
SetOperators.SetIntersection.intersects(AggregationExpression... expressions)
Creates new
SetOperators.SetIntersection with all previously added arguments appending the given one. |
static ArrayOperators.IsArray |
ArrayOperators.IsArray.isArray(AggregationExpression expression)
Creates new
ArrayOperators.IsArray . |
SetOperators.SetEquals |
SetOperators.SetOperatorFactory.isEqualTo(AggregationExpression... expressions)
Creates new
AggregationExpression that compares the previously mentioned field to one or more arrays and
returns true if they have the same distinct elements and false otherwise. |
SetOperators.SetEquals |
SetOperators.SetEquals.isEqualTo(AggregationExpression... expressions)
Creates new
AccumulatorOperators.Sum with all previously added arguments appending the given one. |
static DateOperators.IsoDayOfWeek |
DateOperators.IsoDayOfWeek.isoDayOfWeek(AggregationExpression expression)
Creates new
DateOperators.IsoDayOfWeek . |
DateOperators.IsoDateFromParts |
DateOperators.IsoDateFromParts.isoDayOfWeekOf(AggregationExpression expression)
Set the day of week to the result of the given
expression . |
static DateOperators.IsoWeek |
DateOperators.IsoWeek.isoWeekOf(AggregationExpression expression)
Creates new
DateOperators.IsoWeek . |
DateOperators.IsoDateFromParts |
DateOperators.IsoDateFromParts.isoWeekOf(AggregationExpression expression)
Set the week of year to the result of the given
expression . |
DateOperators.IsoDateFromParts |
DateOperators.DateFromPartsOperatorFactory.isoWeekYearOf(AggregationExpression expression)
Set the week date year to the result of the given
expression . |
static DateOperators.IsoWeekYear |
DateOperators.IsoWeekYear.isoWeekYearOf(AggregationExpression expression)
Creates new
DateOperators.Millisecond . |
default DateOperators.IsoDateFromParts |
DateOperators.IsoDateFromParts.IsoDateFromPartsWithYear.isoWeekYearOf(AggregationExpression expression)
Set the week date year to the result of the given
expression . |
SetOperators.SetIsSubset |
SetOperators.SetOperatorFactory.isSubsetOf(AggregationExpression expression)
Creates new
AggregationExpression that takes array of the previously mentioned field and returns
true if it is a subset of the given AggregationExpression . |
SetOperators.SetIsSubset |
SetOperators.SetIsSubset.isSubsetOf(AggregationExpression expression)
Creates new
SetOperators.SetIsSubset with all previously added arguments appending the given one. |
static VariableOperators.Map.AsBuilder |
VariableOperators.Map.itemsOf(AggregationExpression source)
Starts building new
VariableOperators.Map that applies an AggregationExpression to each item of a referenced array
and returns an array with the applied results. |
GroupOperation.GroupOperationBuilder |
GroupOperation.last(AggregationExpression expr)
Generates an
GroupOperation.GroupOperationBuilder for an $last -expression for the given
AggregationExpression . |
static ArrayOperators.Size |
ArrayOperators.Size.lengthOfArray(AggregationExpression expression)
Creates new
ArrayOperators.Size . |
ComparisonOperators.Lt |
ComparisonOperators.ComparisonOperatorFactory.lessThan(AggregationExpression expression)
Creates new
AggregationExpression that compares two values and returns true when the first
value is less than the expression result. |
ComparisonOperators.Lt |
ComparisonOperators.Lt.lessThan(AggregationExpression expression)
Creates new
ComparisonOperators.Lt with all previously added arguments appending the given one. |
ComparisonOperators.Lte |
ComparisonOperators.ComparisonOperatorFactory.lessThanEqualTo(AggregationExpression expression)
Creates new
AggregationExpression that compares two values and returns true when the first
value is less than or equivalent to the expression result. |
ComparisonOperators.Lte |
ComparisonOperators.Lte.lessThanEqualTo(AggregationExpression expression)
Creates new
ComparisonOperators.Lte with all previously added arguments appending the given one. |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.let(AggregationExpression valueExpression,
String variableName,
AggregationExpression in)
Generates a
$let expression that binds variables for use in the specified expression, and returns the
result of the expression. |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.let(Collection<VariableOperators.Let.ExpressionVariable> variables,
AggregationExpression in)
Generates a
$let expression that binds variables for use in the specified expression, and returns the
result of the expression. |
static ArithmeticOperators.Ln |
ArithmeticOperators.Ln.lnValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Ln . |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.log(AggregationExpression base)
Generates a
$log expression that takes the number of the previously mentioned field and calculates the
log of the associated number in the specified base. |
ArithmeticOperators.Log |
ArithmeticOperators.ArithmeticOperatorFactory.log(AggregationExpression expression)
Creates new
AggregationExpression that calculates the log of the associated number in the specified base
extracted by given AggregationExpression . |
ArithmeticOperators.Log |
ArithmeticOperators.Log.log(AggregationExpression expression)
Use the evaluated value of the given
AggregationExpression as log base. |
static ArithmeticOperators.Log10 |
ArithmeticOperators.Log10.log10ValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Log10 . |
static StringOperators.ToLower |
StringOperators.ToLower.lowerValueOf(AggregationExpression expression)
Creates new
StringOperators.ToLower . |
StringOperators.LTrim |
StringOperators.StringOperatorFactory.ltrim(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated string representation and trims the character
sequence resulting from the given AggregationExpression from the beginning. |
static VariableOperators.Map.AsBuilder |
VariableOperators.mapItemsOf(AggregationExpression expression)
Starts building new
VariableOperators.Map that applies an AggregationExpression to each item of a referenced array
and returns an array with the applied results. |
GroupOperation.GroupOperationBuilder |
GroupOperation.max(AggregationExpression expr)
Generates an
GroupOperation.GroupOperationBuilder for an $max -expression that for the given
AggregationExpression . |
static AccumulatorOperators.Max |
AccumulatorOperators.Max.maxOf(AggregationExpression expression)
Creates new
AccumulatorOperators.Max . |
static ObjectOperators.MergeObjects |
ObjectOperators.MergeObjects.mergeValuesOf(AggregationExpression... expressions)
Creates new
aggregation expression that takes the result of the given expressions and combines them into a single document. |
ObjectOperators.MergeObjects |
ObjectOperators.ObjectOperatorFactory.mergeWithValuesOf(AggregationExpression... expression)
Creates new
aggregation expression that takes the associated value and combines it with the
result values of the given expressions into a single document. |
ObjectOperators.MergeObjects |
ObjectOperators.MergeObjects.mergeWithValuesOf(AggregationExpression... expression)
Creates new
aggregation expression by adding the given expressions . |
static DateOperators.Millisecond |
DateOperators.Millisecond.millisecondOf(AggregationExpression expression)
Creates new
DateOperators.Millisecond . |
default T |
DateOperators.DateParts.millisecondsOf(AggregationExpression expression)
Set the milliseconds to the result of the given
expression . |
GroupOperation.GroupOperationBuilder |
GroupOperation.min(AggregationExpression expr)
Generates an
GroupOperation.GroupOperationBuilder for an $min -expression that for the given
AggregationExpression . |
static AccumulatorOperators.Min |
AccumulatorOperators.Min.minOf(AggregationExpression expression)
Creates new
AccumulatorOperators.Min . |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.minus(AggregationExpression expression)
Generates an
$subtract expression that subtracts the result of the given AggregationExpression
from the previously mentioned field. |
static DateOperators.Minute |
DateOperators.Minute.minuteOf(AggregationExpression expression)
Creates new
DateOperators.Minute . |
default T |
DateOperators.DateParts.minuteOf(AggregationExpression expression)
Set the minute to the result of the given
expression . |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.mod(AggregationExpression expression)
Generates an
$mod expression that divides the value of the previously mentioned field by the result of
the AggregationExpression . |
ArithmeticOperators.Mod |
ArithmeticOperators.ArithmeticOperatorFactory.mod(AggregationExpression expression)
Creates new
AggregationExpression that divides the associated number by another and returns the
remainder. |
ArithmeticOperators.Mod |
ArithmeticOperators.Mod.mod(AggregationExpression expression)
Use evaluated value of the given
AggregationExpression as mod base. |
static DateOperators.Month |
DateOperators.Month.monthOf(AggregationExpression expression)
Creates new
DateOperators.Month . |
DateOperators.DateFromParts |
DateOperators.DateFromParts.monthOf(AggregationExpression expression)
Set the month to the result of the given
expression . |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.multiply(AggregationExpression expression)
Generates an
$multiply expression that multiplies the previously with the result of the
AggregationExpression . mentioned field. |
ArithmeticOperators.Multiply |
ArithmeticOperators.ArithmeticOperatorFactory.multiplyBy(AggregationExpression expression)
Creates new
AggregationExpression that multiplies the associated number with another. |
ArithmeticOperators.Multiply |
ArithmeticOperators.Multiply.multiplyBy(AggregationExpression expression)
Multiply by the evaluated value of the given
AggregationExpression . |
static BooleanOperators.Not |
BooleanOperators.not(AggregationExpression expression)
Creates new
AggregationExpression that evaluates the boolean value of AggregationExpression result
and returns the opposite boolean value. |
static BooleanOperators.Not |
BooleanOperators.Not.not(AggregationExpression expression)
Creates new
BooleanOperators.Not that evaluates the resulting boolean value of the given AggregationExpression and
returns the opposite boolean value. |
ComparisonOperators.Ne |
ComparisonOperators.ComparisonOperatorFactory.notEqualTo(AggregationExpression expression)
Creates new
AggregationExpression that compares two values and returns true when the values
are not equivalent. |
ComparisonOperators.Ne |
ComparisonOperators.Ne.notEqualTo(AggregationExpression expression)
Creates new
ComparisonOperators.Ne with all previously added arguments appending the given one. |
static DateOperators.Timezone |
DateOperators.Timezone.ofExpression(AggregationExpression expression)
Create a
DateOperators.Timezone for the AggregationExpression resulting in the Olson Timezone Identifier or UTC
Offset. |
ConvertOperators.Convert |
ConvertOperators.Convert.onErrorReturnValueOf(AggregationExpression expression)
Optionally specify the expression to evaluate and return on encountering an error during conversion.
|
DateOperators.DateToString |
DateOperators.DateToString.onNullReturnValueOf(AggregationExpression expression)
Optionally specify the expression to evaluate and return when the date is null or missing.
|
ConvertOperators.Convert |
ConvertOperators.Convert.onNullReturnValueOf(AggregationExpression expression)
Optionally specify the expression to evaluate and return when the input is null or missing.
|
BooleanOperators.Or |
BooleanOperators.BooleanOperatorFactory.or(AggregationExpression expression)
Creates new
AggregationExpression that evaluates one or more expressions and returns true if
any of the expressions are true. |
BooleanOperators.Or |
BooleanOperators.Or.orExpression(AggregationExpression expression)
Creates new
BooleanOperators.Or with all previously added arguments appending the given one. |
ConditionalOperators.Cond |
ConditionalOperators.Cond.OtherwiseBuilder.otherwiseValueOf(AggregationExpression expression) |
ArithmeticOperators.Round |
ArithmeticOperators.Round.placeOf(AggregationExpression expression)
The place to round to defined by an expression that resolves to an integer between -20 and 100, exclusive.
|
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.pow(AggregationExpression exponentExpression)
Generates a
$pow expression that Takes the number of the previously mentioned field and raises it by the
specified exponent. |
ArithmeticOperators.Pow |
ArithmeticOperators.ArithmeticOperatorFactory.pow(AggregationExpression expression)
Creates new
AggregationExpression that raises the associated number to the specified exponent. |
ArithmeticOperators.Pow |
ArithmeticOperators.Pow.pow(AggregationExpression expression)
Pow by the evaluated value of the given
AggregationExpression . |
static ArrayOperators.RangeOperator.RangeOperatorBuilder |
ArrayOperators.RangeOperator.rangeStartingAt(AggregationExpression expression)
Start creating new
ArrayOperators.RangeOperator . |
static RedactOperation |
Aggregation.redact(AggregationExpression condition)
Creates a new
RedactOperation that can restrict the content of a document based on information stored
within the document itself. |
ArrayOperators.ArrayOperatorFactory.ReduceInitialValueBuilder |
ArrayOperators.ArrayOperatorFactory.reduce(AggregationExpression expression)
Start creating new
AggregationExpression that applies an AggregationExpression to each element in
an array and combines them into a single value. |
ArrayOperators.Reduce |
ArrayOperators.Reduce.ReduceBuilder.reduce(AggregationExpression expression)
Define the
AggregationExpression to apply to each element in the input array in left-to-right order. |
static ReplaceRootOperation |
Aggregation.replaceRoot(AggregationExpression aggregationExpression)
Factory method to create a new
ReplaceRootOperation for the field with the given
AggregationExpression . |
static ArrayOperators.ReverseArray |
ArrayOperators.ReverseArray.reverseArrayOf(AggregationExpression expression)
Creates new
ArrayOperators.ReverseArray given AggregationExpression . |
static ArithmeticOperators.Round |
ArithmeticOperators.Round.roundValueOf(AggregationExpression expression)
Round the outcome of the given expression hat resolves to an integer, double, decimal, or long.
|
StringOperators.RTrim |
StringOperators.StringOperatorFactory.rtrim(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated string representation and trims the character
sequence resulting from the given AggregationExpression from the end. |
static DateOperators.Second |
DateOperators.Second.secondOf(AggregationExpression expression)
Creates new
DateOperators.Second . |
default T |
DateOperators.DateParts.secondOf(AggregationExpression expression)
Set the second to the result of the given
expression . |
static ArrayOperators.Slice |
ArrayOperators.Slice.sliceArrayOf(AggregationExpression expression)
Creates new
ArrayOperators.Slice . |
static SortByCountOperation |
Aggregation.sortByCount(AggregationExpression groupAndSortExpression)
Creates a new
SortByCountOperation given group and sort expression . |
StringOperators.Split |
StringOperators.StringOperatorFactory.split(AggregationExpression expression)
Creates new
AggregationExpression that divides the associated string representation into an array of
substrings based on a delimiter resulting from the given AggregationExpression . |
StringOperators.Split |
StringOperators.Split.split(AggregationExpression expression)
Use value resulting from
AggregationExpression as delimiter. |
static ArithmeticOperators.Sqrt |
ArithmeticOperators.Sqrt.sqrtOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Sqrt . |
GraphLookupOperation.ConnectFromBuilder |
GraphLookupOperation.StartWithBuilder.startWith(AggregationExpression... expressions)
Set the startWith expressions to apply the
$graphLookup to. |
GroupOperation.GroupOperationBuilder |
GroupOperation.stdDevPop(AggregationExpression expr)
Generates an
GroupOperation.GroupOperationBuilder for an $stdDevPop -expression that for the given
AggregationExpression . |
static AccumulatorOperators.StdDevPop |
AccumulatorOperators.StdDevPop.stdDevPopOf(AggregationExpression expression)
Creates new
AccumulatorOperators.StdDevPop with all previously added arguments appending the given one. |
GroupOperation.GroupOperationBuilder |
GroupOperation.stdDevSamp(AggregationExpression expr)
Generates an
GroupOperation.GroupOperationBuilder for an $stdDevSamp -expression that for the given
AggregationExpression . |
static AccumulatorOperators.StdDevSamp |
AccumulatorOperators.StdDevSamp.stdDevSampOf(AggregationExpression expression)
Creates new
AccumulatorOperators.StdDevSamp . |
ProjectionOperation.ProjectionOperationBuilder |
ProjectionOperation.ProjectionOperationBuilder.strCaseCmp(AggregationExpression expression)
Generates a
$strcasecmp expression that takes the string representation of the previously mentioned field
and performs case-insensitive comparison to the result of the given AggregationExpression . |
StringOperators.StrCaseCmp |
StringOperators.StrCaseCmp.strcasecmpValueOf(AggregationExpression expression) |
StringOperators.StrCaseCmp |
StringOperators.StringOperatorFactory.strCaseCmpValueOf(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated string representation and performs
case-insensitive comparison to the result of the given AggregationExpression . |
static StringOperators.StrLenBytes |
StringOperators.StrLenBytes.stringLengthOf(AggregationExpression expression)
Creates new
StringOperators.StrLenBytes . |
static StringOperators.StrLenCP |
StringOperators.StrLenCP.stringLengthOfCP(AggregationExpression expression)
Creates new
StringOperators.StrLenCP . |
ArithmeticOperators.Subtract |
ArithmeticOperators.ArithmeticOperatorFactory.subtract(AggregationExpression expression)
Creates new
AggregationExpression that subtracts value of given from the associated number. |
ArithmeticOperators.Subtract |
ArithmeticOperators.Subtract.subtract(AggregationExpression expression)
Subtract the evaluated value of the given
AggregationExpression . |
GroupOperation.GroupOperationBuilder |
GroupOperation.sum(AggregationExpression expr)
Generates an
GroupOperation.GroupOperationBuilder for an $sum -expression for the given
AggregationExpression . |
static AccumulatorOperators.Sum |
AccumulatorOperators.Sum.sumOf(AggregationExpression expression)
Creates new
AccumulatorOperators.Sum . |
ConditionalOperators.Cond.OtherwiseBuilder |
ConditionalOperators.ConditionalOperatorFactory.thenValueOf(AggregationExpression expression)
Creates new
AggregationExpression that evaluates a boolean expression to return one of the two specified
return expressions. |
ConditionalOperators.IfNull |
ConditionalOperators.IfNull.ThenBuilder.thenValueOf(AggregationExpression expression) |
ConditionalOperators.Cond.OtherwiseBuilder |
ConditionalOperators.Cond.ThenBuilder.thenValueOf(AggregationExpression expression) |
ArrayOperators.RangeOperator |
ArrayOperators.RangeOperator.RangeOperatorBuilder.to(AggregationExpression expression)
Creates new
ArrayOperators.RangeOperator . |
ConvertOperators.Convert |
ConvertOperators.Convert.toTypeOf(AggregationExpression expression)
Specify the conversion target type via the value of the given
expression . |
StringOperators.Trim |
StringOperators.StringOperatorFactory.trim(AggregationExpression expression)
Creates new
AggregationExpression that takes the associated string representation and trims the character
sequence resulting from the given AggregationExpression from the beginning and end. |
static ArithmeticOperators.Trunc |
ArithmeticOperators.Trunc.truncValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Trunc . |
SetOperators.SetUnion |
SetOperators.SetOperatorFactory.union(AggregationExpression... expressions)
Creates new
AggregationExpression that takes array of the previously mentioned field and one or more
arrays and returns an array that contains the elements that appear in any of those. |
SetOperators.SetUnion |
SetOperators.SetUnion.union(AggregationExpression... expressions)
Creates new
SetOperators.SetUnion with all previously added arguments appending the given one. |
static StringOperators.ToUpper |
StringOperators.ToUpper.upperValueOf(AggregationExpression expression)
Creates new
StringOperators.ToUpper . |
static ObjectOperators.ObjectOperatorFactory |
ObjectOperators.valueOf(AggregationExpression expression)
Take the value provided by the given
AggregationExpression . |
static StringOperators.StringOperatorFactory |
StringOperators.valueOf(AggregationExpression fieldReference)
Take the array referenced by given fieldReference.
|
static StringOperators.Concat |
StringOperators.Concat.valueOf(AggregationExpression expression)
Creates new
StringOperators.Concat . |
static StringOperators.Substr |
StringOperators.Substr.valueOf(AggregationExpression expression)
Creates new
StringOperators.Substr . |
static StringOperators.StrCaseCmp |
StringOperators.StrCaseCmp.valueOf(AggregationExpression expression)
Creates new
StringOperators.StrCaseCmp . |
static StringOperators.IndexOfBytes.SubstringBuilder |
StringOperators.IndexOfBytes.valueOf(AggregationExpression expression)
Start creating a new
StringOperators.IndexOfBytes . |
static StringOperators.IndexOfCP.SubstringBuilder |
StringOperators.IndexOfCP.valueOf(AggregationExpression expression)
Start creating a new
StringOperators.IndexOfCP . |
static StringOperators.Split |
StringOperators.Split.valueOf(AggregationExpression expression)
Start creating a new
StringOperators.Split . |
static StringOperators.SubstrCP |
StringOperators.SubstrCP.valueOf(AggregationExpression expression)
Creates new
StringOperators.SubstrCP . |
static StringOperators.Trim |
StringOperators.Trim.valueOf(AggregationExpression expression)
Creates new
StringOperators.Trim using the result of the provided AggregationExpression as input
value. |
static StringOperators.LTrim |
StringOperators.LTrim.valueOf(AggregationExpression expression)
Creates new
StringOperators.LTrim using the result of the provided AggregationExpression as input
value. |
static StringOperators.RTrim |
StringOperators.RTrim.valueOf(AggregationExpression expression)
Creates new
StringOperators.RTrim using the result of the provided AggregationExpression as input
value. |
static AccumulatorOperators.AccumulatorOperatorFactory |
AccumulatorOperators.valueOf(AggregationExpression expression)
Take the numeric value referenced resulting from given
AggregationExpression . |
static ComparisonOperators.ComparisonOperatorFactory |
ComparisonOperators.valueOf(AggregationExpression expression)
Take the value resulting from the given
AggregationExpression . |
static ComparisonOperators.Cmp |
ComparisonOperators.Cmp.valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Cmp . |
static ComparisonOperators.Eq |
ComparisonOperators.Eq.valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Eq . |
static ComparisonOperators.Gt |
ComparisonOperators.Gt.valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Gt . |
static ComparisonOperators.Lt |
ComparisonOperators.Lt.valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Lt . |
static ComparisonOperators.Gte |
ComparisonOperators.Gte.valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Gte . |
static ComparisonOperators.Lte |
ComparisonOperators.Lte.valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Lte . |
static ComparisonOperators.Ne |
ComparisonOperators.Ne.valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Ne . |
static ConvertOperators.ConvertOperatorFactory |
ConvertOperators.valueOf(AggregationExpression expression)
Take the value resulting from the given
AggregationExpression . |
static BooleanOperators.BooleanOperatorFactory |
BooleanOperators.valueOf(AggregationExpression fieldReference)
Take the value resulting of the given
AggregationExpression . |
static ArithmeticOperators.ArithmeticOperatorFactory |
ArithmeticOperators.valueOf(AggregationExpression expression)
Take the value resulting from the given
AggregationExpression . |
static ArithmeticOperators.Add |
ArithmeticOperators.Add.valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Add . |
static ArithmeticOperators.Divide |
ArithmeticOperators.Divide.valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Divide . |
static ArithmeticOperators.Log |
ArithmeticOperators.Log.valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Log . |
static ArithmeticOperators.Mod |
ArithmeticOperators.Mod.valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Mod . |
static ArithmeticOperators.Multiply |
ArithmeticOperators.Multiply.valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Multiply . |
static ArithmeticOperators.Pow |
ArithmeticOperators.Pow.valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Pow . |
static ArithmeticOperators.Subtract |
ArithmeticOperators.Subtract.valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Subtract . |
static ObjectOperators.ObjectToArray |
ObjectOperators.ObjectToArray.valueOfToArray(AggregationExpression expression)
Creates new
aggregation expression that takes the result value of the given
expression and converts it to an array. |
static DateOperators.Week |
DateOperators.Week.weekOf(AggregationExpression expression)
Creates new
DateOperators.Week . |
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.when(AggregationExpression condition)
Specify the evaluation condition.
|
static ConditionalOperators.ConditionalOperatorFactory |
ConditionalOperators.when(AggregationExpression expression)
Take the value resulting from the given expression.
|
static ConditionalOperators.Switch.CaseOperator.ThenBuilder |
ConditionalOperators.Switch.CaseOperator.when(AggregationExpression condition) |
static ConditionalOperators.Cond.ThenBuilder |
ConditionalOperators.Cond.when(AggregationExpression expression)
|
ConditionalOperators.Cond.ThenBuilder |
ConditionalOperators.Cond.WhenBuilder.when(AggregationExpression expression) |
ReplaceRootOperation |
ReplaceRootOperation.ReplaceRootOperationBuilder.withValueOf(AggregationExpression aggregationExpression)
Defines a root document replacement based on a
AggregationExpression that resolves to a document. |
DateOperators.DateFromParts |
DateOperators.DateFromPartsOperatorFactory.yearOf(AggregationExpression expression)
Set the year to the result of the given
expression . |
static DateOperators.Year |
DateOperators.Year.yearOf(AggregationExpression expression)
Creates new
DateOperators.Year . |
default DateOperators.DateFromParts |
DateOperators.DateFromParts.DateFromPartsWithYear.yearOf(AggregationExpression expression)
Set the year to the result of the given
expression . |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.