Package org.apache.jena.tdb
Class TDB
- java.lang.Object
-
- org.apache.jena.tdb.TDB
-
public class TDB extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBUILD_DATEThe date and time at which this release was builtstatic org.slf4j.LoggerlogInfoLogger for general informationstatic java.lang.StringlogInfoNameLogger for general informationstatic org.slf4j.LoggerlogLoaderLogger for loading informationstatic java.lang.StringlogLoaderNameLogger for loading informationstatic java.lang.StringNAMEstatic java.lang.Stringnamespacestatic java.lang.StringPATHThe root package name for TDBstatic SymbolsymUnionDefaultGraphSymbol to use the union of named graphs as the default graph of a querystatic java.lang.StringtdbFaqsLinkstatic java.lang.StringtdbIRIIRI for TDBstatic java.lang.StringtdbParamNSRoot of TDB-defined parameter namesstatic java.lang.StringtdbSymbolPrefixPrefix for TDB-defined parameter namesstatic SymboltransactionJournalWriteBlockModeA String enum Symbol that specifies the type of temporary storage for transaction journal write blocks.static java.lang.StringVERSIONThe full name of the current TDB version
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclosedown()Release any and all system resources held by TDB.static ContextgetContext()static voidinit()TDB System initialization - normally, this is not explicitly called because Jena system wide initialization occurs automatically.static voidsetOptimizerWarningFlag(boolean b)Set the global flag that control the "No BGP optimizer" warning.static voidsync(Graph graph)Sync a TDB-backed Graph.static voidsync(Dataset dataset)Sync a TDB-backed Dataset.static voidsync(Model model)Sync a TDB-backed Model.static voidsync(DatasetGraph dataset)Sync a TDB-backed DatasetGraph.
-
-
-
Field Detail
-
tdbIRI
public static final java.lang.String tdbIRI
IRI for TDB- See Also:
- Constant Field Values
-
tdbParamNS
public static final java.lang.String tdbParamNS
Root of TDB-defined parameter names- See Also:
- Constant Field Values
-
tdbSymbolPrefix
public static final java.lang.String tdbSymbolPrefix
Prefix for TDB-defined parameter names- See Also:
- Constant Field Values
-
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
-
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
-
namespace
public static final java.lang.String namespace
- See Also:
- Constant Field Values
-
symUnionDefaultGraph
public static final Symbol symUnionDefaultGraph
Symbol to use the union of named graphs as the default graph of a query
-
transactionJournalWriteBlockMode
public static final 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
-
tdbFaqsLink
public static final java.lang.String tdbFaqsLink
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
getContext
public static 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(Model model)
Sync a TDB-backed Model. Do nothing if not TDB-backed.
-
sync
public static void sync(Graph graph)
Sync a TDB-backed Graph. Do nothing if not TDB-backed.
-
sync
public static void sync(Dataset dataset)
Sync a TDB-backed Dataset. Do nothing if not TDB-backed.
-
sync
public static void sync(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.
-
-