java.lang.Object
org.apache.jena.tdb1.sys.SystemTDB
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSize of read block cache (32 bit systems only).static final intSize, in bytes, of a blockstatic final intSize, in bytes, of a block for testingstatic final intSize, in bytes, of a block for testingstatic final intSize of the delayed-write block cache (32 bit systems only) (per file)static booleanstatic org.apache.jena.sparql.engine.optimizer.reorder.ReorderTransformationDefault BGP optimizerstatic booleanNew feature introduced by JENA-648 to help prevent one common cause of TDB corruption.static final booleanUnsupported (for non-standard setups).static final org.slf4j.LoggerSend warnings and errorstatic final byteFillByte value for NullOutstatic final RecordFactorystatic final RecordFactorystatic final booleanstatic final booleanstatic final intSize, in bytes, of a quad index record.static final intSize, in bytes, of a triple index record.static final intSize, in bytes, of a Node hash.static final ByteOrderstatic final intSize of Node to NodeId cache.static final intSize of NodeId to Node cache.static final intSize of Node lookup miss cache.static final RecordFactorystatic booleannull out (with the FillByte) freed up space in buffersstatic final intstatic final intorder of an in-memory BTree or B+Treestatic StringUnsupported (for non-standard setups)static StringUnsupported (for non-standard setups)static final intSize, in bytes, of a segment (used for memory mapped files)static final intSize, in bytes, of a Java intstatic final intSize, in bytes, of a Java longstatic final intSize, in bytes, of the persistent representation of a node idstatic final intSize, in bytes, of a pointer between blocksstatic final StringRoot of TDB-defined parameter namesstatic final org.apache.jena.sparql.util.SymbolFile mode : one of "direct", "mapped", "default"static final org.apache.jena.sparql.util.SymbolIndex typestatic final org.apache.jena.sparql.util.SymbolLog duplicates during loadingstatic final org.apache.jena.sparql.util.SymbolExperimental : triple and quad filtering at scan levelstatic final org.slf4j.LoggerTDB System log - use for general messages (a few) and warnings.static final StringRoot of any TDB-defined Java system propertiesstatic final StringRoot of TDB-defined parameter short namesstatic final StringRoot of TDB-defined parameter short names, alternate name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.sparql.util.SymbolallocSymbol(String shortName) static FileModefileMode()static voidstatic voidsetFileMode(FileMode newFileMode)
-
Field Details
-
syslog
public static final org.slf4j.Logger syslogTDB System log - use for general messages (a few) and warnings. Generally, do not log events unless you want every user to see them every time. TDB is an embedded database - libraries and embedded systems should be seen and not heard.- See Also:
-
errlog
public static final org.slf4j.Logger errlogSend warnings and error -
SizeOfLong
public static final int SizeOfLongSize, in bytes, of a Java long- See Also:
-
SizeOfInt
public static final int SizeOfIntSize, in bytes, of a Java int- See Also:
-
SizeOfNodeId
public static final int SizeOfNodeIdSize, in bytes, of the persistent representation of a node id- See Also:
-
SizeOfPointer
public static final int SizeOfPointerSize, in bytes, of a pointer between blocks- See Also:
-
LenIndexTripleRecord
public static final int LenIndexTripleRecordSize, in bytes, of a triple index record.- See Also:
-
LenIndexQuadRecord
public static final int LenIndexQuadRecordSize, in bytes, of a quad index record.- See Also:
-
LenNodeHash
public static final int LenNodeHashSize, in bytes, of a Node hash. In TDB 0.7.X and before this was 8 bytes (64/8). In TDB 0.8.0 and above it is 16 bytes (128/8). These two systems are not compatible.- See Also:
-
indexRecordTripleFactory
-
indexRecordQuadFactory
-
nodeRecordFactory
-
symbolNamespace
Root of TDB-defined parameter names- See Also:
-
tdbSymbolPrefix
Root of TDB-defined parameter short names- See Also:
-
tdbSymbolPrefix1
Root of TDB-defined parameter short names, alternate name- See Also:
-
tdbPropertyRoot
Root of any TDB-defined Java system properties- See Also:
-
symLogDuplicates
public static final org.apache.jena.sparql.util.Symbol symLogDuplicatesLog duplicates during loading -
symFileMode
public static final org.apache.jena.sparql.util.Symbol symFileModeFile mode : one of "direct", "mapped", "default" -
symIndexType
public static final org.apache.jena.sparql.util.Symbol symIndexTypeIndex type -
symTupleFilter
public static final org.apache.jena.sparql.util.Symbol symTupleFilterExperimental : triple and quad filtering at scan level -
is64bitSystem
public static final boolean is64bitSystem -
BlockSize
public static final int BlockSizeSize, in bytes, of a block- See Also:
-
BlockSizeTest
public static final int BlockSizeTestSize, in bytes, of a block for testing- See Also:
-
BlockSizeTestMem
public static final int BlockSizeTestMemSize, in bytes, of a block for testing- See Also:
-
OrderMem
public static final int OrderMemorder of an in-memory BTree or B+Tree- See Also:
-
SegmentSize
public static final int SegmentSizeSize, in bytes, of a segment (used for memory mapped files)- See Also:
-
ObjectFileWriteCacheSize
public static final int ObjectFileWriteCacheSize- See Also:
-
Node2NodeIdCacheSize
public static final int Node2NodeIdCacheSizeSize of Node to NodeId cache. Used to map from Node to NodeId spaces. Used for loading and for query preparation. -
NodeId2NodeCacheSize
public static final int NodeId2NodeCacheSizeSize of NodeId to Node cache. Used to map from NodeId to Node spaces. Used for retriveing results. -
NodeMissCacheSize
public static final int NodeMissCacheSizeSize of Node lookup miss cache.- See Also:
-
BlockWriteCacheSize
public static final int BlockWriteCacheSizeSize of the delayed-write block cache (32 bit systems only) (per file) -
BlockReadCacheSize
public static final int BlockReadCacheSizeSize of read block cache (32 bit systems only). Increase JVM size as necessary. Per file. -
defaultReorderTransform
public static org.apache.jena.sparql.engine.optimizer.reorder.ReorderTransformation defaultReorderTransformDefault BGP optimizer -
NetworkOrder
-
propertyEnableInlineLiterals1
Unsupported (for non-standard setups)- See Also:
-
propertyEnableInlineLiterals2
Unsupported (for non-standard setups)- See Also:
-
enableInlineLiterals
public static final boolean enableInlineLiteralsUnsupported (for non-standard setups). This controls whether literal values are inlined into NodeIds. This is a major efficiency boost and is the default setting. It can be set false with-Dtdb:store.enableInlineLiterals=false. Do not mix databases created with this set to different values. Chaos and incorrect results will result. Use with care. No support. Default setting istrue -
NullOut
public static boolean NullOutnull out (with the FillByte) freed up space in buffers -
FillByte
public static final byte FillByteFillByte value for NullOut- See Also:
-
Checking
public static boolean Checking -
DiskLocationMultiJvmUsagePrevention
public static boolean DiskLocationMultiJvmUsagePreventionNew feature introduced by JENA-648 to help prevent one common cause of TDB corruption.When enabled lock files are written to disk locations with the current owner process PID, other processes will refuse to access that location while another live process owns the PID.
-
isWindows
public static final boolean isWindows
-
-
Constructor Details
-
SystemTDB
public SystemTDB()
-
-
Method Details
-
panic
-
allocSymbol
-
fileMode
-
setFileMode
-