org.springframework.data.neo4j.rest.index
Class RestIndex<T extends org.neo4j.graphdb.PropertyContainer>
java.lang.Object
org.springframework.data.neo4j.rest.index.RestIndex<T>
- All Implemented Interfaces:
- org.neo4j.graphdb.index.Index<T>, org.neo4j.graphdb.index.ReadableIndex<T>
- Direct Known Subclasses:
- RestNodeIndex, RestRelationshipIndex
public abstract class RestIndex<T extends org.neo4j.graphdb.PropertyContainer>
- extends Object
- implements org.neo4j.graphdb.index.Index<T>
- Since:
- 24.01.11
- Author:
- mh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.neo4j.graphdb.index.ReadableIndex |
getEntityType |
restRequest
protected final RestRequest restRequest
restGraphDatabase
protected final RestGraphDatabase restGraphDatabase
getName
public String getName()
- Specified by:
getName
in interface org.neo4j.graphdb.index.ReadableIndex<T extends org.neo4j.graphdb.PropertyContainer>
add
public void add(T entity,
String key,
Object value)
- Specified by:
add
in interface org.neo4j.graphdb.index.Index<T extends org.neo4j.graphdb.PropertyContainer>
indexPath
protected String indexPath()
indexPath
protected String indexPath(String key)
indexPath
protected String indexPath(String key,
Object value)
remove
public void remove(T entity,
String key,
Object value)
- Specified by:
remove
in interface org.neo4j.graphdb.index.Index<T extends org.neo4j.graphdb.PropertyContainer>
remove
public void remove(T entity)
- Specified by:
remove
in interface org.neo4j.graphdb.index.Index<T extends org.neo4j.graphdb.PropertyContainer>
remove
public void remove(T entity,
String key)
- Specified by:
remove
in interface org.neo4j.graphdb.index.Index<T extends org.neo4j.graphdb.PropertyContainer>
delete
public void delete()
- Specified by:
delete
in interface org.neo4j.graphdb.index.Index<T extends org.neo4j.graphdb.PropertyContainer>
get
public org.neo4j.graphdb.index.IndexHits<T> get(String key,
Object value)
- Specified by:
get
in interface org.neo4j.graphdb.index.ReadableIndex<T extends org.neo4j.graphdb.PropertyContainer>
query
public org.neo4j.graphdb.index.IndexHits<T> query(String key,
Object value)
- Specified by:
query
in interface org.neo4j.graphdb.index.ReadableIndex<T extends org.neo4j.graphdb.PropertyContainer>
createEntity
protected abstract T createEntity(Map<?,?> item)
query
public org.neo4j.graphdb.index.IndexHits<T> query(Object value)
- Specified by:
query
in interface org.neo4j.graphdb.index.ReadableIndex<T extends org.neo4j.graphdb.PropertyContainer>
Copyright © 2011 SpringSource. All Rights Reserved.