Interface ChangeIndex
-
- All Superinterfaces:
Index<Change.Id,ChangeData>
public interface ChangeIndex extends Index<Change.Id,ChangeData>
Index for Gerrit changes. 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
ChangeIndex.Factory
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Predicate<ChangeData>
keyPredicate(Change.Id id)
Get a predicate that looks up a single document by key.
-
-
-
Method Detail
-
keyPredicate
default Predicate<ChangeData> keyPredicate(Change.Id id)
Description copied from interface:Index
Get a predicate that looks up a single document by key.- Specified by:
keyPredicate
in interfaceIndex<Change.Id,ChangeData>
- Parameters:
id
- document key.- Returns:
- a single predicate.
-
-