Package org.jrdf.graph.local.index.nodepool

Examples of org.jrdf.graph.local.index.nodepool.NodePoolImpl


        final Map<Long, String> blankNodePool = MAP_FACTORY.createMap(Long.class, String.class);
        final Map<Long, String> uriNodePool = MAP_FACTORY.createMap(Long.class, String.class);
        final Map<Long, String> literalNodePool = MAP_FACTORY.createMap(Long.class, String.class);
        final Map<String, Long> stringPool = MAP_FACTORY.createMap(String.class, Long.class);
        final NodeTypePool nodeTypePool = new NodeTypePoolImpl(mapper, blankNodePool, uriNodePool, literalNodePool);
        final NodePoolImpl pool = new NodePoolImpl(nodeTypePool, stringPool);
        pool.clear();
        return pool;
    }
View Full Code Here


        final Map<Long, String> blankNodePool = MAP_FACTORY.createMap(Long.class, String.class, "bnp");
        final Map<Long, String> uriNodePool = MAP_FACTORY.createMap(Long.class, String.class, "unp");
        final Map<Long, String> literalNodePool = MAP_FACTORY.createMap(Long.class, String.class, "lnp");
        final Map<String, Long> stringPool = MAP_FACTORY.createMap(String.class, Long.class, "sp");
        final NodeTypePool nodeTypePool = new NodeTypePoolImpl(mapper, blankNodePool, uriNodePool, literalNodePool);
        return new NodePoolImpl(nodeTypePool, stringPool);
    }
View Full Code Here

        final Map<Long, String> blankNodePool = nodePoolMapFactory.openExistingMap(Long.class, String.class, "bnp");
        final Map<Long, String> uriNodePool = nodePoolMapFactory.openExistingMap(Long.class, String.class, "npm");
        final Map<Long, String> literalNodePool = nodePoolMapFactory.openExistingMap(Long.class, String.class, "lnp");
        final Map<String, Long> stringPool = stringPoolMapFactory.openExistingMap(String.class, Long.class, "sp");
        final NodeTypePool nodeTypePool = new NodeTypePoolImpl(mapper, blankNodePool, uriNodePool, literalNodePool);
        return new NodePoolImpl(nodeTypePool, stringPool);
    }
View Full Code Here

TOP

Related Classes of org.jrdf.graph.local.index.nodepool.NodePoolImpl

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.