|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IndexImplementation
A provider which can create and instantiate Indexs.
An IndexImplementation is typically tied to one implementation, f.ex.
lucene, http://lucene.apache.org/java.
| Method Summary | |
|---|---|
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. |
String |
getDataSourceName()
Returns the name of the XA data source coupled with this index provider. |
Index<Node> |
nodeIndex(String indexName,
Map<String,String> config)
Returns an Index for Nodes for the name
indexName with the given config. |
RelationshipIndex |
relationshipIndex(String indexName,
Map<String,String> config)
Returns an Index for Relationships for the name
indexName with the given config. |
| Method Detail |
|---|
String getDataSourceName()
Index<Node> nodeIndex(String indexName,
Map<String,String> config)
Index 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.
indexName - the name of the index.config - a Map of configuration parameters to use with the
index. Parameters can be anything and are implementation-specific. This
map represents how the configuration looks right now, they might be modified
later using IndexManager.setConfiguration(Index, String, String)
or IndexManager.removeConfiguration(Index, String).
Index corresponding to the indexName and
config.
RelationshipIndex relationshipIndex(String indexName,
Map<String,String> config)
Index 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.
indexName - the name of the index.config - a Map of configuration parameters to use with the
index. Parameters can be anything and are implementation-specific. This
map represents how the configuration looks right now, they might be modified
later using IndexManager.setConfiguration(Index, String, String)
or IndexManager.removeConfiguration(Index, String).
Index corresponding to the indexName and
config. The return index is a RelationshipIndex with
additional query methods for efficiently filtering hits with respect to
start/end node of the relationships.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.
boolean configMatches(Map<String,String> storedConfig,
Map<String,String> config)
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||