Neo4j Enterprise

org.neo4j.cypher.internal.spi.gdsimpl
Class GDSBackedQueryContext

java.lang.Object
  extended by org.neo4j.cypher.internal.spi.gdsimpl.GDSBackedQueryContext
All Implemented Interfaces:
QueryContext

public class GDSBackedQueryContext
extends Object
implements QueryContext


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.neo4j.cypher.internal.spi.QueryContext
QueryContext.Operations<T extends PropertyContainer>
 
Constructor Summary
GDSBackedQueryContext(GraphDatabaseService graph)
           
 
Method Summary
 void close()
          Release all resources held by this context.
 Node createNode()
           
 Relationship createRelationship(Node start, Node end, String relType)
           
 Iterable<Relationship> getRelationshipsFor(Node node, Direction dir, String... types)
           
 QueryContext.Operations<Node> nodeOps()
           
 QueryContext.Operations<Relationship> relationshipOps()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GDSBackedQueryContext

public GDSBackedQueryContext(GraphDatabaseService graph)
Method Detail

close

public void close()
Description copied from interface: QueryContext
Release all resources held by this context.

Specified by:
close 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

nodeOps

public QueryContext.Operations<Node> nodeOps()
Specified by:
nodeOps in interface QueryContext

relationshipOps

public QueryContext.Operations<Relationship> relationshipOps()
Specified by:
relationshipOps in interface QueryContext

Neo4j Enterprise

Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.