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()voidonClose(ODatabaseInternal iDatabase) voidonCreate(ODatabaseInternal iDatabase) voidonCreateClass(ODatabaseInternal iDatabase, OClass iClass) voidvoidonDropClass(ODatabaseInternal iDatabase, OClass iClass) voidonLocalNodeConfigurationRequest(ODocument iConfiguration) Event called during the retrieving of distributed configuration, usually at startup and when the cluster shape changes.voidonOpen(ODatabaseInternal iDatabase) Methods 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
onCreateView, onDropView
-
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
-
onOpen
- Specified by:
onOpenin interfaceODatabaseLifecycleListener
-
onClose
- Specified by:
onClosein interfaceODatabaseLifecycleListener
-
onDrop
- Specified by:
onDropin interfaceODatabaseLifecycleListener
-
onCreateClass
- Specified by:
onCreateClassin interfaceODatabaseLifecycleListener
-
onDropClass
- Specified by:
onDropClassin interfaceODatabaseLifecycleListener
-
onLocalNodeConfigurationRequest
Description copied from interface:ODatabaseLifecycleListenerEvent called during the retrieving of distributed configuration, usually at startup and when the cluster shape changes. You can use this event to enrich the ODocument sent to the client with custom properties.- Specified by:
onLocalNodeConfigurationRequestin interfaceODatabaseLifecycleListener
-