public interface RestAPI extends RestAPIIndex, RestAPIInternal
RestAPIInternal.Load
Modifier and Type | Method and Description |
---|---|
void |
addLabels(RestNode node,
Collection<String> labels) |
RequestResult |
batch(Collection<Map<String,Object>> batchRequestData) |
org.neo4j.graphdb.Transaction |
beginTx() |
void |
close() |
RestNode |
createNode(Map<String,Object> props) |
RestNode |
createNode(Map<String,Object> props,
Collection<String> labels) |
RestRelationship |
createRelationship(org.neo4j.graphdb.Node startNode,
org.neo4j.graphdb.Node endNode,
org.neo4j.graphdb.RelationshipType type,
Map<String,Object> props) |
RestTraversalDescription |
createTraversalDescription() |
void |
deleteEntity(RestEntity entity) |
Collection<String> |
getAllLabelNames() |
int |
getDegree(RestNode restNode,
org.neo4j.graphdb.RelationshipType type,
org.neo4j.graphdb.Direction direction) |
RestNode |
getNodeById(long id) |
Iterable<RestNode> |
getNodesByLabel(String label) |
Iterable<RestNode> |
getNodesByLabelAndProperty(String label,
String property,
Object value) |
org.neo4j.graphdb.Relationship |
getOrCreateRelationship(org.neo4j.graphdb.Node start,
org.neo4j.graphdb.Node end,
org.neo4j.graphdb.RelationshipType type,
org.neo4j.graphdb.Direction direction,
Map<String,Object> props) |
RestRelationship |
getRelationshipById(long id) |
Iterable<org.neo4j.graphdb.Relationship> |
getRelationships(RestNode restNode,
org.neo4j.graphdb.Direction direction,
org.neo4j.graphdb.RelationshipType... types) |
Iterable<org.neo4j.graphdb.RelationshipType> |
getRelationshipTypes() |
Iterable<org.neo4j.graphdb.RelationshipType> |
getRelationshipTypes(RestNode node) |
RestNode |
merge(String labelName,
String key,
Object value,
Map<String,Object> properties,
Collection<String> labels) |
CypherResult |
query(String statement,
Map<String,Object> params) |
QueryResult<Map<String,Object>> |
query(String statement,
Map<String,Object> params,
ResultConverter resultConverter) |
void |
removeLabel(RestNode node,
String label) |
void |
removeProperty(RestEntity entity,
String key) |
void |
setPropertiesOnEntity(RestEntity restEntity,
Map<String,Object> propertyData) |
void |
setPropertyOnEntity(RestEntity entity,
String key,
Object value) |
RestTraverser |
traverse(RestNode restNode,
Map<String,Object> description) |
Iterable<org.neo4j.graphdb.Relationship> |
updateRelationships(org.neo4j.graphdb.Node start,
Collection<org.neo4j.graphdb.Node> endNodes,
org.neo4j.graphdb.RelationshipType type,
org.neo4j.graphdb.Direction direction,
String targetLabel) |
addToIndex, createIndex, createIndex, delete, getAutoIndexedProperties, getIndex, getIndex, getOrCreateNode, getOrCreateRelationship, index, indexInfo, isAutoIndexingEnabled, putIfAbsent, queryIndex, removeFromIndex, removeFromIndex, removeFromIndex, setAutoIndexingEnabled, startAutoIndexingProperty, stopAutoIndexingProperty
addToCache, addToCache, createRestEntity, getBaseUri, getEntityExtractor, getNodeById, getNodeFromCache, getRelationshipById, getRelFromCache, getRestRequest, hasToUpdate, removeNodeFromCache, removeRelFromCache, resetIndex
void deleteEntity(RestEntity entity)
void setPropertyOnEntity(RestEntity entity, String key, Object value)
void setPropertiesOnEntity(RestEntity restEntity, Map<String,Object> propertyData)
void removeProperty(RestEntity entity, String key)
RestNode getNodeById(long id)
RestRelationship getRelationshipById(long id)
RestRelationship createRelationship(org.neo4j.graphdb.Node startNode, org.neo4j.graphdb.Node endNode, org.neo4j.graphdb.RelationshipType type, Map<String,Object> props)
Iterable<org.neo4j.graphdb.RelationshipType> getRelationshipTypes(RestNode node)
int getDegree(RestNode restNode, org.neo4j.graphdb.RelationshipType type, org.neo4j.graphdb.Direction direction)
void addLabels(RestNode node, Collection<String> labels)
Iterable<RestNode> getNodesByLabelAndProperty(String label, String property, Object value)
CypherResult query(String statement, Map<String,Object> params)
QueryResult<Map<String,Object>> query(String statement, Map<String,Object> params, ResultConverter resultConverter)
org.neo4j.graphdb.Transaction beginTx()
Iterable<org.neo4j.graphdb.Relationship> updateRelationships(org.neo4j.graphdb.Node start, Collection<org.neo4j.graphdb.Node> endNodes, org.neo4j.graphdb.RelationshipType type, org.neo4j.graphdb.Direction direction, String targetLabel)
Collection<String> getAllLabelNames()
Iterable<org.neo4j.graphdb.RelationshipType> getRelationshipTypes()
RestTraversalDescription createTraversalDescription()
Iterable<org.neo4j.graphdb.Relationship> getRelationships(RestNode restNode, org.neo4j.graphdb.Direction direction, org.neo4j.graphdb.RelationshipType... types)
RestTraverser traverse(RestNode restNode, Map<String,Object> description)
RestNode merge(String labelName, String key, Object value, Map<String,Object> properties, Collection<String> labels)
RequestResult batch(Collection<Map<String,Object>> batchRequestData)
void close()
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.