Enum RDFTestDataset

java.lang.Object
java.lang.Enum<RDFTestDataset>
org.eclipse.rdf4j.benchmark.rio.RDFTestDataset
All Implemented Interfaces:
Serializable, Comparable<RDFTestDataset>

public enum RDFTestDataset extends Enum<RDFTestDataset>
This enum holds locations for RDF files from the web. It allows downloading these into a a temporary location in {java.io.tmpdir}/rdf4j-benchmark-datasets/{filename} . Please note
Author:
Frens Jan Rumph
  • Enum Constant Details

  • Method Details

    • values

      public static RDFTestDataset[] 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 RDFTestDataset valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • download

      public File download()
      Download the dataset file to {java.io.tmpdir}/rdf4j-benchmark-datasets/{fileName}.
      Returns:
      The File to which the dataset was downloaded and extracted.