Package com.orientechnologies.lucene
Class OLuceneCrossClassIndexFactory
java.lang.Object
com.orientechnologies.lucene.OLuceneCrossClassIndexFactory
- All Implemented Interfaces:
ODatabaseLifecycleListener,OIndexFactory
public class OLuceneCrossClassIndexFactory
extends Object
implements OIndexFactory, ODatabaseLifecycleListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListener
ODatabaseLifecycleListener.PRIORITY -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIndex(OStorage storage, OIndexMetadata im) Creates an index.createIndexEngine(OStorage storage, IndexEngineData data) intgetLastVersion(String algorithm) getTypes()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListener
onClose, onCreate, onCreateClass, onCreateView, onDropClass, onDropView, onLocalNodeConfigurationRequest, onOpen
-
Field Details
-
LUCENE_CROSS_CLASS
- See Also:
-
-
Constructor Details
-
OLuceneCrossClassIndexFactory
public OLuceneCrossClassIndexFactory() -
OLuceneCrossClassIndexFactory
public OLuceneCrossClassIndexFactory(boolean manual)
-
-
Method Details
-
getLastVersion
- Specified by:
getLastVersionin interfaceOIndexFactory
-
getTypes
- Specified by:
getTypesin interfaceOIndexFactory- Returns:
- List of supported indexes of this factory
-
getAlgorithms
- Specified by:
getAlgorithmsin interfaceOIndexFactory- Returns:
- List of supported algorithms of this factory
-
createIndex
public OIndexInternal createIndex(OStorage storage, OIndexMetadata im) throws OConfigurationException Description copied from interface:OIndexFactoryCreates an index.- Specified by:
createIndexin interfaceOIndexFactoryim- TODO- Returns:
- OIndexInternal
- Throws:
OConfigurationException- if index creation failed
-
createIndexEngine
- Specified by:
createIndexEnginein interfaceOIndexFactory
-
getPriority
- Specified by:
getPriorityin interfaceODatabaseLifecycleListener
-
onDrop
- Specified by:
onDropin interfaceODatabaseLifecycleListener
-