Class TraversalSourceFactory<T extends TraversalSource>

java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.util.TraversalSourceFactory<T>
All Implemented Interfaces:
Serializable

public final class TraversalSourceFactory<T extends TraversalSource> extends Object implements Serializable
TraversalSource is not Serializable. TraversalSourceFactory can be used to create a serializable representation of a traversal source. This is is primarily an internal utility class for use and should not be used by standard users.
Author:
Marko A. Rodriguez (http://markorodriguez.com)
See Also:
  • Constructor Details

    • TraversalSourceFactory

      public TraversalSourceFactory(T traversalSource)
  • Method Details

    • createTraversalSource

      public T createTraversalSource(Graph graph)