public interface RestAPIIndex
Modifier and Type | Method and Description |
---|---|
<T extends org.neo4j.graphdb.PropertyContainer> |
addToIndex(T entity,
RestIndex index,
String key,
Object value) |
<T extends org.neo4j.graphdb.PropertyContainer> |
createIndex(Class<T> type,
String indexName,
Map<String,String> config) |
void |
createIndex(String type,
String indexName,
Map<String,String> config) |
void |
delete(RestIndex index) |
Set<String> |
getAutoIndexedProperties(Class forClass) |
<S extends org.neo4j.graphdb.PropertyContainer> |
getIndex(Class<S> entityType,
String indexName,
String key,
Object value) |
<T extends org.neo4j.graphdb.PropertyContainer> |
getIndex(String indexName) |
RestNode |
getOrCreateNode(RestIndex<org.neo4j.graphdb.Node> index,
String key,
Object value,
Map<String,Object> properties,
Collection<String> labels) |
RestRelationship |
getOrCreateRelationship(RestIndex<org.neo4j.graphdb.Relationship> index,
String key,
Object value,
RestNode start,
RestNode end,
String type,
Map<String,Object> properties) |
RestIndexManager |
index() |
IndexInfo |
indexInfo(String indexType) |
boolean |
isAutoIndexingEnabled(Class<? extends org.neo4j.graphdb.PropertyContainer> clazz) |
<T extends org.neo4j.graphdb.PropertyContainer> |
putIfAbsent(T entity,
RestIndex index,
String key,
Object value) |
<S extends org.neo4j.graphdb.PropertyContainer> |
queryIndex(Class<S> entityType,
String indexName,
String key,
Object value) |
<T extends org.neo4j.graphdb.PropertyContainer> |
removeFromIndex(RestIndex index,
T entity) |
<T extends org.neo4j.graphdb.PropertyContainer> |
removeFromIndex(RestIndex index,
T entity,
String key) |
<T extends org.neo4j.graphdb.PropertyContainer> |
removeFromIndex(RestIndex index,
T entity,
String key,
Object value) |
void |
setAutoIndexingEnabled(Class<? extends org.neo4j.graphdb.PropertyContainer> clazz,
boolean enabled) |
void |
startAutoIndexingProperty(Class forClass,
String s) |
void |
stopAutoIndexingProperty(Class forClass,
String s) |
RestIndexManager index()
<S extends org.neo4j.graphdb.PropertyContainer> org.neo4j.graphdb.index.IndexHits<S> getIndex(Class<S> entityType, String indexName, String key, Object value)
<S extends org.neo4j.graphdb.PropertyContainer> org.neo4j.graphdb.index.IndexHits<S> queryIndex(Class<S> entityType, String indexName, String key, Object value)
<T extends org.neo4j.graphdb.PropertyContainer> void removeFromIndex(RestIndex index, T entity, String key, Object value)
<T extends org.neo4j.graphdb.PropertyContainer> void removeFromIndex(RestIndex index, T entity, String key)
<T extends org.neo4j.graphdb.PropertyContainer> void removeFromIndex(RestIndex index, T entity)
<T extends org.neo4j.graphdb.PropertyContainer> void addToIndex(T entity, RestIndex index, String key, Object value)
<T extends org.neo4j.graphdb.PropertyContainer> T putIfAbsent(T entity, RestIndex index, String key, Object value)
RestNode getOrCreateNode(RestIndex<org.neo4j.graphdb.Node> index, String key, Object value, Map<String,Object> properties, Collection<String> labels)
RestRelationship getOrCreateRelationship(RestIndex<org.neo4j.graphdb.Relationship> index, String key, Object value, RestNode start, RestNode end, String type, Map<String,Object> properties)
<T extends org.neo4j.graphdb.PropertyContainer> RestIndex<T> createIndex(Class<T> type, String indexName, Map<String,String> config)
boolean isAutoIndexingEnabled(Class<? extends org.neo4j.graphdb.PropertyContainer> clazz)
void setAutoIndexingEnabled(Class<? extends org.neo4j.graphdb.PropertyContainer> clazz, boolean enabled)
void delete(RestIndex index)
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.