java.lang.Object | |
↳ | com.google.android.gms.drive.query.Filters |
A factory for creating filters that are used to construct a Query.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a filter that matches items which are matched by every element of
filters . | |||||||||||
Returns a logical expression which combines filters with the 'AND' operator.
| |||||||||||
Returns a filter which checks whether
value is a substring of field . | |||||||||||
Returns a filter which checks whether a custom property with the specified
key exists
and its value equals value . | |||||||||||
Returns a filter which checks if the value of
field equals value . | |||||||||||
Returns a filter which checks if the value of
field is greater than value . | |||||||||||
Returns a filter which checks if the value of
field is greater than or equal to
value . | |||||||||||
Returns a filter which checks whether
value is an element of field . | |||||||||||
Returns a filter which checks if the value of
field is less than value . | |||||||||||
Returns a filter which checks if the value of
field is less than or equal to
value . | |||||||||||
Returns the negation of an filter.
| |||||||||||
Returns a filter that matches only items that the current user has opened in the past.
| |||||||||||
Returns a filter that matches items which are matched by any element of
filters . | |||||||||||
Returns a filter that matches items which are matched by any of the provided filter
parameters.
| |||||||||||
Returns a filter that matches only items that the current user owns.
| |||||||||||
Returns a filter that matches only items that are shared with the current user.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns a filter that matches items which are matched by every element of filters
.
Parameters | |
---|---|
filters |
Iterable
|
Returns | |
---|---|
Filter |
Returns a logical expression which combines filters with the 'AND' operator.
Parameters | |
---|---|
filter |
Filter
|
additionalFilters |
Filter
|
Returns | |
---|---|
Filter |
Returns a filter which checks whether value
is a substring of field
.
This filter can only be used with fields that contain a string value.
Parameters | |
---|---|
field |
SearchableMetadataField
|
value |
String
|
Returns | |
---|---|
Filter |
Returns a filter which checks whether a custom property with the specified key
exists
and its value equals value
. The provided value
may not be null.
Parameters | |
---|---|
key |
CustomPropertyKey
|
value |
String
|
Returns | |
---|---|
Filter |
Returns a filter which checks if the value of field
equals value
.
Parameters | |
---|---|
field |
SearchableMetadataField
|
value |
T
|
Returns | |
---|---|
Filter |
Returns a filter which checks if the value of field
is greater than value
.
This filter can only be used with fields that have a sort order.
Parameters | |
---|---|
field |
SearchableOrderedMetadataField
|
value |
T
|
Returns | |
---|---|
Filter |
Returns a filter which checks if the value of field
is greater than or equal to
value
. This filter can only be used with fields that have a sort order.
Parameters | |
---|---|
field |
SearchableOrderedMetadataField
|
value |
T
|
Returns | |
---|---|
Filter |
Returns a filter which checks whether value
is an element of field
.
This filter can only be used with fields that contain a collection value.
Parameters | |
---|---|
field |
SearchableCollectionMetadataField
|
value |
T
|
Returns | |
---|---|
Filter |
Returns a filter which checks if the value of field
is less than value
. This
filter can only be used with fields that have a sort order.
Parameters | |
---|---|
field |
SearchableOrderedMetadataField
|
value |
T
|
Returns | |
---|---|
Filter |
Returns a filter which checks if the value of field
is less than or equal to
value
. This filter can only be used with fields that have a sort order.
Parameters | |
---|---|
field |
SearchableOrderedMetadataField
|
value |
T
|
Returns | |
---|---|
Filter |
Returns a filter that matches only items that the current user has opened in the past.
Returns | |
---|---|
Filter |
Returns a filter that matches items which are matched by any element of filters
.
Parameters | |
---|---|
filters |
Iterable
|
Returns | |
---|---|
Filter |
Returns a filter that matches items which are matched by any of the provided filter parameters.
Parameters | |
---|---|
filter |
Filter
|
additionalFilters |
Filter
|
Returns | |
---|---|
Filter |
Returns a filter that matches only items that the current user owns.
Returns | |
---|---|
Filter |
Returns a filter that matches only items that are shared with the current user.
Returns | |
---|---|
Filter |