see [value]Query#value for the specification of this attribute.
resource prefix in a PFQL query
use true if the Query object represents an empty query
whether this Query object represents an empty query or not
Resource prefix in a PFQL query. Might be undefined
a PFQL search query string.
the query value without the resource type prefix. If no prefix is present, returns the full value or empty string if the query contains only the resource prefix.
Adds a resource type prefix to the query value if it's not already present. If the query is empty, sets the value to the provided prefix. If the prefix is already present at the start of the value, returns the query unchanged. Otherwise, prepends the prefix followed by the delimiter to the existing value.
the resource type prefix to add to the query
this Query instance with the updated value
the query that should be compared
true if and only if the queries are equal.
Returns false if the queries are not equal, or if attempting to tell the queries apart is too complicated.
More specifically the method can always tell apart empty queries and if both queries are non-empty then their values are compared.
StaticcombineCombines multiple queries into one with the provided operator.
queries that should be combined. Empty queries in the input array are ignored.
operator that is used to combine the queries
a single query that is the combination of the non-empty queries in the input array. If the input array is empty an [empty query]Query#emptyQuery will be returned.
Staticempty
Abstraction of queries, so that their implementation can be replaced as needed.