org.apache.tinkerpop.gremlin.process.traversal.util

## 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:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TraversalSourceFactory(T traversalSource)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `createTraversalSource(Graph graph)`

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

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

- - ### Constructor Detail

    - #### TraversalSourceFactory

          public TraversalSourceFactory(T traversalSource)

  - ### Method Detail

    - #### createTraversalSource

          public T createTraversalSource(Graph graph)

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