Package com.orientechnologies.spatial
Class OLuceneSpatialIndexFactory
java.lang.Object
com.orientechnologies.spatial.OLuceneSpatialIndexFactory
- All Implemented Interfaces:
ODatabaseLifecycleListener,OIndexFactory
public class OLuceneSpatialIndexFactory
extends Object
implements OIndexFactory, ODatabaseLifecycleListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListener
ODatabaseLifecycleListener.PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIndex(OStorage storage, OIndexMetadata im) Creates an index.createIndexEngine(OStorage storage, IndexEngineData data) intgetLastVersion(String algorithm) getTypes()voidonCreate(ODatabaseInternal iDatabase) 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, onCreateClass, onCreateView, onDropClass, onDropView, onLocalNodeConfigurationRequest, onOpen
-
Constructor Details
-
OLuceneSpatialIndexFactory
public OLuceneSpatialIndexFactory() -
OLuceneSpatialIndexFactory
public OLuceneSpatialIndexFactory(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
-
onCreate
- Specified by:
onCreatein interfaceODatabaseLifecycleListener
-
onDrop
- Specified by:
onDropin interfaceODatabaseLifecycleListener
-