Spring Data Neo4j

org.springframework.data.neo4j.support.index
Class IndexProvider

java.lang.Object
  extended by org.springframework.data.neo4j.support.index.IndexProvider

public class IndexProvider
extends Object

Since:
17.10.11
Author:
mh

Constructor Summary
IndexProvider(Neo4jMappingContext mappingContext, GraphDatabase graphDatabase)
           
 
Method Summary
<T extends org.neo4j.graphdb.PropertyContainer>
org.neo4j.graphdb.index.Index<T>
createIndex(Class<T> type, String indexName, IndexType fullText)
           
<S extends org.neo4j.graphdb.PropertyContainer,T>
org.neo4j.graphdb.index.Index<S>
getIndex(Class<T> type)
           
<S extends org.neo4j.graphdb.PropertyContainer,T>
org.neo4j.graphdb.index.Index<S>
getIndex(Class<T> type, String indexName)
           
<S extends org.neo4j.graphdb.PropertyContainer,T>
org.neo4j.graphdb.index.Index<S>
getIndex(Class<T> type, String indexName, IndexType indexType)
           
<S extends org.neo4j.graphdb.PropertyContainer>
org.neo4j.graphdb.index.Index<S>
getIndex(Neo4jPersistentProperty property, Class<?> instanceType)
           
<T extends org.neo4j.graphdb.PropertyContainer>
org.neo4j.graphdb.index.Index<T>
getIndex(String indexName)
           
 String getIndexKey(Neo4jPersistentProperty property)
           
 boolean isNode(Class<? extends org.neo4j.graphdb.PropertyContainer> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexProvider

public IndexProvider(Neo4jMappingContext mappingContext,
                     GraphDatabase graphDatabase)
Method Detail

getIndex

public <S extends org.neo4j.graphdb.PropertyContainer,T> org.neo4j.graphdb.index.Index<S> getIndex(Class<T> type)

getIndex

public <S extends org.neo4j.graphdb.PropertyContainer,T> org.neo4j.graphdb.index.Index<S> getIndex(Class<T> type,
                                                                                                   String indexName)

getIndex

public <S extends org.neo4j.graphdb.PropertyContainer,T> org.neo4j.graphdb.index.Index<S> getIndex(Class<T> type,
                                                                                                   String indexName,
                                                                                                   IndexType indexType)

getIndex

public <T extends org.neo4j.graphdb.PropertyContainer> org.neo4j.graphdb.index.Index<T> getIndex(String indexName)

isNode

public boolean isNode(Class<? extends org.neo4j.graphdb.PropertyContainer> type)

createIndex

public <T extends org.neo4j.graphdb.PropertyContainer> org.neo4j.graphdb.index.Index<T> createIndex(Class<T> type,
                                                                                                    String indexName,
                                                                                                    IndexType fullText)

getIndexKey

public String getIndexKey(Neo4jPersistentProperty property)

getIndex

public <S extends org.neo4j.graphdb.PropertyContainer> org.neo4j.graphdb.index.Index<S> getIndex(Neo4jPersistentProperty property,
                                                                                                 Class<?> instanceType)

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.