
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,
OAtomicOperationsManager atomicOperationsManager) |
OBaseIndexEngine |
createIndexEngine(int indexId,
java.lang.String algorithm,
java.lang.String indexName,
java.lang.Boolean durableInNonTxMode,
OStorage storage,
int version,
int apiVersion,
boolean multiValue,
java.util.Map<java.lang.String,java.lang.String> engineProperties) |
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, OAtomicOperationsManager atomicOperationsManager) throws OConfigurationException
createIndex in interface OIndexFactoryOConfigurationExceptionpublic OBaseIndexEngine createIndexEngine(int indexId, java.lang.String algorithm, java.lang.String indexName, java.lang.Boolean durableInNonTxMode, OStorage storage, int version, int apiVersion, boolean multiValue, java.util.Map<java.lang.String,java.lang.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)
onLocalNodeConfigurationRequest in interface ODatabaseLifecycleListenerCopyright © 2013–2022 OrientDB. All rights reserved.