All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.tools.GraphReindex Maven / Gradle / Ivy

The newest version!
package org.vertexium.tools;

public class GraphReindex extends GraphToolBase {
    public static void main(String[] args) throws Exception {
        GraphReindex graphReindex = new GraphReindex();
        graphReindex.run(args);
    }

    protected void run(String[] args) throws Exception {
        super.run(args);

        System.out.println("Starting reindex");
        long startTime = System.currentTimeMillis();
        getGraph().reindex(getAuthorizations());
        long endTime = System.currentTimeMillis();
        System.out.println("Reindexing complete (" + (endTime - startTime) + "ms)");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy