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.Lifecycle
init
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
init
in class org.neo4j.kernel.lifecycle.LifecycleAdapter
Throwable
public void start() throws Throwable
start
in interface org.neo4j.kernel.lifecycle.Lifecycle
start
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
start
in class org.neo4j.kernel.lifecycle.LifecycleAdapter
Throwable
public void stop() throws Throwable
stop
in interface org.neo4j.kernel.lifecycle.Lifecycle
stop
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
stop
in class org.neo4j.kernel.lifecycle.LifecycleAdapter
Throwable
public void shutdown() throws Throwable
shutdown
in interface org.neo4j.kernel.lifecycle.Lifecycle
shutdown
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
shutdown
in class org.neo4j.kernel.lifecycle.LifecycleAdapter
Throwable
public File getIndexImplementationDirectory(File storeDir)
getIndexImplementationDirectory
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
public org.neo4j.kernel.spi.legacyindex.LegacyIndexProviderTransaction newTransaction(org.neo4j.kernel.spi.legacyindex.IndexCommandFactory commandFactory)
newTransaction
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
public Map<String,String> fillInDefaults(Map<String,String> source)
fillInDefaults
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
public boolean configMatches(Map<String,String> storedConfig, Map<String,String> config)
configMatches
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
public org.neo4j.kernel.impl.api.TransactionApplier newApplier(boolean recovery)
newApplier
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
public org.neo4j.graphdb.ResourceIterator<File> listStoreFiles() throws IOException
listStoreFiles
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
IOException
public void force()
force
in interface org.neo4j.kernel.spi.legacyindex.IndexImplementation
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.