public abstract class AbstractGroupsQuery extends Object implements Query
Query testing groups.Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description |
|---|---|
private Collection<GroupIdentity> |
_groups |
private Query.Operator |
_operator |
| Constructor and Description |
|---|
AbstractGroupsQuery(Collection<GroupIdentity> groups)
Build a group query.
|
AbstractGroupsQuery(GroupIdentity... groups)
Build a group query.
|
AbstractGroupsQuery(Query.Operator operator,
Collection<GroupIdentity> groups)
Build a group query.
|
AbstractGroupsQuery(Query.Operator operator,
GroupIdentity... groups)
Build a group query.
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
protected abstract String |
getField()
The query field.
|
int |
hashCode() |
private Collection<GroupIdentity> _groups
private Query.Operator _operator
public AbstractGroupsQuery(GroupIdentity... groups)
groups - The groups to test.public AbstractGroupsQuery(Collection<GroupIdentity> groups)
groups - The groups to test.public AbstractGroupsQuery(Query.Operator operator, GroupIdentity... groups)
operator - The query operator (can be EQ or NE).groups - The groups to test.public AbstractGroupsQuery(Query.Operator operator, Collection<GroupIdentity> groups)
operator - The query operator (can be EQ or NE).groups - The groups to test.public String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.