org.neo4j.kernel.api.operations
Interface EntityOperations
- All Known Subinterfaces:
- StatementContext
public interface EntityOperations
Node and Relationship creation, deletion and lookup.
getNodesWithLabel
Iterator<Long> getNodesWithLabel(long labelId)
- Parameters:
labelId
- the label id of the label that returned nodes are guaranteed to have
- Returns:
- ids of all nodes that have the given label
exactIndexLookup
Iterator<Long> exactIndexLookup(long indexId,
Object value)
throws IndexNotFoundKernelException
- Returns an iterable with the matched nodes.
- Throws:
IndexNotFoundKernelException
- if no such index found.
deleteNode
void deleteNode(long nodeId)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.