Examples of MGraphMultiplexer


Examples of org.apache.stanbol.ontologymanager.multiplexer.clerezza.collector.MGraphMultiplexer

        metaGraphId = (String) (configuration.get(OntologyProvider.META_GRAPH_ID));
        if (metaGraphId == null) metaGraphId = _META_GRAPH_ID_DEFAULT; // Should be already assigned though

        // This call will also create the metadata graph.
        keymap = new OntologyToTcMapper();
        descriptor = new MGraphMultiplexer(keymap.graph);

        // Parse configuration.
        prefix = (String) (configuration.get(OntologyProvider.GRAPH_PREFIX));
        if (prefix == null) prefix = _GRAPH_PREFIX_DEFAULT; // Should be already assigned though
View Full Code Here

Examples of org.apache.stanbol.ontologymanager.multiplexer.clerezza.collector.MGraphMultiplexer

        //TODO use rdfViewable instead of Vieable to make separation of
        //presentation and application logic cleaner
        return AccessController.doPrivileged(new PrivilegedAction<Integer>() {
            @Override
            public Integer run() {
                Multiplexer desc = new MGraphMultiplexer(ontologyProvider.getMetaGraph(MGraph.class));
                return desc.getSize(ontologyId);
            }
        });

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.