|
Neo4j | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
BatchInserterIndexProvider
as of version 1.7.
public interface BatchInserterIndexProvider
A place to access BatchInserterIndex
s from a certain index provider.
Use together with BatchInserter
to create indexes which later can be
accessed through GraphDatabaseService.index()
.
Method Summary | |
---|---|
BatchInserterIndex |
nodeIndex(String indexName,
Map<String,String> config)
Deprecated. Returns a BatchInserterIndex for Node s for the name
indexName with the given config . |
BatchInserterIndex |
relationshipIndex(String indexName,
Map<String,String> config)
Deprecated. Returns a BatchInserterIndex for Relationship s for the name
indexName with the given config . |
void |
shutdown()
Deprecated. Shuts down this index provider and ensures that all indexes are fully written to disk. |
Method Detail |
---|
BatchInserterIndex nodeIndex(String indexName, Map<String,String> config)
BatchInserterIndex
for Node
s 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.
indexName
- 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.
Index
corresponding to the indexName
.BatchInserterIndex relationshipIndex(String indexName, Map<String,String> config)
BatchInserterIndex
for Relationship
s 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.
indexName
- 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.
Index
corresponding to the indexName
.void shutdown()
BatchInserter
there's no guaranteed that data added to indexes
will be persisted.
|
Neo4j | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |