Enum BinaryDataStoreFormat

java.lang.Object
java.lang.Enum<BinaryDataStoreFormat>
tech.oxfordsemantic.jrdfox.client.BinaryDataStoreFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BinaryDataStoreFormat>, java.lang.constant.Constable

public enum BinaryDataStoreFormat
extends java.lang.Enum<BinaryDataStoreFormat>
Identities the binary format of a data store file.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    RAW
    The raw format that closely follows the structure in which the data is stored in memory and thus allows restoring exactly the same state of a data store.
    STANDARD
    The standard binary format is more resilient to changes between RDFox versions, and it supports transferring data between data stores of different type.
  • Method Summary

    Modifier and Type Method Description
    static BinaryDataStoreFormat valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static BinaryDataStoreFormat[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • STANDARD

      public static final BinaryDataStoreFormat STANDARD
      The standard binary format is more resilient to changes between RDFox versions, and it supports transferring data between data stores of different type.
    • RAW

      public static final BinaryDataStoreFormat RAW
      The raw format that closely follows the structure in which the data is stored in memory and thus allows restoring exactly the same state of a data store. This makes is less resilient to changes between RDFox versions. The main use of this format is for debugging, or for transferring data where it is important that exactly the same data store state is reconstructed.
  • Method Details

    • values

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

      public static BinaryDataStoreFormat valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null