Class TDB1

java.lang.Object
org.apache.jena.tdb1.TDB1

public class TDB1 extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
    Logger for general information
    static final String
    Logger for general information
    static final org.slf4j.Logger
    Logger for loading information
    static final String
    Logger for loading information
    static final String
     
    static final String
     
    static final String
    The root package name for TDB
    static final org.apache.jena.sparql.util.Symbol
    Symbol to use the union of named graphs as the default graph of a query
    static final String
     
    static final String
    IRI for TDB
    static final String
    Root of TDB-defined parameter names
    static final String
    Prefix for TDB-defined parameter names
    static final org.apache.jena.sparql.util.Symbol
    A String enum Symbol that specifies the type of temporary storage for transaction journal write blocks.
    static final String
    The full name of the current TDB version
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Release any and all system resources held by TDB.
    static org.apache.jena.sparql.util.Context
     
    static void
    TDB System initialization - normally, this is not explicitly called because Jena system wide initialization occurs automatically.
    static void
    Set the global flag that control the "No BGP optimizer" warning.
    static void
    sync(org.apache.jena.graph.Graph graph)
    Sync a TDB-backed Graph.
    static void
    sync(org.apache.jena.query.Dataset dataset)
    Sync a TDB-backed Dataset.
    static void
    sync(org.apache.jena.rdf.model.Model model)
    Sync a TDB-backed Model.
    static void
    sync(org.apache.jena.sparql.core.DatasetGraph dataset)
    Sync a TDB-backed DatasetGraph.

    Methods inherited from class java.lang.Object

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

    • tdbIRI

      public static final String tdbIRI
      IRI for TDB
      See Also:
    • tdbParamNS

      public static final String tdbParamNS
      Root of TDB-defined parameter names
      See Also:
    • tdbSymbolPrefix

      public static final String tdbSymbolPrefix
      Prefix for TDB-defined parameter names
      See Also:
    • logLoaderName

      public static final String logLoaderName
      Logger for loading information
      See Also:
    • logLoader

      public static final org.slf4j.Logger logLoader
      Logger for loading information
    • logInfoName

      public static final String logInfoName
      Logger for general information
      See Also:
    • logInfo

      public static final org.slf4j.Logger logInfo
      Logger for general information
    • namespace

      public static final String namespace
      See Also:
    • symUnionDefaultGraph

      public static final org.apache.jena.sparql.util.Symbol symUnionDefaultGraph
      Symbol to use the union of named graphs as the default graph of a query
    • transactionJournalWriteBlockMode

      public static final org.apache.jena.sparql.util.Symbol transactionJournalWriteBlockMode
      A String enum Symbol that specifies the type of temporary storage for transaction journal write blocks.

      "mem" = Java heap memory (default)
      "direct" = Process heap memory
      "mapped" = Memory mapped temporary file

    • PATH

      public static final String PATH
      The root package name for TDB
      See Also:
    • NAME

      public static final String NAME
      See Also:
    • VERSION

      public static final String VERSION
      The full name of the current TDB version
  • Method Details

    • getContext

      public static org.apache.jena.sparql.util.Context getContext()
    • closedown

      public static void closedown()
      Release any and all system resources held by TDB. This does NOT close or release datasets or graphs held by client code.
    • setOptimizerWarningFlag

      public static void setOptimizerWarningFlag(boolean b)
      Set the global flag that control the "No BGP optimizer" warning. Set to false to silence the warning
    • sync

      public static void sync(org.apache.jena.rdf.model.Model model)
      Sync a TDB-backed Model. Do nothing if not TDB-backed.
    • sync

      public static void sync(org.apache.jena.graph.Graph graph)
      Sync a TDB-backed Graph. Do nothing if not TDB-backed.
    • sync

      public static void sync(org.apache.jena.query.Dataset dataset)
      Sync a TDB-backed Dataset. Do nothing if not TDB-backed.
    • sync

      public static void sync(org.apache.jena.sparql.core.DatasetGraph dataset)
      Sync a TDB-backed DatasetGraph. Do nothing if not TDB-backed.
    • init

      public static void init()
      TDB System initialization - normally, this is not explicitly called because Jena system wide initialization occurs automatically. However, calling it repeatedly is safe and low cost.