Class AllAccountsIndexer
- java.lang.Object
-
- com.google.gerrit.index.SiteIndexer<Account.Id,AccountState,AccountIndex>
-
- com.google.gerrit.server.index.account.AllAccountsIndexer
-
public class AllAccountsIndexer extends SiteIndexer<Account.Id,AccountState,AccountIndex>
Implementation that can index all accounts 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(AccountIndex 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(AccountIndex index)
Description copied from class:SiteIndexer
Indexes all entities for the provided index.- Specified by:
indexAll
in classSiteIndexer<Account.Id,AccountState,AccountIndex>
-
-