Class AccountQueryBuilder
- java.lang.Object
-
- com.google.gerrit.index.query.QueryBuilder<AccountState>
-
- com.google.gerrit.server.query.account.AccountQueryBuilder
-
public class AccountQueryBuilder extends com.google.gerrit.index.query.QueryBuilder<AccountState>
Parses a query string meant to be applied to account objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccountQueryBuilder.Arguments
-
Nested classes/interfaces inherited from class com.google.gerrit.index.query.QueryBuilder
com.google.gerrit.index.query.QueryBuilder.Definition<T extends Object,Q extends com.google.gerrit.index.query.QueryBuilder<T>>, com.google.gerrit.index.query.QueryBuilder.Operator, com.google.gerrit.index.query.QueryBuilder.OperatorFactory<T extends Object,Q extends com.google.gerrit.index.query.QueryBuilder<T>>
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_ACCOUNT
static String
FIELD_EMAIL
static String
FIELD_LIMIT
static String
FIELD_NAME
static String
FIELD_PREFERRED_EMAIL
static String
FIELD_PREFERRED_EMAIL_EXACT
static String
FIELD_USERNAME
static String
FIELD_VISIBLETO
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gerrit.index.query.Predicate<AccountState>
cansee(String change)
protected com.google.gerrit.index.query.Predicate<AccountState>
defaultField(String query)
com.google.gerrit.index.query.Predicate<AccountState>
defaultQuery(String query)
com.google.gerrit.index.query.Predicate<AccountState>
email(String email)
com.google.gerrit.index.query.Predicate<AccountState>
is(String value)
com.google.gerrit.index.query.Predicate<AccountState>
limit(String query)
com.google.gerrit.index.query.Predicate<AccountState>
name(String name)
com.google.gerrit.index.query.Predicate<AccountState>
username(String username)
-
-
-
Field Detail
-
FIELD_ACCOUNT
public static final String FIELD_ACCOUNT
- See Also:
- Constant Field Values
-
FIELD_EMAIL
public static final String FIELD_EMAIL
- See Also:
- Constant Field Values
-
FIELD_LIMIT
public static final String FIELD_LIMIT
- See Also:
- Constant Field Values
-
FIELD_NAME
public static final String FIELD_NAME
- See Also:
- Constant Field Values
-
FIELD_PREFERRED_EMAIL
public static final String FIELD_PREFERRED_EMAIL
- See Also:
- Constant Field Values
-
FIELD_PREFERRED_EMAIL_EXACT
public static final String FIELD_PREFERRED_EMAIL_EXACT
- See Also:
- Constant Field Values
-
FIELD_USERNAME
public static final String FIELD_USERNAME
- See Also:
- Constant Field Values
-
FIELD_VISIBLETO
public static final String FIELD_VISIBLETO
- See Also:
- Constant Field Values
-
-
Method Detail
-
cansee
public com.google.gerrit.index.query.Predicate<AccountState> cansee(String change) throws QueryParseException, com.google.gwtorm.server.OrmException, PermissionBackendException
- Throws:
QueryParseException
com.google.gwtorm.server.OrmException
PermissionBackendException
-
email
public com.google.gerrit.index.query.Predicate<AccountState> email(String email)
-
is
public com.google.gerrit.index.query.Predicate<AccountState> is(String value) throws QueryParseException
- Throws:
QueryParseException
-
limit
public com.google.gerrit.index.query.Predicate<AccountState> limit(String query) throws QueryParseException
- Throws:
QueryParseException
-
name
public com.google.gerrit.index.query.Predicate<AccountState> name(String name)
-
username
public com.google.gerrit.index.query.Predicate<AccountState> username(String username)
-
defaultQuery
public com.google.gerrit.index.query.Predicate<AccountState> defaultQuery(String query)
-
defaultField
protected com.google.gerrit.index.query.Predicate<AccountState> defaultField(String query)
- Overrides:
defaultField
in classcom.google.gerrit.index.query.QueryBuilder<AccountState>
-
-