Class SetupTDB

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

public class SetupTDB extends Object
Makes things : datasets from locations, indexes, etc etc.
  • Constructor Details

    • SetupTDB

      public SetupTDB()
  • Method Details

    • error

      public static void error(org.slf4j.Logger log, String msg)
    • makeTupleIndexes

      public static TupleIndex[] makeTupleIndexes(Location location, String primary, String[] descs, String[] filenames)
    • makeTupleIndex

      public static TupleIndex makeTupleIndex(Location location, String primary, String indexOrder, String indexName, int keyLength)
    • makeIndex

      public static Index makeIndex(Location location, String indexName, int blkSize, int dftKeyLength, int dftValueLength, int readCacheSize, int writeCacheSize)
    • makeRangeIndex

      public static RangeIndex makeRangeIndex(Location location, String indexName, int blkSize, int dftKeyLength, int dftValueLength, int readCacheSize, int writeCacheSize)
    • makeBPlusTree

      public static RangeIndex makeBPlusTree(FileSet fs, int blkSize, int readCacheSize, int writeCacheSize, int dftKeyLength, int dftValueLength)
    • makeRecordFactory

      public static RecordFactory makeRecordFactory(int keyLen, int valueLen)
    • makeObjectFile

      public static ObjectFile makeObjectFile(FileSet fsIdToNode)
    • createBPTree

      public static RangeIndex createBPTree(FileSet fileset, RecordFactory factory)
      Create a B+Tree using defaults
    • createBPTreeByBlockSize

      public static RangeIndex createBPTreeByBlockSize(FileSet fileset, int blockSize, int readCacheSize, int writeCacheSize, RecordFactory factory)
      Create a B+Tree by BlockSize
    • createBPTreeByOrder

      public static RangeIndex createBPTreeByOrder(FileSet fileset, int order, int readCacheSize, int writeCacheSize, RecordFactory factory)
      Create a B+Tree by Order
    • createBPTree

      public static BPlusTree createBPTree(FileSet fileset, int order, int blockSize, int readCacheSize, int writeCacheSize, RecordFactory factory)
      Knowing all the parameters, create a B+Tree