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, wait
onCreateView, onDropView
public OLuceneSpatialIndexFactory()
public OLuceneSpatialIndexFactory(boolean manual)
public int getLastVersion(String algorithm)
getLastVersion
in interface OIndexFactory
public Set<String> getTypes()
getTypes
in interface OIndexFactory
public Set<String> getAlgorithms()
getAlgorithms
in interface OIndexFactory
public OIndexInternal createIndex(String name, OStorage storage, String indexType, String algorithm, String valueContainerAlgorithm, ODocument metadata, int version) throws OConfigurationException
OIndexFactory
createIndex
in interface OIndexFactory
indexType
- 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 OIndexFactory
public ODatabaseLifecycleListener.PRIORITY getPriority()
getPriority
in interface ODatabaseLifecycleListener
public void onCreate(ODatabaseInternal iDatabase)
onCreate
in interface ODatabaseLifecycleListener
public void onOpen(ODatabaseInternal iDatabase)
onOpen
in interface ODatabaseLifecycleListener
public void onClose(ODatabaseInternal iDatabase)
onClose
in interface ODatabaseLifecycleListener
public void onDrop(ODatabaseInternal db)
onDrop
in interface ODatabaseLifecycleListener
public void onCreateClass(ODatabaseInternal iDatabase, OClass iClass)
onCreateClass
in interface ODatabaseLifecycleListener
public void onDropClass(ODatabaseInternal iDatabase, OClass iClass)
onDropClass
in interface ODatabaseLifecycleListener
public void onLocalNodeConfigurationRequest(ODocument iConfiguration)
ODatabaseLifecycleListener
onLocalNodeConfigurationRequest
in interface ODatabaseLifecycleListener
Copyright © 2009–2020 OrientDB. All rights reserved.