public abstract class AbstractUsersQuery extends Object implements Query
Query
testing users.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private Query.Operator |
_operator |
private Collection<UserIdentity> |
_users |
Constructor and Description |
---|
AbstractUsersQuery(Collection<UserIdentity> users)
Build a user query.
|
AbstractUsersQuery(Collection<UserIdentity> users,
Query.Operator operator)
Build a user query.
|
AbstractUsersQuery(UserIdentity... users)
Build a user 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<UserIdentity> _users
private Query.Operator _operator
public AbstractUsersQuery(UserIdentity... users)
users
- The users to test.public AbstractUsersQuery(Collection<UserIdentity> users)
users
- The users to test.public AbstractUsersQuery(Collection<UserIdentity> users, Query.Operator operator)
users
- The users to test.operator
- The query operator (can be EQ or NE).public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.