
public class OLuceneIndexFactory extends java.lang.Object implements OIndexFactory, ODatabaseLifecycleListener
ODatabaseLifecycleListener.PRIORITY| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LUCENE_ALGORITHM |
| Constructor and Description |
|---|
OLuceneIndexFactory() |
OLuceneIndexFactory(boolean manual) |
| Modifier and Type | Method and Description |
|---|---|
OIndexInternal |
createIndex(java.lang.String name,
OStorage storage,
java.lang.String indexType,
java.lang.String algorithm,
java.lang.String valueContainerAlgorithm,
ODocument metadata,
int version) |
OBaseIndexEngine |
createIndexEngine(int indexId,
java.lang.String algorithm,
java.lang.String indexName,
OStorage storage,
int version,
boolean multiValue) |
java.util.Set<java.lang.String> |
getAlgorithms() |
int |
getLastVersion(java.lang.String algorithm) |
ODatabaseLifecycleListener.PRIORITY |
getPriority() |
java.util.Set<java.lang.String> |
getTypes() |
void |
onClose(ODatabaseInternal db) |
void |
onCreate(ODatabaseInternal db) |
void |
onDrop(ODatabaseInternal db) |
void |
onLocalNodeConfigurationRequest(ODocument iConfiguration) |
void |
onOpen(ODatabaseInternal db) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCreateClass, onCreateView, onDropClass, onDropViewpublic static final java.lang.String LUCENE_ALGORITHM
public OLuceneIndexFactory()
public OLuceneIndexFactory(boolean manual)
public int getLastVersion(java.lang.String algorithm)
getLastVersion in interface OIndexFactorypublic java.util.Set<java.lang.String> getTypes()
getTypes in interface OIndexFactorypublic java.util.Set<java.lang.String> getAlgorithms()
getAlgorithms in interface OIndexFactorypublic OIndexInternal createIndex(java.lang.String name, OStorage storage, java.lang.String indexType, java.lang.String algorithm, java.lang.String valueContainerAlgorithm, ODocument metadata, int version) throws OConfigurationException
createIndex in interface OIndexFactoryOConfigurationExceptionpublic OBaseIndexEngine createIndexEngine(int indexId, java.lang.String algorithm, java.lang.String indexName, OStorage storage, int version, boolean multiValue)
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)
onLocalNodeConfigurationRequest in interface ODatabaseLifecycleListenerCopyright © 2013–2022 OrientDB. All rights reserved.