Uses of Class
org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
Packages that use ConvertOperators.Convert
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ConvertOperators.Convert in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return ConvertOperators.ConvertModifier and TypeMethodDescriptionConvertOperators.ConvertOperatorFactory.convertTo(int numericTypeIdentifier) Creates newaggregation expressionthat takes the associated value and converts it into the type specified by the givennumericTypeIdentifier.Creates newaggregation expressionthat takes the associated value and converts it into the type specified by the givenstringTypeIdentifier.ConvertOperators.ConvertOperatorFactory.convertTo(JsonSchemaObject.Type type) Creates newaggregation expressionthat takes the associated value and converts it into the type specified by the givenJsonSchemaObject.Type.ConvertOperators.ConvertOperatorFactory.convertToTypeOf(String fieldReference) Creates newaggregation expressionthat takes the associated value and converts it into the type specified by the value of the givenfield reference.ConvertOperators.ConvertOperatorFactory.convertToTypeOf(AggregationExpression expression) Creates newaggregation expressionthat takes the associated value and converts it into the type specified by the givenexpression.static ConvertOperators.ConvertConvertOperators.Convert.convertValue(Object value) Creates newConvertOperators.Convertusing the given value for the input attribute.static ConvertOperators.ConvertConvertOperators.Convert.convertValueOf(String fieldReference) Creates newConvertOperators.Convertusing the value of the providedfieldReferenceas input value.static ConvertOperators.ConvertConvertOperators.Convert.convertValueOf(AggregationExpression expression) Creates newConvertOperators.Convertusing the result of the providedexpressionas input value.ConvertOperators.Convert.onErrorReturn(Object value) Optionally specify the value to return on encountering an error during conversion.ConvertOperators.Convert.onErrorReturnValueOf(String fieldReference) Optionally specify the field holding the value to return on encountering an error during conversion.ConvertOperators.Convert.onErrorReturnValueOf(AggregationExpression expression) Optionally specify the expression to evaluate and return on encountering an error during conversion.ConvertOperators.Convert.onNullReturn(Object value) Optionally specify the value to return when the input is null or missing.ConvertOperators.Convert.onNullReturnValueOf(String fieldReference) Optionally specify the field holding the value to return when the input is null or missing.ConvertOperators.Convert.onNullReturnValueOf(AggregationExpression expression) Optionally specify the expression to evaluate and return when the input is null or missing.ConvertOperators.Convert.to(int numericTypeIdentifier) Specify the conversion target type via its numeric representation.Specify the conversion target type via itsStringrepresentation.ConvertOperators.Convert.to(JsonSchemaObject.Type type) Specify the conversion target type.Specify the conversion target type via the value of the given field.ConvertOperators.Convert.toTypeOf(AggregationExpression expression) Specify the conversion target type via the value of the givenexpression.