| Package | Description |
|---|---|
| com.google.cloud.firestore |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
Filter.and(Filter... filters)
Creates a new filter that is a conjunction of the given filters.
|
static Filter |
Filter.arrayContains(FieldPath fieldPath,
Object value)
Creates a new filter for checking that the given array field contains the given value.
|
static Filter |
Filter.arrayContains(String field,
Object value)
Creates a new filter for checking that the given array field contains the given value.
|
static Filter |
Filter.arrayContainsAny(FieldPath fieldPath,
Object value)
Creates a new filter for checking that the given array field contains any of the given values.
|
static Filter |
Filter.arrayContainsAny(String field,
Object value)
Creates a new filter for checking that the given array field contains any of the given values.
|
static Filter |
Filter.equalTo(FieldPath fieldPath,
Object value)
Creates a new filter for checking that the given field is equal to the given value.
|
static Filter |
Filter.equalTo(String field,
Object value)
Creates a new filter for checking that the given field is equal to the given value.
|
static Filter |
Filter.greaterThan(FieldPath fieldPath,
Object value)
Creates a new filter for checking that the given field is greater than the given value.
|
static Filter |
Filter.greaterThan(String field,
Object value)
Creates a new filter for checking that the given field is greater than the given value.
|
static Filter |
Filter.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 Filter |
Filter.greaterThanOrEqualTo(String field,
Object value)
Creates a new filter for checking that the given field is greater than or equal to the given
value.
|
static Filter |
Filter.inArray(FieldPath fieldPath,
Object value)
Creates a new filter for checking that the given field equals any of the given values.
|
static Filter |
Filter.inArray(String field,
Object value)
Creates a new filter for checking that the given field equals any of the given values.
|
static Filter |
Filter.lessThan(FieldPath fieldPath,
Object value)
Creates a new filter for checking that the given field is less than the given value.
|
static Filter |
Filter.lessThan(String field,
Object value)
Creates a new filter for checking that the given field is less than the given value.
|
static Filter |
Filter.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 Filter |
Filter.lessThanOrEqualTo(String field,
Object value)
Creates a new filter for checking that the given field is less than or equal to the given
value.
|
static Filter |
Filter.notEqualTo(FieldPath fieldPath,
Object value)
Creates a new filter for checking that the given field is not equal to the given value.
|
static Filter |
Filter.notEqualTo(String field,
Object value)
Creates a new filter for checking that the given field is not equal to the given value.
|
static Filter |
Filter.notInArray(FieldPath fieldPath,
Object value)
Creates a new filter for checking that the given field does not equal any of the given values.
|
static Filter |
Filter.notInArray(String field,
Object value)
Creates a new filter for checking that the given field does not equal any of the given values.
|
static Filter |
Filter.or(Filter... filters)
Creates a new filter that is a disjunction of the given filters.
|
| Modifier and Type | Method and Description |
|---|---|
static Filter |
Filter.and(Filter... filters)
Creates a new filter that is a conjunction of the given filters.
|
static Filter |
Filter.or(Filter... filters)
Creates a new filter that is a disjunction of the given filters.
|
Query |
Query.where(Filter filter)
Creates and returns a new Query with the additional filter.
|
Copyright © 2023 Google LLC. All rights reserved.