public GraphQuery query() { return config.getConfiguredGraph().query(); }
public Features getFeatures() { Features features = config.getConfiguredGraph().getFeatures().copyFeatures(); features.isWrapper = true; return features; }
public void shutdown() { config.getConfiguredGraph().shutdown(); }
public Iterable<Edge> getEdges(final String key, final Object value) { return config.getConfiguredGraph().getEdges(key, value); }
/** * Frame edges according to a particular kind of annotated interface. * * @param key the key of the edges to get * @param value the value of the edges to get * @param direction the direction of the edges * @param kind the default annotated interface to frame the edges as * @param <F> the default type of the annotated interface * @return an iterable of proxy objects backed by the edges and interpreted from the perspective * of the annotate interface */ public <F> Iterable<F> getEdges( final String key, final Object value, final Direction direction, final Class<F> kind) { return new FramedEdgeIterable<F>( this, config.getConfiguredGraph().getEdges(key, value), direction, kind); }
/** * Frame vertices according to a particular kind of annotated interface. * * @param key the key of the vertices to get * @param value the value of the vertices to get * @param kind the default annotated interface to frame the vertices as * @param <F> the default type of the annotated interface * @return an iterable of proxy objects backed by the vertices and interpreted from the * perspective of the annotate interface */ public <F> Iterable<F> getVertices(final String key, final Object value, final Class<F> kind) { return new FramedVertexIterable<F>( this, config.getConfiguredGraph().getVertices(key, value), kind); }
public Iterable<Edge> getEdges() { return config.getConfiguredGraph().getEdges(); }
public Iterable<Vertex> getVertices() { return config.getConfiguredGraph().getVertices(); }
public Iterable<Vertex> getVertices(final String key, final Object value) { return config.getConfiguredGraph().getVertices(key, value); }
public void removeEdge(final Edge edge) { config.getConfiguredGraph().removeEdge(edge); }
public void removeVertex(final Vertex vertex) { config.getConfiguredGraph().removeVertex(vertex); }
public Edge addEdge( final Object id, final Vertex outVertex, final Vertex inVertex, final String label) { return config.getConfiguredGraph().addEdge(id, outVertex, inVertex, label); }
public Edge getEdge(final Object id) { return config.getConfiguredGraph().getEdge(id); }
public Vertex addVertex(final Object id) { return config.getConfiguredGraph().addVertex(id); }