Package org.fcrepo.persistence.ocfl.impl
Class IndexBuilderImpl
java.lang.Object
org.fcrepo.persistence.ocfl.impl.IndexBuilderImpl
- All Implemented Interfaces:
IndexBuilder
An implementation of
IndexBuilder. This implementation rebuilds the following indexable state derived
from the underlying OCFL directory:
1) the link between a FedoraId and an OCFL object identifier
2) the containment relationships between FedoraIds
3) the reference relationships between FedoraIds
4) the search index
5) the membership relationships for Direct and Indirect containers.- Since:
- 6.0.0
- Author:
- dbernstein, whikloj
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRebuilds the index only when the existing index is not populated.
-
Constructor Details
-
IndexBuilderImpl
public IndexBuilderImpl()
-
-
Method Details
-
rebuildIfNecessary
Description copied from interface:IndexBuilderRebuilds the index only when the existing index is not populated.- Specified by:
rebuildIfNecessaryin interfaceIndexBuilder
-