public interface IndexImplementation
IndexImplementation is typically tied to one implementation, f.ex.
lucene, http://lucene.apache.org/java.| Modifier and Type | Method and Description |
|---|---|
boolean |
configMatches(Map<String,String> storedConfig,
Map<String,String> config) |
Map<String,String> |
fillInDefaults(Map<String,String> config)
Fills in default configuration parameters for indexes provided from this
index provider.
|
void |
force() |
ResourceIterator<File> |
listStoreFiles()
Lists store files that this index provider manages.
|
org.neo4j.kernel.impl.transaction.command.NeoCommandHandler |
newApplier(boolean recovery) |
LegacyIndexProviderTransaction |
newTransaction(IndexCommandFactory commandFactory)
Returns a
LegacyIndexProviderTransaction that keeps transaction state for all
indexes for a given provider in a transaction. |
LegacyIndexProviderTransaction newTransaction(IndexCommandFactory commandFactory)
LegacyIndexProviderTransaction that keeps transaction state for all
indexes for a given provider in a transaction.configuration - that return a legacy index SPI for.LegacyIndexSPI which represents a type of index suitable for the
given configuration.org.neo4j.kernel.impl.transaction.command.NeoCommandHandler newApplier(boolean recovery)
Map<String,String> fillInDefaults(Map<String,String> config)
config - the configuration map to complete with defaults.Map filled with decent defaults for an index from
this index provider.void force()
ResourceIterator<File> listStoreFiles() throws IOException
ResourceIterator has been closed this
index provider must guarantee that the list of files stay intact. The files in the list can
change, but no files may be deleted or added during this period.IOExceptionCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.