
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,
ODatabaseDocumentInternal database,
String indexType,
String algorithm,
String valueContainerAlgorithm,
ODocument metadata,
int version)
Creates an index.
|
OIndexEngine |
createIndexEngine(String algorithm,
String indexName,
Boolean durableInNonTxMode,
OStorage storage,
int version,
Map<String,String> engineProperties) |
Set<String> |
getAlgorithms() |
int |
getLastVersion() |
ODatabaseLifecycleListener.PRIORITY |
getPriority() |
Set<String> |
getTypes() |
void |
onClose(ODatabaseInternal iDatabase) |
void |
onCreate(ODatabaseInternal iDatabase) |
void |
onCreateClass(ODatabaseInternal db,
OClass oClass) |
void |
onDrop(ODatabaseInternal db) |
void |
onDropClass(ODatabaseInternal db,
OClass oClass) |
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) |
public static final String LUCENE_ALGORITHM
public OLuceneIndexFactory()
public OLuceneIndexFactory(boolean manual)
public int getLastVersion()
getLastVersion in interface OIndexFactorypublic Set<String> getTypes()
getTypes in interface OIndexFactorypublic Set<String> getAlgorithms()
getAlgorithms in interface OIndexFactorypublic OIndexInternal<?> createIndex(String name, ODatabaseDocumentInternal database, String indexType, String algorithm, String valueContainerAlgorithm, ODocument metadata, int version) throws OConfigurationException
OIndexFactorycreateIndex in interface OIndexFactoryindexType - index typeOConfigurationException - if index creation failedpublic OIndexEngine createIndexEngine(String algorithm, String indexName, Boolean durableInNonTxMode, OStorage storage, int version, 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 db, OClass oClass)
onCreateClass in interface ODatabaseLifecycleListenerpublic void onDropClass(ODatabaseInternal db, OClass oClass)
onDropClass in interface ODatabaseLifecycleListenerpublic void onLocalNodeConfigurationRequest(ODocument iConfiguration)
ODatabaseLifecycleListeneronLocalNodeConfigurationRequest in interface ODatabaseLifecycleListenerCopyright © 2009–2025 OrientDB. All rights reserved.