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
-
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.
-
Enum Constant Details
-
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
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
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
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 namejava.lang.NullPointerException
- if the argument is null
-