Package org.neo4j.graphdb.schema
Class IndexPopulationProgress
java.lang.Object
org.neo4j.graphdb.schema.IndexPopulationProgress
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 Summary
Modifier and TypeFieldDescriptionstatic final IndexPopulationProgress
static final IndexPopulationProgress
-
Constructor Summary
-
Method Summary
-
Field Details
-
NONE
-
DONE
-
-
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
-