Package org.neo4j.index.lucene.unsafe.batchinsert

Examples of org.neo4j.index.lucene.unsafe.batchinsert.LuceneBatchInserterIndexProvider


public class MapDbCachingIndexProvider implements BatchInserterIndexProvider {
    LuceneBatchInserterIndexProvider luceneIndex;
    private DB db;

    public MapDbCachingIndexProvider(BatchInserter inserter) {
        this(new LuceneBatchInserterIndexProvider(inserter));
    }
View Full Code Here


    protected StdOutReport createReport() {
        return new StdOutReport(10 * 1000 * 1000, 100);
    }

    protected BatchInserterIndexProvider createIndexProvider(boolean luceneOnlyIndex) {
        return luceneOnlyIndex ? new LuceneBatchInserterIndexProvider(db) : new MapDbCachingIndexProvider(db);
    }
View Full Code Here

    protected StdOutReport createReport() {
        return new StdOutReport(10 * 1000 * 1000, 100);
    }

    protected LuceneBatchInserterIndexProvider createIndexProvider() {
        return new LuceneBatchInserterIndexProvider(db);
    }
View Full Code Here

    }


    public Neo4j2BatchGraph(final String directory) {
        this.rawGraph = BatchInserters.inserter(directory);
        this.indexProvider = new LuceneBatchInserterIndexProvider(this.rawGraph);
    }
View Full Code Here

    public Neo4j2BatchGraph(final String directory, final Map<String, String> parameters) {
        if (null == parameters)
            this.rawGraph = BatchInserters.inserter(directory);
        else
            this.rawGraph = BatchInserters.inserter(directory, parameters);
        this.indexProvider = new LuceneBatchInserterIndexProvider(this.rawGraph);
    }
View Full Code Here

    }


    public Neo4jBatchGraph(final String directory) {
        this.rawGraph = BatchInserters.inserter(directory);
        this.indexProvider = new LuceneBatchInserterIndexProvider(this.rawGraph);
    }
View Full Code Here

    public Neo4jBatchGraph(final String directory, final Map<String, String> parameters) {
        if (null == parameters)
            this.rawGraph = BatchInserters.inserter(directory);
        else
            this.rawGraph = BatchInserters.inserter(directory, parameters);
        this.indexProvider = new LuceneBatchInserterIndexProvider(this.rawGraph);
    }
View Full Code Here

    protected StdOutReport createReport() {
        return new StdOutReport(10 * 1000 * 1000, 100);
    }

    protected LuceneBatchInserterIndexProvider createIndexProvider() {
        return new LuceneBatchInserterIndexProvider(db);
    }
View Full Code Here

        private OSMBatchWriter( BatchInserter batchGraphDb,
                StatsManager statsManager, OSMImporter osmImporter )
        {
            super( statsManager, osmImporter );
            this.batchInserter = batchGraphDb;
            this.batchIndexService = new LuceneBatchInserterIndexProvider(
                    batchGraphDb );
        }
View Full Code Here

TOP

Related Classes of org.neo4j.index.lucene.unsafe.batchinsert.LuceneBatchInserterIndexProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.