Class SetupIndex

java.lang.Object
org.apache.jena.tdb1.index.SetupIndex

public class SetupIndex extends Object
  • Constructor Details

    • SetupIndex

      public SetupIndex()
  • Method Details

    • 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
    • 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)