Class AllGroupsIndexer
- java.lang.Object
-
- com.google.gerrit.index.SiteIndexer<AccountGroup.UUID,InternalGroup,GroupIndex>
-
- com.google.gerrit.server.index.group.AllGroupsIndexer
-
public class AllGroupsIndexer extends SiteIndexer<AccountGroup.UUID,InternalGroup,GroupIndex>
Implementation that can index all groups on a host. Used by Gerrit's initialization and upgrade programs as well as by REST API endpoints that offer this functionality.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gerrit.index.SiteIndexer
SiteIndexer.Result
-
-
Field Summary
-
Fields inherited from class com.google.gerrit.index.SiteIndexer
progressOut, totalWork, verboseWriter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SiteIndexer.Result
indexAll(GroupIndex index)
Indexes all entities for the provided index.-
Methods inherited from class com.google.gerrit.index.SiteIndexer
addErrorListener, newPrintWriter, setProgressOut, setTotalWork, setVerboseOut
-
-
-
-
Method Detail
-
indexAll
public SiteIndexer.Result indexAll(GroupIndex index)
Description copied from class:SiteIndexer
Indexes all entities for the provided index.- Specified by:
indexAll
in classSiteIndexer<AccountGroup.UUID,InternalGroup,GroupIndex>
-
-