com.hp.hpl.jena.tdb
Class TDB

java.lang.Object
  extended by com.hp.hpl.jena.tdb.TDB

public class TDB
extends java.lang.Object


Field Summary
static java.lang.String BUILD_DATE
          The date and time at which this release was built
static org.slf4j.Logger logExec
          Logger for execution information
static org.slf4j.Logger logInfo
          Logger for general information
static java.lang.String NAME
           
static java.lang.String namespace
           
static java.lang.String PATH
          The root package name for TDB
static com.hp.hpl.jena.sparql.util.Symbol symLogExec
          Symbol to enable logging of execution.
static com.hp.hpl.jena.sparql.util.Symbol symUnionDefaultGraph
          Symbol to use the union of named graphs as the default graph of a query
static java.lang.String VERSION
          The full name of the current TDB version
 
Constructor Summary
TDB()
           
 
Method Summary
static com.hp.hpl.jena.sparql.util.Context getContext()
           
static void init()
          TDB System initialization - normally, this is not explicitly called because all routes to use TDB will cause initialization to occur.
static void setExecutionLogging(boolean state)
          Set or unset execution logging - logging is to logger "com.hp.hpl.jena.tdb.exec" at level INFO.
static void sync(com.hp.hpl.jena.query.Dataset dataset)
          Sync a TDB synchronizable object (model, graph daatset).
static void sync(com.hp.hpl.jena.sparql.core.DatasetGraph dataset)
          Sync a TDB synchronizable object (model, graph daatset).
static void sync(com.hp.hpl.jena.graph.Graph graph)
          Sync a TDB synchronizable object (model, graph daatset).
static void sync(com.hp.hpl.jena.rdf.model.Model model)
          Sync a TDB synchronizable object (model, graph daatset).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logInfo

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


logExec

public static final org.slf4j.Logger logExec
Logger for execution information


namespace

public static final java.lang.String namespace
See Also:
Constant Field Values

symUnionDefaultGraph

public static final com.hp.hpl.jena.sparql.util.Symbol symUnionDefaultGraph
Symbol to use the union of named graphs as the default graph of a query


symLogExec

public static final com.hp.hpl.jena.sparql.util.Symbol symLogExec
Symbol to enable logging of execution. Must also set log4j, or other logging system, for logger "com.hp.hpl.jena.tdb.exec" e.g. log4j.properties -- log4j.logger.com.hp.hpl.jena.tdb.exec=INFO


PATH

public static final java.lang.String PATH
The root package name for TDB

See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
The full name of the current TDB version


BUILD_DATE

public static final java.lang.String BUILD_DATE
The date and time at which this release was built

Constructor Detail

TDB

public TDB()
Method Detail

setExecutionLogging

public static void setExecutionLogging(boolean state)
Set or unset execution logging - logging is to logger "com.hp.hpl.jena.tdb.exec" at level INFO. An appropriate logging configuration is also required.


getContext

public static com.hp.hpl.jena.sparql.util.Context getContext()

init

public static void init()
TDB System initialization - normally, this is not explicitly called because all routes to use TDB will cause initialization to occur. However, calling it repeatedly is safe and low cost.


sync

public static void sync(com.hp.hpl.jena.rdf.model.Model model)
Sync a TDB synchronizable object (model, graph daatset). Do nothing otherwise


sync

public static void sync(com.hp.hpl.jena.graph.Graph graph)
Sync a TDB synchronizable object (model, graph daatset). Do nothing otherwise


sync

public static void sync(com.hp.hpl.jena.query.Dataset dataset)
Sync a TDB synchronizable object (model, graph daatset). Do nothing otherwise


sync

public static void sync(com.hp.hpl.jena.sparql.core.DatasetGraph dataset)
Sync a TDB synchronizable object (model, graph daatset). Do nothing otherwise



Copyright © 2007, 2008, 2009 Hewlett-Packard Development Company, LP