Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description | 
|---|---|
private List<String> | 
_names  | 
private Query.Operator | 
_operator  | 
| Constructor and Description | 
|---|
SiteQuery()
Build a SiteQuery to test if the site property exists 
 | 
SiteQuery(Collection<String> names)
Build a SiteQuery to test if the site property is equals to one of the given site names 
 | 
SiteQuery(Query.Operator operator,
         Collection<String> names)
Build a SiteQuery. 
 | 
SiteQuery(Query.Operator operator,
         String... names)
Build a SiteQuery to test if the site property is equals or different to one of the given site names 
 | 
SiteQuery(String... names)
Build a SiteQuery to test if the site property is equals to one of the given site names 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
build()
Build the solr query string representing the Query object. 
 | 
boolean | 
equals(Object obj)  | 
List<String> | 
getNames()
Get the site names. 
 | 
Query.Operator | 
getOperator()
Get the operator. 
 | 
int | 
hashCode()  | 
private Query.Operator _operator
public SiteQuery()
public SiteQuery(String... names)
names - the site names.public SiteQuery(Collection<String> names)
names - the site names.public SiteQuery(Query.Operator operator, String... names)
operator - the operator (equals ot not-equals)names - the site names.public SiteQuery(Query.Operator operator, Collection<String> names)
operator - the operator.names - the site names.public Query.Operator getOperator()
public String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.