Class SystemTDB

java.lang.Object
org.apache.jena.tdb1.sys.SystemTDB

public class SystemTDB extends Object
  • Field Details

    • syslog

      public static final org.slf4j.Logger syslog
      TDB 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 errlog
      Send warnings and error
    • SizeOfLong

      public static final int SizeOfLong
      Size, in bytes, of a Java long
      See Also:
    • SizeOfInt

      public static final int SizeOfInt
      Size, in bytes, of a Java int
      See Also:
    • SizeOfNodeId

      public static final int SizeOfNodeId
      Size, in bytes, of the persistent representation of a node id
      See Also:
    • SizeOfPointer

      public static final int SizeOfPointer
      Size, in bytes, of a pointer between blocks
      See Also:
    • LenIndexTripleRecord

      public static final int LenIndexTripleRecord
      Size, in bytes, of a triple index record.
      See Also:
    • LenIndexQuadRecord

      public static final int LenIndexQuadRecord
      Size, in bytes, of a quad index record.
      See Also:
    • LenNodeHash

      public static final int LenNodeHash
      Size, 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

      public static final RecordFactory indexRecordTripleFactory
    • indexRecordQuadFactory

      public static final RecordFactory indexRecordQuadFactory
    • nodeRecordFactory

      public static final RecordFactory nodeRecordFactory
    • symbolNamespace

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

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

      public static final String tdbSymbolPrefix1
      Root of TDB-defined parameter short names, alternate name
      See Also:
    • tdbPropertyRoot

      public static final String tdbPropertyRoot
      Root of any TDB-defined Java system properties
      See Also:
    • symLogDuplicates

      public static final org.apache.jena.sparql.util.Symbol symLogDuplicates
      Log duplicates during loading
    • symFileMode

      public static final org.apache.jena.sparql.util.Symbol symFileMode
      File mode : one of "direct", "mapped", "default"
    • symIndexType

      public static final org.apache.jena.sparql.util.Symbol symIndexType
      Index type
    • symTupleFilter

      public static final org.apache.jena.sparql.util.Symbol symTupleFilter
      Experimental : triple and quad filtering at scan level
    • is64bitSystem

      public static final boolean is64bitSystem
    • BlockSize

      public static final int BlockSize
      Size, in bytes, of a block
      See Also:
    • BlockSizeTest

      public static final int BlockSizeTest
      Size, in bytes, of a block for testing
      See Also:
    • BlockSizeTestMem

      public static final int BlockSizeTestMem
      Size, in bytes, of a block for testing
      See Also:
    • OrderMem

      public static final int OrderMem
      order of an in-memory BTree or B+Tree
      See Also:
    • SegmentSize

      public static final int SegmentSize
      Size, 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 Node2NodeIdCacheSize
      Size 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 NodeId2NodeCacheSize
      Size of NodeId to Node cache. Used to map from NodeId to Node spaces. Used for retriveing results.
    • NodeMissCacheSize

      public static final int NodeMissCacheSize
      Size of Node lookup miss cache.
      See Also:
    • BlockWriteCacheSize

      public static final int BlockWriteCacheSize
      Size of the delayed-write block cache (32 bit systems only) (per file)
    • BlockReadCacheSize

      public static final int BlockReadCacheSize
      Size 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 defaultReorderTransform
      Default BGP optimizer
    • NetworkOrder

      public static final ByteOrder NetworkOrder
    • propertyEnableInlineLiterals1

      public static String propertyEnableInlineLiterals1
      Unsupported (for non-standard setups)
      See Also:
    • propertyEnableInlineLiterals2

      public static String propertyEnableInlineLiterals2
      Unsupported (for non-standard setups)
      See Also:
    • enableInlineLiterals

      public static final boolean enableInlineLiterals
      Unsupported (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 is true
    • NullOut

      public static boolean NullOut
      null out (with the FillByte) freed up space in buffers
    • FillByte

      public static final byte FillByte
      FillByte value for NullOut
      See Also:
    • Checking

      public static boolean Checking
    • DiskLocationMultiJvmUsagePrevention

      public static boolean DiskLocationMultiJvmUsagePrevention
      New 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

      public static void panic(Class<?> clazz, String string)
    • allocSymbol

      public static org.apache.jena.sparql.util.Symbol allocSymbol(String shortName)
    • fileMode

      public static FileMode fileMode()
    • setFileMode

      public static void setFileMode(FileMode newFileMode)