Uses of Interface
org.springframework.data.mongodb.core.aggregation.Field
Packages that use Field
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of Field in org.springframework.data.mongodb.core.aggregation
Subinterfaces of Field in org.springframework.data.mongodb.core.aggregationModifier and TypeInterfaceDescriptioninterfaceA special field that points to a variable$$expression.Classes in org.springframework.data.mongodb.core.aggregation that implement FieldModifier and TypeClassDescriptionstatic enumstatic classAFieldthat the result of a computation done via anAggregationExpression.enumDescribes the system variables available in MongoDB aggregation framework pipeline expressions.Methods in org.springframework.data.mongodb.core.aggregation that return FieldModifier and TypeMethodDescriptionstatic FieldCreates aFieldwith the given name.static Fieldprotected FieldBucketOperationSupport.OperationOutput.getField()Returns the field that holds theProjectionOperation.ProjectionOperationBuilder.OperationProjection.ArrayOperators.Reduce.Variable.referringTo(String property) Create aFieldreference to a given property prefixed with theArrayOperators.Reduce.Variableidentifier.Methods in org.springframework.data.mongodb.core.aggregation that return types with arguments of type FieldMethods in org.springframework.data.mongodb.core.aggregation with parameters of type FieldModifier and TypeMethodDescriptionCreates a newProjectionOperation.ArrayProjectionOperationBuilderwith the currentProjectionOperation.Projections and the given one.Also unset the given fields.static ObjectOperators.SetFieldCreates newaggregation expressionthat takes the value pointed to by given inputField.Set the field to apply the$filterto.Set the field holding an array to apply the$filterto.static Fieldsstatic ObjectOperators.GetFieldCreates newaggregation expressionthat takes the value pointed to by givenField.AggregationOperationContext.getReference(Field field) Returns aExposedFields.FieldReferencefor the given field.PrefixingDelegatingAggregationOperationContext.getReference(Field field) TypeBasedAggregationOperationContext.getReference(Field field) protected ExposedFields.FieldReferenceTypeBasedAggregationOperationContext.getReferenceFor(Field field) Creates a newStringOperators.IndexOfBytesgivenFieldthat resolves to the substring.Creates a newStringOperators.IndexOfCPgivenFieldthat resolves to the substring.Creates newAggregationExpressionthat takes the associated string representation and searches a string for an occurrence of a substring contained in the given field reference and returns the UTF-8 byte index (zero-based) of the first occurrence.Creates newAggregationExpressionthat takes the associated string representation and searches a string for an occurrence of a substring contained in the given field reference and returns the UTF-8 code point index (zero-based) of the first occurrence.static booleanAggregationVariable.isVariable(Field field) Check if the given field may be variable.static booleanArrayOperators.Reduce.Variable.isVariable(Field field) static LookupOperationCreates a newLookupOperationfor the givenFields.Use value of referenced field as delimiter.Creates newAggregationExpressionthat divides the associated string representation into an array of substrings based on the delimiter resulting from the referenced field..Constructors in org.springframework.data.mongodb.core.aggregation with parameters of type FieldModifierConstructorDescriptionBucketAutoOperation(Field groupByField, int buckets) Creates a newBucketAutoOperationgiven agroup-by field.BucketOperation(Field groupByField) Creates a newBucketOperationgiven agroup-by field.protectedBucketOperationSupport(Field groupByField) Creates a newBucketOperationSupportgiven agroup-by field.protectedDensifyOperation(Field field, List<?> partitionBy, DensifyOperation.Range range) LookupOperation(String from, Field localField, Field foreignField, VariableOperators.Let let, AggregationPipeline pipeline, Field as) LookupOperation(String from, VariableOperators.Let let, AggregationPipeline pipeline, Field as) LookupOperation(Field from, Field localField, Field foreignField, Field as) Creates a newLookupOperationfor the givenFields.protectedCreates newProjectionfor the givenField.ReplaceRootOperation(Field field) Creates a newReplaceRootOperationgiven theFieldfield name.SortByCountOperation(Field groupByField) Creates a newSortByCountOperationgiven agroup-by field.UnwindOperation(Field field) Creates a newUnwindOperationfor the givenField.UnwindOperation(Field field, boolean preserveNullAndEmptyArrays) Creates a newUnwindOperationusing Mongo 3.2 syntax.UnwindOperation(Field field, Field arrayIndex, boolean preserveNullAndEmptyArrays) Creates a newUnwindOperationusing Mongo 3.2 syntax. -
Uses of Field in org.springframework.data.mongodb.util.aggregation
Methods in org.springframework.data.mongodb.util.aggregation with parameters of type Field