public interface EntityWriteOperations
| Modifier and Type | Method and Description |
|---|---|
Property |
graphRemoveProperty(StatementState state,
long propertyKeyId) |
Property |
graphSetProperty(StatementState state,
Property property) |
boolean |
nodeAddLabel(StatementState state,
long nodeId,
long labelId)
Labels a node with the label corresponding to the given label id.
|
void |
nodeDelete(StatementState state,
long nodeId) |
boolean |
nodeRemoveLabel(StatementState state,
long nodeId,
long labelId)
Removes a label with the corresponding id from a node.
|
Property |
nodeRemoveProperty(StatementState 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(StatementState state,
long nodeId,
Property property) |
void |
relationshipDelete(StatementState state,
long relationshipId) |
Property |
relationshipRemoveProperty(StatementState state,
long relationshipId,
long propertyKeyId) |
Property |
relationshipSetProperty(StatementState state,
long relationshipId,
Property property) |
void nodeDelete(StatementState state, long nodeId)
void relationshipDelete(StatementState state, long relationshipId)
boolean nodeAddLabel(StatementState state, long nodeId, long labelId) throws EntityNotFoundException
KeyWriteOperations#labelGetOrCreateForName(String) or KeyReadOperations#labelGetForName(String).EntityNotFoundExceptionboolean nodeRemoveLabel(StatementState state, long nodeId, long labelId) throws EntityNotFoundException
KeyWriteOperations#labelGetOrCreateForName(String) or KeyReadOperations#labelGetForName(String).EntityNotFoundExceptionProperty nodeSetProperty(StatementState state, long nodeId, Property property) throws PropertyKeyIdNotFoundException, EntityNotFoundException
Property relationshipSetProperty(StatementState state, long relationshipId, Property property) throws PropertyKeyIdNotFoundException, EntityNotFoundException
Property graphSetProperty(StatementState state, Property property) throws PropertyKeyIdNotFoundException
PropertyKeyIdNotFoundExceptionProperty nodeRemoveProperty(StatementState state, long nodeId, long propertyKeyId) throws PropertyKeyIdNotFoundException, EntityNotFoundException
Property relationshipRemoveProperty(StatementState state, long relationshipId, long propertyKeyId) throws PropertyKeyIdNotFoundException, EntityNotFoundException
Property graphRemoveProperty(StatementState state, long propertyKeyId) throws PropertyKeyIdNotFoundException
PropertyKeyIdNotFoundExceptionCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.