org.apache.tinkerpop.gremlin.process.computer.bulkloading

## Class IncrementalBulkLoader

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.computer.bulkloading.IncrementalBulkLoader

- All Implemented Interfaces:
    BulkLoader

  Deprecated.
  As of release 3.2.10, not directly replaced - consider graph provider specific bulk loading methods

      @Deprecated
      public class IncrementalBulkLoader
      extends Object
      implements BulkLoader

  Author:
    Daniel Kuppitz (http://gremlin.guru)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IncrementalBulkLoader()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configure(Configuration configuration)` Deprecated. Configures the BulkLoader instance.
    `Edge` | `getOrCreateEdge(Edge edge, Vertex outVertex, Vertex inVertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given edge between the given in- and out-vertices.
    `Vertex` | `getOrCreateVertex(Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given vertex in the given graph.
    `VertexProperty` | `getOrCreateVertexProperty(VertexProperty<?> property, Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given property for the given vertex.
    `Vertex` | `getVertex(Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Get a vertex that matches the given vertex from the given graph.
    `String` | `getVertexIdProperty()` Deprecated.
    `boolean` | `keepOriginalIds()` Deprecated.
    `boolean` | `useUserSuppliedIds()` Deprecated.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.tinkerpop.gremlin.process.computer.bulkloading.BulkLoader

      `createEdge, createVertexProperty, getVertexById`

- - ### Constructor Detail

    - #### IncrementalBulkLoader

          public IncrementalBulkLoader()

      Deprecated.

  - ### Method Detail

    - #### getOrCreateVertex

          public Vertex getOrCreateVertex(Vertex vertex,
                                          Graph graph,
                                          GraphTraversalSource g)

      Deprecated.
      Gets or creates a clone of the given vertex in the given graph.
      Specified by:
        `getOrCreateVertex` in interface `BulkLoader`
      Parameters:
        `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.
      Returns:
        The cloned vertex.

    - #### getOrCreateEdge

          public Edge getOrCreateEdge(Edge edge,
                                      Vertex outVertex,
                                      Vertex inVertex,
                                      Graph graph,
                                      GraphTraversalSource g)

      Deprecated.
      Gets or creates a clone of the given edge between the given in- and out-vertices.
      Specified by:
        `getOrCreateEdge` in interface `BulkLoader`
      Parameters:
        `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.
      Returns:
        The cloned edge.

    - #### getOrCreateVertexProperty

          public VertexProperty getOrCreateVertexProperty(VertexProperty<?> property,
                                                          Vertex vertex,
                                                          Graph graph,
                                                          GraphTraversalSource g)

      Deprecated.
      Gets or creates a clone of the given property for the given vertex.
      Specified by:
        `getOrCreateVertexProperty` in interface `BulkLoader`
      Parameters:
        `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.
      Returns:
        The cloned property.

    - #### getVertex

          public Vertex getVertex(Vertex vertex,
                                  Graph graph,
                                  GraphTraversalSource g)

      Deprecated.
      Get a vertex that matches the given vertex from the given graph.
      Specified by:
        `getVertex` in interface `BulkLoader`
      Parameters:
        `vertex` - The vertex to be matched.
        `graph` - The graph that holds the given vertex.
        `g` - A standard traversal source for the given graph.
      Returns:
        The matched vertex.

    - #### useUserSuppliedIds

          public boolean useUserSuppliedIds()

      Deprecated.
      Specified by:
        `useUserSuppliedIds` in interface `BulkLoader`
      Returns:
        Whether to use user supplied identifiers or not.

    - #### keepOriginalIds

          public boolean keepOriginalIds()

      Deprecated.
      Specified by:
        `keepOriginalIds` in interface `BulkLoader`
      Returns:
        Whether to keep the original vertex identifiers in the target graph or not.

    - #### getVertexIdProperty

          public String getVertexIdProperty()

      Deprecated.
      Specified by:
        `getVertexIdProperty` in interface `BulkLoader`
      Returns:
        The name of the vertex property that is used to store the original vertex id.

    - #### configure

          public void configure(Configuration configuration)

      Deprecated.
      Configures the BulkLoader instance.
      Specified by:
        `configure` in interface `BulkLoader`
      Parameters:
        `configuration` - The BulkLoader configuration.

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.