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 aFedoraId
and an OCFL object identifier 2) the containment relationships betweenFedoraId
s 3) the reference relationships betweenFedoraId
s 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 void
rebuildIfNecessary()
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:IndexBuilder
Rebuilds the index only when the existing index is not populated.- Specified by:
rebuildIfNecessary
in interfaceIndexBuilder
-
-