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 java.lang.String logExecName
          Logger for execution information
static org.slf4j.Logger logInfo
          Logger for general information
static java.lang.String logInfoName
          Logger for general information
static org.slf4j.Logger logLoader
          Logger for loading information
static java.lang.String logLoaderName
          Logger for loading 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 tdbIRI
          IRI for TDB
static java.lang.String VERSION
          The full name of the current TDB version
 
Constructor Summary
TDB()
           
 
Method Summary
static void closedown()
          Release any and all system resources held by TDB.
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)
          Deprecated. Use setExecutionLogging(Explain.InfoLevel)}
static void setExecutionLogging(com.hp.hpl.jena.tdb.solver.Explain.InfoLevel infoLevel)
          Set execution logging - logging is to logger "com.hp.hpl.jena.tdb.exec" at level INFO.
static void setOptimizerWarningFlag(boolean b)
          Set the global flag that control the "No BGP optimizer" warning.
static void sync(com.hp.hpl.jena.query.Dataset dataset)
          Sync a TDB-backed Dataset.
static void sync(com.hp.hpl.jena.sparql.core.DatasetGraph dataset)
          Sync a TDB-backed DatasetGraph.
static void sync(com.hp.hpl.jena.graph.Graph graph)
          Sync a TDB-backed Graph.
static void sync(com.hp.hpl.jena.rdf.model.Model model)
          Sync a TDB-backed Model.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tdbIRI

public static final java.lang.String tdbIRI
IRI for TDB

See Also:
Constant Field Values

logInfoName

public static final java.lang.String logInfoName
Logger for general information

See Also:
Constant Field Values

logInfo

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


logLoaderName

public static final java.lang.String logLoaderName
Logger for loading information

See Also:
Constant Field Values

logLoader

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


logExecName

public static final java.lang.String logExecName
Logger for execution information

See Also:
Constant Field Values

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

@Deprecated
public static void setExecutionLogging(boolean state)
Deprecated. Use setExecutionLogging(Explain.InfoLevel)}

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.


setExecutionLogging

public static void setExecutionLogging(com.hp.hpl.jena.tdb.solver.Explain.InfoLevel infoLevel)
Set 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.


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(com.hp.hpl.jena.rdf.model.Model model)
Sync a TDB-backed Model. Do nothing if not TDB-backed.


sync

public static void sync(com.hp.hpl.jena.graph.Graph graph)
Sync a TDB-backed Graph. Do nothing if not TDB-backed.


sync

public static void sync(com.hp.hpl.jena.query.Dataset dataset)
Sync a TDB-backed Dataset. Do nothing if not TDB-backed.


sync

public static void sync(com.hp.hpl.jena.sparql.core.DatasetGraph dataset)
Sync a TDB-backed DatasetGraph. Do nothing if not TDB-backed.



Copyright © 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright © 2010 Talis Information Ltd.