public interface EntityWriteOperations
| Modifier and Type | Method and Description |
|---|---|
Property |
graphRemoveProperty(Statement state,
long propertyKeyId) |
Property |
graphSetProperty(Statement state,
SafeProperty property) |
boolean |
nodeAddLabel(Statement state,
long nodeId,
long labelId)
Labels a node with the label corresponding to the given label id.
|
void |
nodeDelete(Statement state,
long nodeId) |
boolean |
nodeRemoveLabel(Statement state,
long nodeId,
long labelId)
Removes a label with the corresponding id from a node.
|
Property |
nodeRemoveProperty(Statement state,
long nodeId,
long propertyKeyId)
Remove a node's property given the node's id and the property key id and return the value to which
it was set or null if it was not set on the node
|
Property |
nodeSetProperty(Statement state,
long nodeId,
SafeProperty property) |
void |
relationshipDelete(Statement state,
long relationshipId) |
Property |
relationshipRemoveProperty(Statement state,
long relationshipId,
long propertyKeyId) |
Property |
relationshipSetProperty(Statement state,
long relationshipId,
SafeProperty property) |
void nodeDelete(Statement state, long nodeId)
void relationshipDelete(Statement state, long relationshipId)
boolean nodeAddLabel(Statement state, long nodeId, long labelId) throws EntityNotFoundException, org.neo4j.kernel.impl.api.constraints.ConstraintValidationKernelException
KeyWriteOperations.labelGetOrCreateForName(org.neo4j.kernel.api.Statement, String) or KeyReadOperations.labelGetForName(org.neo4j.kernel.api.Statement, String).boolean nodeRemoveLabel(Statement state, long nodeId, long labelId) throws EntityNotFoundException
KeyWriteOperations.labelGetOrCreateForName(org.neo4j.kernel.api.Statement, String) or KeyReadOperations.labelGetForName(org.neo4j.kernel.api.Statement, String).EntityNotFoundExceptionProperty nodeSetProperty(Statement state, long nodeId, SafeProperty property) throws EntityNotFoundException, org.neo4j.kernel.impl.api.constraints.ConstraintValidationKernelException
Property relationshipSetProperty(Statement state, long relationshipId, SafeProperty property) throws EntityNotFoundException
EntityNotFoundExceptionProperty graphSetProperty(Statement state, SafeProperty property)
Property nodeRemoveProperty(Statement state, long nodeId, long propertyKeyId) throws EntityNotFoundException
EntityNotFoundExceptionProperty relationshipRemoveProperty(Statement state, long relationshipId, long propertyKeyId) throws EntityNotFoundException
EntityNotFoundExceptionCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.