Class RTreeSettings

  • Direct Known Subclasses:
    RdkNNSettings

    public class RTreeSettings
    extends java.lang.Object
    Class to wrap common Rtree settings.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Field Detail

      • bulkSplitter

        protected BulkSplit bulkSplitter
        The strategy for bulk load.
      • nodeSplitter

        protected SplitStrategy nodeSplitter
        The split strategy.
      • insertionStrategy

        protected InsertionStrategy insertionStrategy
        The insertion strategy to use.
      • relativeMinFill

        protected double relativeMinFill
        Relative minimum fill.
    • Constructor Detail

      • RTreeSettings

        public RTreeSettings()
        Constructor with default values.
      • RTreeSettings

        public RTreeSettings​(BulkSplit bulkSplitter)
        Constructor with default values and bulk loader.
    • Method Detail

      • setBulkStrategy

        public void setBulkStrategy​(BulkSplit bulkSplitter)
        Set the bulk loading strategy.
        Parameters:
        bulkSplitter - Bulk loading strategy
      • setNodeSplitStrategy

        public void setNodeSplitStrategy​(SplitStrategy nodeSplitter)
        Set the node splitting strategy.
        Parameters:
        nodeSplitter - the split strategy to set
      • setInsertionStrategy

        public void setInsertionStrategy​(InsertionStrategy insertionStrategy)
        Set insertion strategy.
        Parameters:
        insertionStrategy - the insertion strategy to set
      • setOverflowTreatment

        public void setOverflowTreatment​(OverflowTreatment overflowTreatment)
        Set the overflow treatment strategy.
        Parameters:
        overflowTreatment - overflow treatment strategy
      • setMinimumFill

        public void setMinimumFill​(double relative)
        Set the relative minimum fill. (Only supported before the tree was used!)
        Parameters:
        relative - Relative minimum fill
      • getOverflowTreatment

        public OverflowTreatment getOverflowTreatment()
        Returns:
        the overflowTreatment