Class Filter (3.4.2)

Stay organized with collections Save and categorize content based on your preferences.
public class Filter

Inheritance

Object > Filter

Static Methods

and(Filter[] filters)

public static Filter and(Filter[] filters)
Parameter
NameDescription
filtersFilter[]
Returns
TypeDescription
Filter

arrayContains(FieldPath fieldPath, Object value)

public static Filter arrayContains(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

arrayContains(String field, Object value)

public static Filter arrayContains(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

arrayContainsAny(FieldPath fieldPath, Object value)

public static Filter arrayContainsAny(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

arrayContainsAny(String field, Object value)

public static Filter arrayContainsAny(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

equalTo(FieldPath fieldPath, Object value)

public static Filter equalTo(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

equalTo(String field, Object value)

public static Filter equalTo(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

greaterThan(FieldPath fieldPath, Object value)

public static Filter greaterThan(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

greaterThan(String field, Object value)

public static Filter greaterThan(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

greaterThanOrEqualTo(FieldPath fieldPath, Object value)

public static Filter greaterThanOrEqualTo(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

greaterThanOrEqualTo(String field, Object value)

public static Filter greaterThanOrEqualTo(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

inArray(FieldPath fieldPath, Object value)

public static Filter inArray(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

inArray(String field, Object value)

public static Filter inArray(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

lessThan(FieldPath fieldPath, Object value)

public static Filter lessThan(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

lessThan(String field, Object value)

public static Filter lessThan(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

lessThanOrEqualTo(FieldPath fieldPath, Object value)

public static Filter lessThanOrEqualTo(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

lessThanOrEqualTo(String field, Object value)

public static Filter lessThanOrEqualTo(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

notEqualTo(FieldPath fieldPath, Object value)

public static Filter notEqualTo(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

notEqualTo(String field, Object value)

public static Filter notEqualTo(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

notInArray(FieldPath fieldPath, Object value)

public static Filter notInArray(FieldPath fieldPath, Object value)
Parameters
NameDescription
fieldPathFieldPath
valueObject
Returns
TypeDescription
Filter

notInArray(String field, Object value)

public static Filter notInArray(String field, Object value)
Parameters
NameDescription
fieldString
valueObject
Returns
TypeDescription
Filter

or(Filter[] filters)

public static Filter or(Filter[] filters)
Parameter
NameDescription
filtersFilter[]
Returns
TypeDescription
Filter

Constructors

Filter()

public Filter()