org.neo4j.cypher.internal.spi.gdsimpl
Class RepeatableReadQueryContext
java.lang.Object
org.neo4j.cypher.internal.spi.gdsimpl.RepeatableReadQueryContext
- All Implemented Interfaces:
- QueryContext
public class RepeatableReadQueryContext
- extends Object
- implements QueryContext
This QueryContext is responsible for taking read locks for all operations that read from the database.
The close() method will then release all locks.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepeatableReadQueryContext
public RepeatableReadQueryContext(QueryContext inner,
RepeatableReadQueryContext.Locker locker)
nodeOps
public QueryContext.Operations<Node> nodeOps()
- Specified by:
nodeOps in interface QueryContext
relationshipOps
public QueryContext.Operations<Relationship> relationshipOps()
- Specified by:
relationshipOps in interface QueryContext
createNode
public Node createNode()
- Specified by:
createNode in interface QueryContext
createRelationship
public Relationship createRelationship(Node start,
Node end,
String relType)
- Specified by:
createRelationship in interface QueryContext
getRelationshipsFor
public Iterable<Relationship> getRelationshipsFor(Node node,
Direction dir,
String... types)
- Specified by:
getRelationshipsFor in interface QueryContext
close
public void close()
- Description copied from interface:
QueryContext
- Release all resources held by this context.
- Specified by:
close in interface QueryContext
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.