Class BPlusTreeParams

java.lang.Object
org.apache.jena.tdb1.index.bplustree.BPlusTreeParams

public final class BPlusTreeParams extends Object
Configuration for a B+Tree
  • Field Details

    • CheckingTree

      public static boolean CheckingTree
    • CheckingNode

      public static boolean CheckingNode
    • CheckingConcurrency

      public static boolean CheckingConcurrency
    • NS

      public static final String NS
    • ParamOrder

      public static final String ParamOrder
    • ParamKeyLength

      public static final String ParamKeyLength
    • ParamValueLength

      public static final String ParamValueLength
    • ParamBlockSize

      public static final String ParamBlockSize
    • DumpTree

      public static boolean DumpTree
    • Logging

      public static boolean Logging
    • RootId

      public static final int RootId
      See Also:
    • RootParent

      public static final int RootParent
      See Also:
    • NoParent

      public static final int NoParent
      See Also:
  • Constructor Details

    • BPlusTreeParams

      public BPlusTreeParams(int order, int keyLen, int valLen)
    • BPlusTreeParams

      public BPlusTreeParams(int order, RecordFactory factory)
  • Method Details

    • checkAll

      public static void checkAll()
    • infoAll

      public static void infoAll()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • readMeta

      public static BPlusTreeParams readMeta(MetaFile mf)
    • addToMetaData

      public void addToMetaData(MetaFile mf)
    • getOrder

      public int getOrder()
    • getPtrLength

      public int getPtrLength()
    • getRecordLength

      public int getRecordLength()
    • getRecordFactory

      public RecordFactory getRecordFactory()
    • getKeyLength

      public int getKeyLength()
    • getKeyFactory

      public RecordFactory getKeyFactory()
    • getCalcBlockSize

      public int getCalcBlockSize()
    • calcOrder

      public static int calcOrder(int blockSize, RecordFactory factory)
      Return the best fit for the blocksize and the record length. Knows about block header space.
    • calcOrder

      public static int calcOrder(int blockSize, int recordLength)
      Return the best fit for the blocksize and the record length. Knows about block header space.
    • calcBlockSize

      public static int calcBlockSize(int bpTreeOrder, RecordFactory factory)
      return the size of a block
    • getMaxRec

      public int getMaxRec()
    • getMaxPtr

      public int getMaxPtr()
    • getMinRec

      public int getMinRec()
    • getMinPtr

      public int getMinPtr()