INNER CODE UNIT · Java

CmdCreateLocationIndexes

globalbioticinteractions/globalbioticinteractions · elton4n/src/main/java/org/globalbioticinteractions/elton/CmdCreateLocationIndexes.java:7

public class CmdCreateLocationIndexes extends CmdNeo4J {

    @Override
    public void run() {
        GraphDatabaseService graphService = getGraphServiceFactory().getGraphService();
        try (Transaction tx = graphService.beginTx()) {
            Neo4jIndexUtil.createPointLocationIndexIfNotExists(tx);
            tx.commit();
        }
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…