org.compass.gps.device.support.parallel
Interface IndexEntitiesPartitioner

All Known Implementing Classes:
SubIndexIndexEntitiesPartitioner

public interface IndexEntitiesPartitioner

Partition a list of IndexEntity into a several groups of list of IndexEntity that can be indexed in parallel.

Author:
kimchy

Method Summary
 IndexEntity[][] partition(IndexEntity[] entities)
          Partitions a list of index entities into several groups of lists of index entities that can be indexed in parallel.
 

Method Detail

partition

IndexEntity[][] partition(IndexEntity[] entities)
                          throws CompassGpsException
Partitions a list of index entities into several groups of lists of index entities that can be indexed in parallel.

Parameters:
entities - The index entities to partition
Returns:
Groups of list of entities that can be indexed in
Throws:
CompassGpsException


Copyright (c) 2004-2008 The Compass Project.