Class FileOrderBulkSplit

  • All Implemented Interfaces:
    BulkSplit

    public class FileOrderBulkSplit
    extends AbstractBulkSplit
    Trivial bulk loading - assumes that the file has been appropriately sorted before.
    Since:
    0.5.0
    Author:
    Erich Schubert
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FileOrderBulkSplit.Par
      Parameterization class.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FileOrderBulkSplit()
      Constructor.
    • Constructor Detail

      • FileOrderBulkSplit

        protected FileOrderBulkSplit()
        Constructor.
    • Method Detail

      • partition

        public <T extends SpatialComparable> java.util.List<java.util.List<T>> partition​(java.util.List<T> spatialObjects,
                                                                                         int minEntries,
                                                                                         int maxEntries)
        Description copied from interface: BulkSplit
        Partitions the specified feature vectors
        Type Parameters:
        T - actual type we split
        Parameters:
        spatialObjects - the spatial objects to be partitioned
        minEntries - the minimum number of entries in a partition
        maxEntries - the maximum number of entries in a partition
        Returns:
        the partition of the specified spatial objects