java.lang.Object
org.apache.jena.fuseki.system.spot.TDBOps

public class TDBOps extends Object
Operations related to TDB1 and TDB2
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    checkTDB1(String pathname)
    Check whether a location is a TDB1 database, performing some validation checks.
    static void
    checkTDB2(String pathname)
    Check whether a location is a TDB2 database, performing some validation checks.
    static boolean
    isTDB1(String pathname)
    Test to see is a location appears to be a TDB1 database, or a database can be created at the pathname.
    static boolean
    isTDB2(String pathname)
    Test to see is a location appears to be a TDB2 database, or a database can be created at the pathname.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TDBOps

      public TDBOps()
  • Method Details

    • isTDB1

      public static boolean isTDB1(String pathname)
      Test to see is a location appears to be a TDB1 database, or a database can be created at the pathname.
    • checkTDB1

      public static void checkTDB1(String pathname)
      Check whether a location is a TDB1 database, performing some validation checks. Throw an exception if invalid. This check passes if a database can be created at the location (i.e. it is empty or does not exist yet). Validation is of the file structure, not the database contents.
    • isTDB2

      public static boolean isTDB2(String pathname)
      Test to see is a location appears to be a TDB2 database, or a database can be created at the pathname.
    • checkTDB2

      public static void checkTDB2(String pathname)
      Check whether a location is a TDB2 database, performing some validation checks. Throw an exception if invalid. This check passes if a database can be created at the location (i.e. it is empty or does not exist yet). Validation is of the file structure, not the database contents.