public class DataStatement extends ReadStatement
| Modifier and Type | Field and Description |
|---|---|
static long |
NO_SUCH_LABEL |
static long |
NO_SUCH_PROPERTY_KEY |
| Modifier and Type | Method and Description |
|---|---|
Property |
graphRemoveProperty(long propertyKeyId) |
Property |
graphSetProperty(SafeProperty property) |
boolean |
nodeAddLabel(long nodeId,
long labelId)
Labels a node with the label corresponding to the given label id.
|
long |
nodeCreate() |
void |
nodeDelete(long nodeId) |
boolean |
nodeRemoveLabel(long nodeId,
long labelId)
Removes a label with the corresponding id from a node.
|
Property |
nodeRemoveProperty(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(long nodeId,
SafeProperty property) |
long |
relationshipCreate(long relationshipTypeId,
long startNodeId,
long endNodeId) |
void |
relationshipDelete(long relationshipId) |
Property |
relationshipRemoveProperty(long relationshipId,
long propertyKeyId) |
Property |
relationshipSetProperty(long relationshipId,
SafeProperty property) |
close, constraintsGetAll, constraintsGetForLabel, constraintsGetForLabelAndPropertyKey, graphGetAllProperties, graphGetProperty, indexesGetAll, indexesGetForLabel, indexesGetForLabelAndPropertyKey, indexGetFailure, indexGetState, labelGetForName, labelGetName, labelGetOrCreateForName, labelsGetAllTokens, nodeGetAllProperties, nodeGetLabels, nodeGetProperty, nodeHasLabel, nodesGetForLabel, nodesGetFromIndexLookup, propertyKeyGetForName, propertyKeyGetName, propertyKeyGetOrCreateForName, relationshipGetAllProperties, relationshipGetProperty, relationshipTypeGetForName, relationshipTypeGetName, relationshipTypeGetOrCreateForName, schemaStateGetOrCreate, uniqueIndexesGetAll, uniqueIndexesGetForLabelpublic static final long NO_SUCH_LABEL
public static final long NO_SUCH_PROPERTY_KEY
public long nodeCreate()
public void nodeDelete(long nodeId)
public long relationshipCreate(long relationshipTypeId,
long startNodeId,
long endNodeId)
throws RelationshipTypeIdNotFoundKernelException,
EntityNotFoundException
public void relationshipDelete(long relationshipId)
public boolean nodeAddLabel(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).public boolean nodeRemoveLabel(long nodeId,
long labelId)
throws EntityNotFoundException
KeyWriteOperations.labelGetOrCreateForName(org.neo4j.kernel.api.Statement,
String) or KeyReadOperations.labelGetForName(org.neo4j.kernel.api.Statement, String).EntityNotFoundExceptionpublic Property nodeSetProperty(long nodeId, SafeProperty property) throws EntityNotFoundException, org.neo4j.kernel.impl.api.constraints.ConstraintValidationKernelException
public Property relationshipSetProperty(long relationshipId, SafeProperty property) throws EntityNotFoundException
EntityNotFoundExceptionpublic Property graphSetProperty(SafeProperty property)
public Property nodeRemoveProperty(long nodeId, long propertyKeyId) throws EntityNotFoundException
EntityNotFoundExceptionpublic Property relationshipRemoveProperty(long relationshipId, long propertyKeyId) throws EntityNotFoundException
EntityNotFoundExceptionpublic Property graphRemoveProperty(long propertyKeyId)
Copyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.