| Package | Description |
|---|---|
| org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
| Modifier and Type | Method and Description |
|---|---|
ConvertOperators.Convert |
ConvertOperators.ConvertOperatorFactory.convertTo(int numericTypeIdentifier)
Creates new
aggregation expression that takes the associated value and converts it into the type
specified by the given numericTypeIdentifier. |
ConvertOperators.Convert |
ConvertOperators.ConvertOperatorFactory.convertTo(JsonSchemaObject.Type type)
Creates new
aggregation expression that takes the associated value and converts it into the type
specified by the given JsonSchemaObject.Type. |
ConvertOperators.Convert |
ConvertOperators.ConvertOperatorFactory.convertTo(String stringTypeIdentifier)
Creates new
aggregation expression that takes the associated value and converts it into the type
specified by the given stringTypeIdentifier. |
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. |
ConvertOperators.Convert |
ConvertOperators.ConvertOperatorFactory.convertToTypeOf(String fieldReference)
Creates new
aggregation expression that takes the associated value and converts it into the type
specified by the value of the given field reference. |
static ConvertOperators.Convert |
ConvertOperators.Convert.convertValue(Object value)
Creates new
ConvertOperators.Convert using the given value for the input attribute. |
static ConvertOperators.Convert |
ConvertOperators.Convert.convertValueOf(AggregationExpression expression)
Creates new
ConvertOperators.Convert using the result of the provided expression as
input value. |
static ConvertOperators.Convert |
ConvertOperators.Convert.convertValueOf(String fieldReference)
Creates new
ConvertOperators.Convert using the value of the provided fieldReference as input
value. |
ConvertOperators.Convert |
ConvertOperators.Convert.onErrorReturn(Object value)
Optionally specify the value to return on encountering an error during conversion.
|
ConvertOperators.Convert |
ConvertOperators.Convert.onErrorReturnValueOf(AggregationExpression expression)
Optionally specify the expression to evaluate and return on encountering an error during conversion.
|
ConvertOperators.Convert |
ConvertOperators.Convert.onErrorReturnValueOf(String fieldReference)
Optionally specify the field holding the value to return on encountering an error during conversion.
|
ConvertOperators.Convert |
ConvertOperators.Convert.onNullReturn(Object value)
Optionally specify the value to return when the input 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.
|
ConvertOperators.Convert |
ConvertOperators.Convert.onNullReturnValueOf(String fieldReference)
Optionally specify the field holding the value to return when the input is null or missing.
|
ConvertOperators.Convert |
ConvertOperators.Convert.to(int numericTypeIdentifier)
Specify the conversion target type via its numeric representation.
|
ConvertOperators.Convert |
ConvertOperators.Convert.to(JsonSchemaObject.Type type)
Specify the conversion target type.
|
ConvertOperators.Convert |
ConvertOperators.Convert.to(String stringTypeIdentifier)
Specify the conversion target type via its
String representation. |
ConvertOperators.Convert |
ConvertOperators.Convert.toTypeOf(AggregationExpression expression)
Specify the conversion target type via the value of the given
expression. |
ConvertOperators.Convert |
ConvertOperators.Convert.toTypeOf(String fieldReference)
Specify the conversion target type via the value of the given field.
|
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.