Uses of Class
com.google.cloud.firestore.FieldPath
Packages that use FieldPath
-
Uses of FieldPath in com.google.cloud.firestore
Methods in com.google.cloud.firestore that return FieldPathModifier and TypeMethodDescriptionstatic FieldPathFieldPath.documentId()A special sentinel to refer to the ID of a document.static FieldPathFieldPath.fromServerFormat(String path) Creates aFieldPathfrom a server-encoded field path.VectorQueryOptions.getDistanceResultField()static FieldPathCreates a FieldPath from the provided field names.Methods in com.google.cloud.firestore with parameters of type FieldPathModifier and TypeMethodDescriptionstatic FilterFilter.arrayContains(FieldPath fieldPath, Object value) Creates a new filter for checking that the given array field contains the given value.static FilterFilter.arrayContainsAny(FieldPath fieldPath, Object value) Creates a new filter for checking that the given array field contains any of the given values.Create anAggregateField.AverageAggregateFieldobject that can be used to compute the average of a specified field over a range of documents in the result set of a query.booleanReturns whether or not the field exists in the document.static FilterCreates a new filter for checking that the given field is equal to the given value.Query.findNearest(FieldPath vectorField, VectorValue queryVector, int limit, VectorQuery.DistanceMeasure distanceMeasure) Returns a VectorQuery that can perform vector distance (similarity) search with given parameters.Query.findNearest(FieldPath vectorField, VectorValue queryVector, int limit, VectorQuery.DistanceMeasure distanceMeasure, VectorQueryOptions vectorQueryOptions) Returns a VectorQuery that can perform vector distance (similarity) search with given parameters.Returns the value at the field or null if the field doesn't exist.<T> TReturns the value at the field, converted to a POJO, or null if the field or document doesn't exist.static FilterFilter.greaterThan(FieldPath fieldPath, Object value) Creates a new filter for checking that the given field is greater than the given value.static FilterFilter.greaterThanOrEqualTo(FieldPath fieldPath, Object value) Creates a new filter for checking that the given field is greater than or equal to the given value.static FilterCreates a new filter for checking that the given field equals any of the given values.static FilterCreates a new filter for checking that the given field is less than the given value.static FilterFilter.lessThanOrEqualTo(FieldPath fieldPath, Object value) Creates a new filter for checking that the given field is less than or equal to the given value.static FilterFilter.notEqualTo(FieldPath fieldPath, Object value) Creates a new filter for checking that the given field is not equal to the given value.static FilterFilter.notInArray(FieldPath fieldPath, Object value) Creates a new filter for checking that the given field does not equal any of the given values.static FieldMaskCreates a FieldMask from the provided field paths.Creates and returns a new Query that's additionally sorted by the specified field.Query.orderBy(FieldPath fieldPath, Query.Direction direction) Creates and returns a new Query that's additionally sorted by the specified field, optionally in descending order instead of ascending.Creates and returns a new Query instance that applies a field mask to the result and returns the specified subset of fields.VectorQueryOptions.Builder.setDistanceResultField(FieldPath fieldPath) Specifies the name of the field that will be set on each returned DocumentSnapshot, which will contain the computed distance for the document.Create aAggregateField.SumAggregateFieldobject that can be used to compute the sum of a specified field over a range of documents in the result set of a query.com.google.api.core.ApiFuture<WriteResult>BulkWriter.update(DocumentReference documentReference, FieldPath fieldPath, Object value, Object... moreFieldsAndValues) Update fields of the document referred to by the providedDocumentReference.com.google.api.core.ApiFuture<WriteResult>BulkWriter.update(DocumentReference documentReference, Precondition precondition, FieldPath fieldPath, Object value, Object... moreFieldsAndValues) Update fields of the document referred to by the providedDocumentReference.com.google.api.core.ApiFuture<WriteResult>Updates the fields in the document referred to by this DocumentReference.com.google.api.core.ApiFuture<WriteResult>DocumentReference.update(Precondition options, FieldPath fieldPath, Object value, Object... moreFieldsAndValues) Updates the fields in the document referred to by this DocumentReference.UpdateBuilder.update(DocumentReference documentReference, FieldPath fieldPath, Object value, Object... moreFieldsAndValues) Updates the fields in the document referred to by this DocumentReference.UpdateBuilder.update(DocumentReference documentReference, Precondition precondition, FieldPath fieldPath, Object value, Object... moreFieldsAndValues) Updates the fields in the document referred to by this DocumentReference.Query.whereArrayContains(FieldPath fieldPath, Object value) Creates and returns a new Query with the additional filter that documents must contain the specified field, the value must be an array, and that the array must contain the provided value.Query.whereArrayContainsAny(FieldPath fieldPath, List<? extends Object> values) Creates and returns a new Query with the additional filter that documents must contain the specified field, the value must be an array, and that the array must contain at least one value from the provided list.Query.whereEqualTo(FieldPath fieldPath, Object value) Creates and returns a new Query with the additional filter that documents must contain the specified field and the value should be equal to the specified value.Query.whereGreaterThan(FieldPath fieldPath, Object value) Creates and returns a new Query with the additional filter that documents must contain the specified field and the value should be greater than the specified value.Query.whereGreaterThanOrEqualTo(FieldPath fieldPath, Object value) Creates and returns a new Query with the additional filter that documents must contain the specified field and the value should be greater than or equal to the specified value.Creates and returns a new Query with the additional filter that documents must contain the specified field and the value must equal one of the values from the provided list.Query.whereLessThan(FieldPath fieldPath, Object value) Creates and returns a new Query with the additional filter that documents must contain the specified field and the value should be less than the specified value.Query.whereLessThanOrEqualTo(FieldPath fieldPath, Object value) Creates and returns a new Query with the additional filter that documents must contain the specified field and the value should be less or equal to the specified value.Query.whereNotEqualTo(FieldPath fieldPath, Object value) Creates and returns a new Query with the additional filter that documents must contain the specified field and the value does not equal the specified value.Query.whereNotIn(FieldPath fieldPath, List<? extends Object> values) Creates and returns a new Query with the additional filter that documents must contain the specified field and the value does not equal any of the values from the provided list.Method parameters in com.google.cloud.firestore with type arguments of type FieldPathModifier and TypeMethodDescriptionstatic SetOptionsSetOptions.mergeFieldPaths(List<FieldPath> fields) Changes the behavior of set() calls to only replace the fields under fieldPaths.