
public class OLuceneIndexFactory extends Object implements OIndexFactory, ODatabaseLifecycleListener
ODatabaseLifecycleListener.PRIORITY| Modifier and Type | Field and Description |
|---|---|
static String |
LUCENE_ALGORITHM |
| Constructor and Description |
|---|
OLuceneIndexFactory() |
OLuceneIndexFactory(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(String algorithm,
String indexName,
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 db) |
void |
onCreate(ODatabaseInternal db) |
void |
onDrop(ODatabaseInternal db) |
void |
onLocalNodeConfigurationRequest(ODocument iConfiguration)
Event called during the retrieving of distributed configuration, usually at startup and when the cluster shape changes.
|
void |
onOpen(ODatabaseInternal db) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCreateClass, onDropClasspublic static final String LUCENE_ALGORITHM
public OLuceneIndexFactory()
public OLuceneIndexFactory(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 OIndexFactorystorage - TODOindexType - index typeOConfigurationException - if index creation failedpublic OBaseIndexEngine createIndexEngine(String algorithm, String indexName, 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 db)
onCreate in interface ODatabaseLifecycleListenerpublic void onOpen(ODatabaseInternal db)
onOpen in interface ODatabaseLifecycleListenerpublic void onClose(ODatabaseInternal db)
onClose in interface ODatabaseLifecycleListenerpublic void onDrop(ODatabaseInternal db)
onDrop in interface ODatabaseLifecycleListenerpublic void onLocalNodeConfigurationRequest(ODocument iConfiguration)
ODatabaseLifecycleListeneronLocalNodeConfigurationRequest in interface ODatabaseLifecycleListenerCopyright © 2009–2025 OrientDB. All rights reserved.