public class LuceneIndexImplementation
extends org.neo4j.kernel.lifecycle.LifecycleAdapter
implements org.neo4j.kernel.spi.legacyindex.IndexImplementation
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
EXACT_CONFIG |
static Map<String,String> |
FULLTEXT_CONFIG |
static String |
SERVICE_NAME |
| Constructor and Description |
|---|
LuceneIndexImplementation(File storeDir,
org.neo4j.kernel.configuration.Config config,
Supplier<org.neo4j.kernel.impl.index.IndexConfigStore> indexStore,
org.neo4j.io.fs.FileSystemAbstraction fileSystemAbstraction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configMatches(Map<String,String> storedConfig,
Map<String,String> config) |
Map<String,String> |
fillInDefaults(Map<String,String> source) |
void |
force() |
File |
getIndexImplementationDirectory(File storeDir) |
void |
init() |
org.neo4j.graphdb.ResourceIterator<File> |
listStoreFiles() |
org.neo4j.kernel.impl.api.TransactionApplier |
newApplier(boolean recovery) |
org.neo4j.kernel.spi.legacyindex.LegacyIndexProviderTransaction |
newTransaction(org.neo4j.kernel.spi.legacyindex.IndexCommandFactory commandFactory) |
void |
shutdown() |
void |
start() |
void |
stop() |
public static final String SERVICE_NAME
public void init()
throws Throwable
init in interface org.neo4j.kernel.lifecycle.Lifecycleinit in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationinit in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.Lifecyclestart in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationstart in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic void stop()
throws Throwable
stop in interface org.neo4j.kernel.lifecycle.Lifecyclestop in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationstop in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic void shutdown()
throws Throwable
shutdown in interface org.neo4j.kernel.lifecycle.Lifecycleshutdown in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationshutdown in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic File getIndexImplementationDirectory(File storeDir)
getIndexImplementationDirectory in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationpublic org.neo4j.kernel.spi.legacyindex.LegacyIndexProviderTransaction newTransaction(org.neo4j.kernel.spi.legacyindex.IndexCommandFactory commandFactory)
newTransaction in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationpublic Map<String,String> fillInDefaults(Map<String,String> source)
fillInDefaults in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationpublic boolean configMatches(Map<String,String> storedConfig, Map<String,String> config)
configMatches in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationpublic org.neo4j.kernel.impl.api.TransactionApplier newApplier(boolean recovery)
newApplier in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationpublic org.neo4j.graphdb.ResourceIterator<File> listStoreFiles() throws IOException
listStoreFiles in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationIOExceptionpublic void force()
force in interface org.neo4j.kernel.spi.legacyindex.IndexImplementationCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.