org.springframework.data.neo4j.support.index
Class IndexProvider
java.lang.Object
org.springframework.data.neo4j.support.index.IndexProvider
public class IndexProvider
- extends Object
- Since:
- 17.10.11
- Author:
- mh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexProvider
public IndexProvider(Neo4jMappingContext mappingContext,
GraphDatabase graphDatabase)
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)
Copyright © 2011 SpringSource. All Rights Reserved.