Interface AccountIndex
-
- All Superinterfaces:
Index<Account.Id,AccountState>
public interface AccountIndex extends Index<Account.Id,AccountState>
Index for Gerrit accounts. This class is mainly used for typing the generic parent class that contains actual implementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AccountIndex.Factory
-
Field Summary
Fields Modifier and Type Field Description static Function<AccountState,Account.Id>
ENTITY_TO_KEY
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Predicate<AccountState>
keyPredicate(Account.Id id)
Get a predicate that looks up a single document by key.
-
-
-
Field Detail
-
ENTITY_TO_KEY
static final Function<AccountState,Account.Id> ENTITY_TO_KEY
-
-
Method Detail
-
keyPredicate
default Predicate<AccountState> keyPredicate(Account.Id id)
Description copied from interface:Index
Get a predicate that looks up a single document by key.- Specified by:
keyPredicate
in interfaceIndex<Account.Id,AccountState>
- Parameters:
id
- document key.- Returns:
- a single predicate.
-
-