java.lang.Object
java.lang.Enum<DefaultStorage>
org.apache.tinkerpop.gremlin.tinkergraph.structure.storage.DefaultStorage
All Implemented Interfaces:
Serializable, Comparable<DefaultStorage>, Constable, Supplier<TinkerStorage>

public enum DefaultStorage extends Enum<DefaultStorage> implements Supplier<TinkerStorage>
The built-in TinkerStorage engines that can be selected by name via the gremlin.tinkergraph.storage configuration key. A fully-qualified class name may be used instead of one of these names to plug in a custom engine.
  • Enum Constant Details

    • GRAPHBINARY

      public static final DefaultStorage GRAPHBINARY
      A durable, append-only commit log ("write-ahead log") that serializes each committed transaction with GraphBinary. See GraphBinaryStorage.
  • Method Details

    • values

      public static DefaultStorage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DefaultStorage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null