Interface OIndexFactory
- All Known Implementing Classes:
OAutoShardingIndexFactory,ODefaultIndexFactory,OHashIndexFactory,OLuceneCrossClassIndexFactory,OLuceneIndexFactory,OLuceneSpatialIndexFactory
public interface OIndexFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateIndex(OStorage storage, OIndexMetadata im) Creates an index.createIndexEngine(OStorage storage, IndexEngineData data) intgetLastVersion(String algorithm) getTypes()
-
Method Details
-
getLastVersion
-
getTypes
- Returns:
- List of supported indexes of this factory
-
getAlgorithms
- Returns:
- List of supported algorithms of this factory
-
createIndex
Creates an index.- Parameters:
im- TODO- Returns:
- OIndexInternal
- Throws:
OConfigurationException- if index creation failed
-
createIndexEngine
-