Class NonFlatRStarTree<N extends AbstractRStarTreeNode<N,​E>,​E extends SpatialEntry,​S extends RTreeSettings>

    • Constructor Detail

      • NonFlatRStarTree

        public NonFlatRStarTree​(PageFile<N> pagefile,
                                S settings)
        Constructor.
        Parameters:
        pagefile - Page file
        settings - Settings
    • Method Detail

      • createBulkDirectoryNodes

        private java.util.List<E> createBulkDirectoryNodes​(java.util.List<E> nodes)
        Creates and returns the directory nodes for bulk load.
        Parameters:
        nodes - the nodes to be inserted
        Returns:
        the directory nodes containing the nodes
      • createRoot

        private N createRoot​(N root,
                             java.util.List<E> objects)
        Returns a root node for bulk load. If the objects are data objects a leaf node will be returned, if the objects are nodes a directory node will be returned.
        Parameters:
        root - the new root node
        objects - the spatial objects to be inserted
        Returns:
        the root node