Interface IndexManager
-
- All Known Implementing Classes:
DefaultIndexManager
public interface IndexManagerPoint of entry for logic related to handling Oak indexes- See Also:
- Oak-Run indexing
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXTENSION_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddRepoinitExtension(FeaturesManager features)Records the Oak index data using the features manager@NotNull IndexDefinitionsgetIndexes()Returns the index definitions managed by this instancevoidreset()Resets the internal state
-
-
-
Field Detail
-
EXTENSION_NAME
static final String EXTENSION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIndexes
@NotNull @NotNull IndexDefinitions getIndexes()
Returns the index definitions managed by this instanceThe returned object may be used to record data discovered about oak indexes
- Returns:
- the index definitions
-
addRepoinitExtension
void addRepoinitExtension(FeaturesManager features) throws IOException, ConverterException
Records the Oak index data using the features managerThe index definitions will be recoreded as a JSON repoinit extension named "oak-index-definitions" .
- Parameters:
features-- Throws:
IOExceptionConverterException
-
reset
void reset()
Resets the internal state
-
-