public interface BulkLoader
| Modifier and Type | Method and Description | 
|---|---|
| void | configure(Configuration configuration)Configures the BulkLoader instance. | 
| default Edge | createEdge(Edge edge,
          Vertex outVertex,
          Vertex inVertex,
          Graph graph,
          GraphTraversalSource g)Creates a clone of the given edge between the given in- and out-vertices. | 
| default VertexProperty | createVertexProperty(VertexProperty<?> property,
                    Vertex vertex,
                    Graph graph,
                    GraphTraversalSource g)Creates a clone of the given property for the given vertex. | 
| Edge | getOrCreateEdge(Edge edge,
               Vertex outVertex,
               Vertex inVertex,
               Graph graph,
               GraphTraversalSource g)Gets or creates a clone of the given edge between the given in- and out-vertices. | 
| Vertex | getOrCreateVertex(Vertex vertex,
                 Graph graph,
                 GraphTraversalSource g)Gets or creates a clone of the given vertex in the given graph. | 
| VertexProperty | getOrCreateVertexProperty(VertexProperty<?> property,
                         Vertex vertex,
                         Graph graph,
                         GraphTraversalSource g)Gets or creates a clone of the given property for the given vertex. | 
| default Vertex | getVertex(Vertex vertex,
         Graph graph,
         GraphTraversalSource g)Get a vertex that matches the given vertex from the given graph. | 
| default Vertex | getVertexById(Object id,
             Graph graph,
             GraphTraversalSource g)Gets a vertex by its ID from the given graph. | 
| default String | getVertexIdProperty() | 
| boolean | keepOriginalIds() | 
| boolean | useUserSuppliedIds() | 
Vertex getOrCreateVertex(Vertex vertex, Graph graph, GraphTraversalSource g)
vertex - The vertex to be cloned.graph - The graph that holds the cloned vertex after this method was called.g - A standard traversal source for the given graph.default Edge createEdge(Edge edge, Vertex outVertex, Vertex inVertex, Graph graph, GraphTraversalSource g)
edge - The edge to be cloned.outVertex - The out-vertex in the given graph..inVertex - The in-vertex in the given graph.graph - The graph that holds the cloned edge after this method was called.g - A standard traversal source for the given graph.Edge getOrCreateEdge(Edge edge, Vertex outVertex, Vertex inVertex, Graph graph, GraphTraversalSource g)
edge - The edge to be cloned.outVertex - The out-vertex in the given graph..inVertex - The in-vertex in the given graph.graph - The graph that holds the cloned edge after this method was called.g - A standard traversal source for the given graph.default VertexProperty createVertexProperty(VertexProperty<?> property, Vertex vertex, Graph graph, GraphTraversalSource g)
property - The property to be cloned.vertex - The vertex in the given graph..graph - The graph that holds the given vertex.g - A standard traversal source for the given graph.VertexProperty getOrCreateVertexProperty(VertexProperty<?> property, Vertex vertex, Graph graph, GraphTraversalSource g)
property - The property to be cloned.vertex - The vertex in the given graph..graph - The graph that holds the given vertex.g - A standard traversal source for the given graph.default Vertex getVertex(Vertex vertex, Graph graph, GraphTraversalSource g)
vertex - The vertex to be matched.graph - The graph that holds the given vertex.g - A standard traversal source for the given graph.default Vertex getVertexById(Object id, Graph graph, GraphTraversalSource g)
id - The vertex ID.graph - The graph that holds the vertex with the given ID.g - A standard traversal source for the given graph.boolean useUserSuppliedIds()
boolean keepOriginalIds()
default String getVertexIdProperty()
void configure(Configuration configuration)
configuration - The BulkLoader configuration.Copyright © 2013–2015 Apache Software Foundation. All rights reserved.