public class AccountQueryProcessor extends QueryProcessor<AccountState>
QueryProcessor.Metrics
start, userProvider
Modifier | Constructor and Description |
---|---|
protected |
AccountQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider,
QueryProcessor.Metrics metrics,
IndexConfig indexConfig,
AccountIndexCollection indexes,
AccountIndexRewriter rewriter,
AccountControl.Factory accountControlFactory) |
Modifier and Type | Method and Description |
---|---|
protected Predicate<AccountState> |
enforceVisibility(Predicate<AccountState> pred)
Invoked after the query was rewritten.
|
createOptions, enforceVisibility, isDisabled, query, query, setLimit, setRequestedFields, setStart
@Inject protected AccountQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider, QueryProcessor.Metrics metrics, IndexConfig indexConfig, AccountIndexCollection indexes, AccountIndexRewriter rewriter, AccountControl.Factory accountControlFactory)
protected Predicate<AccountState> enforceVisibility(Predicate<AccountState> pred)
QueryProcessor
enforceVisibility
in class QueryProcessor<AccountState>
pred
- the query