public class CollectionsQuery extends Object implements Query
Query
testing SynchronizableContentsCollection
s of contents.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private List<String> |
_collectionIds |
private Query.Operator |
_operator |
Constructor and Description |
---|
CollectionsQuery(Collection<String> ids)
Build a CollectionsQuery.
|
CollectionsQuery(Query.Operator operator,
Collection<String> ids)
Build a CollectionsQuery.
|
CollectionsQuery(Query.Operator operator,
String... ids)
Build a CollectionsQuery.
|
CollectionsQuery(String... ids)
Build a CollectionsQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
private Query.Operator _operator
private List<String> _collectionIds
public CollectionsQuery(String... ids)
ids
- The ids of the SynchronizableContentsCollection
s to testpublic CollectionsQuery(Collection<String> ids)
ids
- The ids of the SynchronizableContentsCollection
s to testpublic CollectionsQuery(Query.Operator operator, String... ids)
operator
- The query operator (can be EQ or NE).ids
- The ids of the SynchronizableContentsCollection
s to testpublic CollectionsQuery(Query.Operator operator, Collection<String> ids)
operator
- The query operator (can be EQ or NE).ids
- The ids of the SynchronizableContentsCollection
s to testpublic String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.