Package org.fcrepo.persistence.ocfl.impl
Class IndexBuilderImpl
- java.lang.Object
-
- org.fcrepo.persistence.ocfl.impl.IndexBuilderImpl
-
- All Implemented Interfaces:
IndexBuilder
@Component public class IndexBuilderImpl extends Object implements IndexBuilder
An implementation ofIndexBuilder. This implementation rebuilds the following indexable state derived from the underlying OCFL directory: 1) the link between aFedoraIdand an OCFL object identifier 2) the containment relationships betweenFedoraIds 3) the reference relationships betweenFedoraIds 4) the search index 5) the membership relationships for Direct and Indirect containers.- Since:
- 6.0.0
- Author:
- dbernstein, whikloj
-
-
Constructor Summary
Constructors Constructor Description IndexBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrebuildIfNecessary()Rebuilds the index only when the existing index is not populated.
-
-
-
Constructor Detail
-
IndexBuilderImpl
public IndexBuilderImpl()
-
-
Method Detail
-
rebuildIfNecessary
public void rebuildIfNecessary()
Description copied from interface:IndexBuilderRebuilds the index only when the existing index is not populated.- Specified by:
rebuildIfNecessaryin interfaceIndexBuilder
-
-