Search in sources :

Example 1 with TestVertexiumCypherQueryContext

use of org.vertexium.cypher.TestVertexiumCypherQueryContext in project vertexium by visallo.

the class GraphGlue method createGraph.

private void createGraph() {
    InMemoryGraph graph = InMemoryGraph.create();
    Authorizations authorizations = graph.createAuthorizations();
    ctx = new TestVertexiumCypherQueryContext(graph, authorizations);
}
Also used : InMemoryGraph(org.vertexium.inmemory.InMemoryGraph) Authorizations(org.vertexium.Authorizations) TestVertexiumCypherQueryContext(org.vertexium.cypher.TestVertexiumCypherQueryContext)

Aggregations

Authorizations (org.vertexium.Authorizations)1 TestVertexiumCypherQueryContext (org.vertexium.cypher.TestVertexiumCypherQueryContext)1 InMemoryGraph (org.vertexium.inmemory.InMemoryGraph)1