All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addLabelToNode(long nodeId,
Collection<String> labelNames) |
IndexedEntityRepresentation |
addToNodeIndex(String indexName,
String key,
String value,
long nodeId) |
IndexedEntityRepresentation |
addToRelationshipIndex(String indexName,
String key,
String value,
long relationshipId) |
NodeRepresentation |
createNode(Map<String,Object> properties,
Label... labels) |
IndexRepresentation |
createNodeIndex(Map<String,Object> indexSpecification) |
ConstraintDefinitionRepresentation |
createPropertyUniquenessConstraint(String labelName,
Iterable<String> propertyKeys) |
RelationshipRepresentation |
createRelationship(long startNodeId,
long endNodeId,
String type,
Map<String,Object> properties) |
IndexRepresentation |
createRelationshipIndex(Map<String,Object> indexSpecification) |
IndexDefinitionRepresentation |
createSchemaIndex(String labelName,
Iterable<String> propertyKey) |
void |
deleteNode(long nodeId) |
void |
deleteRelationship(long relationshipId) |
boolean |
dropNodePropertyExistenceConstraint(String labelName,
Iterable<String> propertyKeys) |
boolean |
dropPropertyUniquenessConstraint(String labelName,
Iterable<String> propertyKeys) |
boolean |
dropRelationshipPropertyExistenceConstraint(String typeName,
Iterable<String> propertyKeys) |
boolean |
dropSchemaIndex(String labelName,
String propertyKey) |
ListRepresentation |
findPaths(long startId,
long endId,
Map<String,Object> map) |
PathRepresentation |
findSinglePath(long startId,
long endId,
Map<String,Object> map) |
ListRepresentation |
getAllLabels(boolean inUse) |
PropertiesRepresentation |
getAllNodeProperties(long nodeId) |
Representation |
getAllPropertyKeys() |
PropertiesRepresentation |
getAllRelationshipProperties(long relationshipId) |
Representation |
getAutoIndexedNodes(String key,
String value) |
ListRepresentation |
getAutoIndexedNodesByQuery(String query) |
Representation |
getAutoIndexedProperties(String type) |
Representation |
getAutoIndexedRelationships(String key,
String value) |
ListRepresentation |
getAutoIndexedRelationshipsByQuery(String query) |
ListRepresentation |
getConstraints() |
IndexedEntityRepresentation |
getIndexedNode(String indexName,
String key,
String value,
long id) |
ListRepresentation |
getIndexedNodes(String indexName,
String key,
String value) |
ListRepresentation |
getIndexedNodesByQuery(String indexName,
String query,
String sort) |
ListRepresentation |
getIndexedNodesByQuery(String indexName,
String key,
String query,
String sort) |
IndexedEntityRepresentation |
getIndexedRelationship(String indexName,
String key,
String value,
long id) |
ListRepresentation |
getIndexedRelationships(String indexName,
String key,
String value) |
ListRepresentation |
getIndexedRelationshipsByQuery(String indexName,
String query,
String sort) |
ListRepresentation |
getIndexedRelationshipsByQuery(String indexName,
String key,
String query,
String sort) |
ListRepresentation |
getLabelConstraints(String labelName) |
Representation |
getLabelExistenceConstraints(String labelName) |
Representation |
getLabelUniquenessConstraints(String labelName) |
NodeRepresentation |
getNode(long nodeId) |
Representation |
getNodeDegree(long nodeId,
DatabaseActions.RelationshipDirection direction,
Collection<String> types) |
String[] |
getNodeIndexNames() |
ListRepresentation |
getNodeLabels(long nodeId) |
Representation |
getNodeProperty(long nodeId,
String key) |
ListRepresentation |
getNodePropertyExistenceConstraint(String labelName,
Iterable<String> propertyKeys) |
ListRepresentation |
getNodeRelationships(long nodeId,
DatabaseActions.RelationshipDirection direction,
Collection<String> types) |
ListRepresentation |
getNodesWithLabel(String labelName,
Map<String,Object> properties) |
Pair<IndexedEntityRepresentation,Boolean> |
getOrCreateIndexedNode(String indexName,
String key,
String value,
Long nodeOrNull,
Map<String,Object> properties) |
Pair<IndexedEntityRepresentation,Boolean> |
getOrCreateIndexedRelationship(String indexName,
String key,
String value,
Long relationshipOrNull,
Long startNode,
String type,
Long endNode,
Map<String,Object> properties) |
ListRepresentation |
getPropertyUniquenessConstraint(String labelName,
Iterable<String> propertyKeys) |
RelationshipRepresentation |
getRelationship(long relationshipId) |
String[] |
getRelationshipIndexNames() |
Representation |
getRelationshipProperty(long relationshipId,
String key) |
ListRepresentation |
getRelationshipPropertyExistenceConstraint(String typeName,
Iterable<String> propertyKeys) |
Representation |
getRelationshipTypeExistenceConstraints(String typeName) |
ListRepresentation |
getSchemaIndexes() |
ListRepresentation |
getSchemaIndexes(String labelName) |
Representation |
isAutoIndexerEnabled(String type) |
Representation |
nodeIndexRoot() |
boolean |
nodeIsIndexed(String indexName,
String key,
Object value,
long nodeId) |
Representation |
relationshipIndexRoot() |
boolean |
relationshipIsIndexed(String indexName,
String key,
Object value,
long relationshipId) |
void |
removeAllNodeProperties(long nodeId) |
void |
removeAllRelationshipProperties(long relationshipId) |
void |
removeFromNodeIndex(String indexName,
String key,
String value,
long id) |
void |
removeFromNodeIndexNoKeyValue(String indexName,
long id) |
void |
removeFromNodeIndexNoValue(String indexName,
String key,
long id) |
void |
removeFromRelationshipIndex(String indexName,
String key,
String value,
long id) |
void |
removeFromRelationshipIndexNoKeyValue(String indexName,
long id) |
void |
removeFromRelationshipIndexNoValue(String indexName,
String key,
long id) |
void |
removeLabelFromNode(long nodeId,
String labelName) |
void |
removeNodeIndex(String indexName) |
void |
removeNodeProperty(long nodeId,
String key) |
void |
removeRelationshipIndex(String indexName) |
void |
removeRelationshipProperty(long relationshipId,
String key) |
DatabaseRepresentation |
root() |
void |
setAllNodeProperties(long nodeId,
Map<String,Object> properties) |
void |
setAllRelationshipProperties(long relationshipId,
Map<String,Object> properties) |
void |
setAutoIndexerEnabled(String type,
boolean enable) |
void |
setLabelsOnNode(long nodeId,
Collection<String> labels) |
void |
setNodeProperty(long nodeId,
String key,
Object value) |
void |
setRelationshipProperty(long relationshipId,
String key,
Object value) |
void |
startAutoIndexingProperty(String type,
String property) |
void |
stopAutoIndexingProperty(String type,
String property) |