|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.index.lucene.unsafe.batchinsert.LuceneBatchInserterIndexProvider
public class LuceneBatchInserterIndexProvider
The BatchInserter version of the Lucene-based indexes. Indexes
created and populated using BatchInserterIndexs from this provider
are compatible with the normal Indexes.
| Constructor Summary | |
|---|---|
LuceneBatchInserterIndexProvider(BatchInserter inserter)
|
|
| Method Summary | |
|---|---|
BatchInserterIndex |
nodeIndex(String indexName,
Map<String,String> config)
Returns a BatchInserterIndex for Nodes for the name
indexName with the given config. |
BatchInserterIndex |
relationshipIndex(String indexName,
Map<String,String> config)
Returns a BatchInserterIndex for Relationships for the
name indexName with the given config. |
void |
shutdown()
Shuts down this index provider and ensures that all indexes are fully written to disk. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneBatchInserterIndexProvider(BatchInserter inserter)
| Method Detail |
|---|
public BatchInserterIndex nodeIndex(String indexName,
Map<String,String> config)
BatchInserterIndexProviderBatchInserterIndex for Nodes for the name
indexName with the given config. The config
Map can contain any provider-implementation-specific data that
can control how an index behaves.
nodeIndex in interface BatchInserterIndexProviderindexName - the name of the index. It will be created if it doesn't
exist.config - a Map of configuration parameters to use with the
index if it doesn't exist. Parameters can be anything and are
implementation-specific.
BatchInserterIndex corresponding to the
indexName.
public BatchInserterIndex relationshipIndex(String indexName,
Map<String,String> config)
BatchInserterIndexProviderBatchInserterIndex for Relationships for the
name indexName with the given config. The config
Map can contain any provider-implementation-specific data that
can control how an index behaves.
relationshipIndex in interface BatchInserterIndexProviderindexName - the name of the index. It will be created if it doesn't
exist.config - a Map of configuration parameters to use with the
index if it doesn't exist. Parameters can be anything and are
implementation-specific.
BatchInserterIndex corresponding to the
indexName.public void shutdown()
BatchInserterIndexProviderBatchInserter there's no guaranteed that data added to indexes
will be persisted.
shutdown in interface BatchInserterIndexProvider
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||