
public class OLuceneSpatialIndexFactory extends Object implements OIndexFactory, ODatabaseLifecycleListener
ODatabaseLifecycleListener.PRIORITY| Constructor and Description |
|---|
OLuceneSpatialIndexFactory() |
OLuceneSpatialIndexFactory(boolean manual) |
| Modifier and Type | Method and Description |
|---|---|
OIndexInternal |
createIndex(String name,
OStorage storage,
String indexType,
String algorithm,
String valueContainerAlgorithm,
ODocument metadata,
int version)
Creates an index.
|
OBaseIndexEngine |
createIndexEngine(int indexId,
String algorithm,
String name,
Boolean durableInNonTxMode,
OStorage storage,
int version,
int apiVersion,
boolean multiValue,
Map<String,String> engineProperties) |
Set<String> |
getAlgorithms() |
int |
getLastVersion(String algorithm) |
ODatabaseLifecycleListener.PRIORITY |
getPriority() |
Set<String> |
getTypes() |
void |
onClose(ODatabaseInternal iDatabase) |
void |
onCreate(ODatabaseInternal iDatabase) |
void |
onCreateClass(ODatabaseInternal iDatabase,
OClass iClass) |
void |
onDrop(ODatabaseInternal db) |
void |
onDropClass(ODatabaseInternal iDatabase,
OClass iClass) |
void |
onLocalNodeConfigurationRequest(ODocument iConfiguration)
Event called during the retrieving of distributed configuration, usually at startup and when
the cluster shape changes.
|
void |
onOpen(ODatabaseInternal iDatabase) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCreateView, onDropViewpublic OLuceneSpatialIndexFactory()
public OLuceneSpatialIndexFactory(boolean manual)
public int getLastVersion(String algorithm)
getLastVersion in interface OIndexFactorypublic Set<String> getTypes()
getTypes in interface OIndexFactorypublic Set<String> getAlgorithms()
getAlgorithms in interface OIndexFactorypublic OIndexInternal createIndex(String name, OStorage storage, String indexType, String algorithm, String valueContainerAlgorithm, ODocument metadata, int version) throws OConfigurationException
OIndexFactorycreateIndex in interface OIndexFactoryindexType - index typeOConfigurationException - if index creation failedpublic OBaseIndexEngine createIndexEngine(int indexId, String algorithm, String name, Boolean durableInNonTxMode, OStorage storage, int version, int apiVersion, boolean multiValue, Map<String,String> engineProperties)
createIndexEngine in interface OIndexFactorypublic ODatabaseLifecycleListener.PRIORITY getPriority()
getPriority in interface ODatabaseLifecycleListenerpublic void onCreate(ODatabaseInternal iDatabase)
onCreate in interface ODatabaseLifecycleListenerpublic void onOpen(ODatabaseInternal iDatabase)
onOpen in interface ODatabaseLifecycleListenerpublic void onClose(ODatabaseInternal iDatabase)
onClose in interface ODatabaseLifecycleListenerpublic void onDrop(ODatabaseInternal db)
onDrop in interface ODatabaseLifecycleListenerpublic void onCreateClass(ODatabaseInternal iDatabase, OClass iClass)
onCreateClass in interface ODatabaseLifecycleListenerpublic void onDropClass(ODatabaseInternal iDatabase, OClass iClass)
onDropClass in interface ODatabaseLifecycleListenerpublic void onLocalNodeConfigurationRequest(ODocument iConfiguration)
ODatabaseLifecycleListeneronLocalNodeConfigurationRequest in interface ODatabaseLifecycleListenerCopyright © 2009–2025 OrientDB. All rights reserved.