Class IndexPopulationProgress

java.lang.Object
org.neo4j.graphdb.schema.IndexPopulationProgress

public class IndexPopulationProgress extends Object
This class is simply a progress counter of indexing population progress. It has the constraint that 0 <= completed <= total

Use IndexPopulationProgress.NONE if you need an object without any particular progress.

  • Field Details

  • Constructor Details

    • IndexPopulationProgress

      public IndexPopulationProgress(long completed, long total)
  • Method Details

    • getCompletedPercentage

      public float getCompletedPercentage()
      Returns:
      percentage (from 0 to 100) of totalCount items which have been indexed. If totalCount is 0, returns 0.
    • toString

      public String toString()